离线的helm install 安装的minio失败了,可以手动创建几个,把下面的工作负载导进去,报错的话再建立minio的存储卷 ,然后再重启ks-install容器 就好了

kind: Deployment
apiVersion: apps/v1
metadata:
name: minio
namespace: kubesphere-system
labels:
app: minio
app.kubernetes.io/managed-by: Helm
chart: minio-2.5.16
heritage: Helm
release: ks-minio
annotations:
deployment.kubernetes.io/revision: ‘1’
meta.helm.sh/release-name: ks-minio
meta.helm.sh/release-namespace: kubesphere-system
spec:
replicas: 1
selector:
matchLabels:
app: minio
release: ks-minio
template:
metadata:
name: minio
creationTimestamp: null
labels:
app: minio
release: ks-minio
annotations:
checksum/config: c6cc7f4b40064dffd59b339e133fa4819f787573ee18e1d001435aa4daff8ba2
checksum/secrets: f9625c177e0e74a3b9997c3c65189ebffcfbde7aaa910de0ba38b48b032c1a96
spec:
volumes:
- name: export
persistentVolumeClaim:
claimName: minio
- name: minio-user
secret:
secretName: minio
defaultMode: 420
- name: minio-config-dir
emptyDir: {}
containers:
- name: minio
image: ‘minio/minio:RELEASE.2019-08-07T01-59-21Z’
command:
- /bin/sh
- ‘-ce’
- /usr/bin/docker-entrypoint.sh minio -C /root/.minio/ server /data
ports:
- name: service
containerPort: 9000
protocol: TCP
env:
- name: MINIO_ACCESS_KEY
valueFrom:
secretKeyRef:
name: minio
key: accesskey
- name: MINIO_SECRET_KEY
valueFrom:
secretKeyRef:
name: minio
key: secretkey
- name: MINIO_BROWSER
value: ‘on’
resources:
requests:
cpu: 250m
memory: 256Mi
volumeMounts:
- name: export
mountPath: /data
- name: minio-config-dir
mountPath: /root/.minio/
livenessProbe:
httpGet:
path: /minio/health/live
port: service
scheme: HTTP
initialDelaySeconds: 5
timeoutSeconds: 1
periodSeconds: 30
successThreshold: 1
failureThreshold: 3
readinessProbe:
httpGet:
path: /minio/health/ready
port: service
scheme: HTTP
initialDelaySeconds: 5
timeoutSeconds: 1
periodSeconds: 15
successThreshold: 1
failureThreshold: 3
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
imagePullPolicy: IfNotPresent
restartPolicy: Always
terminationGracePeriodSeconds: 30
dnsPolicy: ClusterFirst
serviceAccountName: ks-minio
serviceAccount: ks-minio
securityContext: {}
schedulerName: default-scheduler
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 0
maxSurge: 100%
revisionHistoryLimit: 10
progressDeadlineSeconds: 600

16 天 后
2 个月 后

53端口被占用,看看是什么其他程序在占着

14 天 后
6 个月 后

我是执行了这两步就可以了

  1. execute ‘helm -n kubesphere-system uninstall ks-minio && kubectl -n kubesphere-system delete job minio-make-bucket-job’”,
  2. Restart the installer pod in kubesphere-system namespace”
  • YSH 回复了此帖
    25 天 后

    lingyun bro我跟你一模一样的问题,请问你这两步咋排查的

    23 天 后
    8 天 后

    f327888576 我是整个流程重新部署就好了,可能之前中间步骤出现了问题

    4 年 后

    Forest-L

    我遇到了一样的问题,排查到第三个步骤时,看到如下信息

    root@master:~# kubectl logs -n kubesphere-system -l job-name=minio-make-bucket-job
    No resources found in kubesphere-system namespace.