minio / operator

Simple Kubernetes Operator for MinIO clusters :computer:
https://min.io/docs/minio/kubernetes/upstream/index.html
GNU Affero General Public License v3.0
1.18k stars 449 forks source link

Minio-tenant: Provisioning initial users, Users creation failed: context deadline exceeded #OKD #2094

Closed parseltongued closed 4 months ago

parseltongued commented 4 months ago

Current Behavior

I have a disconnected / air-gap 3-node OKD 4.15 production cluster currently installed with 2 drives on each node, 3x2=6 drives.

i've added service account: minio-tenant-sa in oc scc already.

Encountered this error when creating a tenant via cli: image

Expected Behavior

minio-tenant successfully created.

Your Environment

oc minio version: Kubectl-Plugin Version: v5.0.14 Installed DirectPV version: directpv version v4.0.10 OKD Cluster Version: 4.15.0-0.okd-2024-03-10-010116 Kernel version: v1.28.2-3598+6e2789bbd58938-dirty

jiuker commented 4 months ago

Show pod list plz.

parseltongued commented 4 months ago

Show pod list plz.

@jiuker Thanks for the prompt reply. image

I'm thinking this might be the underlying problem - error stack thrown in one of the pods: image

Not quite sure if i should manually add a custom dns-zone and dns mappings to the oc internal dns to solve this? / What should I do?

Thanks!

jiuker commented 4 months ago

Check your DNS pod logs.

parseltongued commented 4 months ago

Check your DNS pod logs.

I got an output like this: image

is there any guide on what to look out for?

Thanks!

jiuker commented 4 months ago

We will not solve the DNS issue of K8S. The log points to DNS issues, which are not within the scope of operators.