You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug Warning FailedCreate 34s (x14 over 75s) statefulset-controller create Pod minio-cluster-minio-0 in StatefulSet minio-cluster-minio failed error: pods "minio-cluster-minio-0" is forbidden: error looking up service account default/minio-8.0.17: serviceaccount "minio-8.0.17" not found
To Reproduce
Steps to reproduce the behavior:
install minio addon
helm install minio-8.0.17 kubeblocks-addons/minio
create cluster
helm install minio-cluster addons/minio-cluster
See error
kubectl get cluster
NAME CLUSTER-DEFINITION VERSION TERMINATION-POLICY STATUS AGE
minio-cluster minio-8.0.17 Delete Creating 51s
kubectl get sts
NAME READY AGE
minio-cluster-minio 0/1 55s
describe sts
kubectl describe sts minio-cluster-minio
Name: minio-cluster-minio
Namespace: default
CreationTimestamp: Mon, 15 Apr 2024 17:26:52 +0800
Selector: app.kubernetes.io/instance=minio-cluster,app.kubernetes.io/managed-by=kubeblocks,app.kubernetes.io/name=minio-8.0.17,apps.kubeblocks.io/component-name=minio
Labels: app.kubernetes.io/component=minio
app.kubernetes.io/instance=minio-cluster
app.kubernetes.io/managed-by=kubeblocks
app.kubernetes.io/name=minio-8.0.17
apps.kubeblocks.io/component-name=minio
rsm.workloads.kubeblocks.io/controller-generation=1
Annotations: kubeblocks.io/generation: 1
Replicas: 1 desired | 0 total
Update Strategy: RollingUpdate
Partition: 0
Pods Status: 0 Running / 0 Waiting / 0 Succeeded / 0 Failed
Pod Template:
Labels: app.kubernetes.io/component=minio
app.kubernetes.io/instance=minio-cluster
app.kubernetes.io/managed-by=kubeblocks
app.kubernetes.io/name=minio-8.0.17
app.kubernetes.io/version=
apps.kubeblocks.io/component-name=minio
Service Account: minio-8.0.17
Containers:
minio:
Image: minio/minio:RELEASE.2021-02-14T04-01-33Z
Port: 9000/TCP
Host Port: 0/TCP
Command:
/bin/sh
-ce
/usr/bin/docker-entrypoint.sh minio -S /etc/minio/certs/ server /export
Limits:
cpu: 500m
memory: 512Mi
Requests:
cpu: 500m
memory: 512Mi
Liveness: http-get http://:http/minio/health/live delay=5s timeout=5s period=5s #success=1 #failure=5
Readiness: tcp-socket :http delay=5s timeout=1s period=5s #success=1 #failure=5
Startup: tcp-socket :http delay=0s timeout=5s period=10s #success=1 #failure=60
Environment Variables from:
minio-cluster-minio-env ConfigMap Optional: false
minio-cluster-minio-rsm-env ConfigMap Optional: false
Environment:
KB_POD_NAME: (v1:metadata.name)
KB_POD_UID: (v1:metadata.uid)
KB_NAMESPACE: (v1:metadata.namespace)
KB_SA_NAME: (v1:spec.serviceAccountName)
KB_NODENAME: (v1:spec.nodeName)
KB_HOST_IP: (v1:status.hostIP)
KB_POD_IP: (v1:status.podIP)
KB_POD_IPS: (v1:status.podIPs)
KB_HOSTIP: (v1:status.hostIP)
KB_PODIP: (v1:status.podIP)
KB_PODIPS: (v1:status.podIPs)
KB_POD_FQDN: $(KB_POD_NAME).minio-cluster-minio-headless.$(KB_NAMESPACE).svc
MINIO_ACCESS_KEY: <set to the key 'accesskey' in secret 'minio-cluster-conn-credential'> Optional: false
MINIO_SECRET_KEY: <set to the key 'secretkey' in secret 'minio-cluster-conn-credential'> Optional: false
Mounts:
/export from data (rw)
Volumes:
data:
Type: EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit: <unset>
Volume Claims:
Name: data
StorageClass:
Labels: apps.kubeblocks.io/vct-name=data
kubeblocks.io/volume-type=data
Annotations: <none>
Capacity: 1Gi
Access Modes: [ReadWriteOnce]
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal SuccessfulCreate 75s statefulset-controller create Claim data-minio-cluster-minio-0 Pod minio-cluster-minio-0 in StatefulSet minio-cluster-minio success
Warning FailedCreate 34s (x14 over 75s) statefulset-controller create Pod minio-cluster-minio-0 in StatefulSet minio-cluster-minio failed error: pods "minio-cluster-minio-0" is forbidden: error looking up service account default/minio-8.0.17: serviceaccount "minio-8.0.17" not found
get sa
kubectl get sa minio-8.0.17
Error from server (NotFound): serviceaccounts "minio-8.0.17" not found
Describe the bug
Warning FailedCreate 34s (x14 over 75s) statefulset-controller create Pod minio-cluster-minio-0 in StatefulSet minio-cluster-minio failed error: pods "minio-cluster-minio-0" is forbidden: error looking up service account default/minio-8.0.17: serviceaccount "minio-8.0.17" not found
To Reproduce
Steps to reproduce the behavior:
describe sts
get sa
get cd yaml
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: