kubesphere / ks-installer

Install KubeSphere on existing Kubernetes cluster
https://kubesphere.io
Apache License 2.0
531 stars 744 forks source link

minio arm64 support. #2040

Open besscroft opened 2 years ago

besscroft commented 2 years ago

I set up the app-store according to the documentation and encountered the following problems:

minio pods CrashLoopBackOff,After looking at the logs I found the solution.

Minio Version: RELEASE.2019-08-07T01-59-21Z This version does not support arm64 architecture, do you consider upgrading to a version that supports arm64?

I found the following location:

https://github.com/kubesphere/ks-installer/blob/7d8c0b98fb1284423b5ff9545d4f31cb1e7fd4a8/roles/common/files/minio-ha/Chart.yaml#L5 https://github.com/kubesphere/ks-installer/blob/7d8c0b98fb1284423b5ff9545d4f31cb1e7fd4a8/roles/common/files/minio-ha/values.yaml#L9 https://github.com/kubesphere/ks-installer/blob/7d8c0b98fb1284423b5ff9545d4f31cb1e7fd4a8/roles/common/tasks/minio-install.yaml#L51 https://github.com/kubesphere/ks-installer/blob/7d8c0b98fb1284423b5ff9545d4f31cb1e7fd4a8/roles/download/defaults/main.yml#L110 https://github.com/kubesphere/ks-installer/blob/7d8c0b98fb1284423b5ff9545d4f31cb1e7fd4a8/roles/common/files/minio-ha/README.md?plain=1#L96

besscroft commented 1 year ago

Consider upgrading the image version from the yaml file to support build-enabled plugins? After my test, it can be used normally. If I can, I'll make a PR to make changes!

test environment: OS: Debian GNU/Linux 11 (bullseye) aarch64 Host: KVM Virtual Machine virt-4.2 Kernel: 5.10.0-18-arm64 CPU: (4) GPU: 00:01.0 Red Hat, Inc. Virtio GPU Memory: 24002MiB Kubernetes Version: v1.24.7 KubeSphere Version: v3.3.1 Container Runtime: containerd Test Image Version: minio/minio:RELEASE.2022-11-08T05-27-07Z -> success Test Image Version: minio/minio:RELEASE.2022-07-04T21-02-54Z -> success

The following resources need support: https://kubesphere.io/zh/docs/v3.3/pluggable-components/devops/#%E5%9C%A8%E5%AE%89%E8%A3%85%E5%90%8E%E5%90%AF%E7%94%A8-devops