Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gwagner@vm-51150-0128:~/repos/postgres_stateful/kubernetes_postgres_statefulset> kcl describe pod/postgres-stateful-0
- Name: postgres-stateful-0
- Namespace: postgres-own
- Priority: 0
- Node: 2f9c21ac-2a9d-4b82-9e58-6427232f9993/172.22.1.35
- Start Time: Thu, 03 Feb 2022 15:39:19 +0100
- Labels: app=postgres
- controller-revision-hash=postgres-stateful-f4b6f94cd
- statefulset.kubernetes.io/pod-name=postgres-stateful-0
- Annotations: <none>
- Status: Pending
- IP: 172.23.15.67
- IPs:
- IP: 172.23.15.67
- Controlled By: StatefulSet/postgres-stateful
- Init Containers:
- take-volume-mounts-ownership:
- Container ID: docker://14842701ab365de3eb7867f82fc2fba54b8d47aafb321ad6617823706a9974ff
- Image: docker-dev-local.dev.dvz-mv.net/ina/postgresql:14.1-scm-debian-bullseye-build-74-4
- Image ID: docker-pullable://docker-dev-local.dev.dvz-mv.net/ina/postgresql@sha256:b1dacba17f1e8ba559546c801d153d9d1863457945722d04caeb13b2da06adb4
- Port: <none>
- Host Port: <none>
- Command:
- chown -R 1000:1000 /opt/db/data/postgres/data /opt/db/backup/postgres /opt/db/backup/postgres/arch
- State: Waiting
- Reason: CrashLoopBackOff
- Last State: Terminated
- Reason: ContainerCannotRun
- Message: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "chown -R 1000:1000 /opt/db/data/postgres/data /opt/db/backup/postgres /opt/db/backup/postgres/arch": stat chown -R 1000:1000 /opt/db/data/postgres/data /opt/db/backup/postgres /opt/db/backup/postgres/arch: no such file or directory: unknown
- Exit Code: 127
- Started: Thu, 03 Feb 2022 21:12:45 +0100
- Finished: Thu, 03 Feb 2022 21:12:45 +0100
- Ready: False
- Restart Count: 71
- Limits:
- cpu: 0
- ephemeral-storage: 4Gi
- memory: 0
- Requests:
- cpu: 0
- ephemeral-storage: 2Gi
- memory: 0
- Environment: <none>
- Mounts:
- /opt/db/backup/postgres from pv-backup (rw)
- /opt/db/backup/postgres/arch from pv-arch (rw)
- /opt/db/data/postgres/data from pv-data (rw)
- /var/run/secrets/kubernetes.io/serviceaccount from default-token-bvxf8 (ro)
- Containers:
- postgres:
- Container ID:
- Image: docker-dev-local.dev.dvz-mv.net/ina/postgresql:14.1-scm-debian-bullseye-build-74-4
- Image ID:
- Port: 5432/TCP
- Host Port: 0/TCP
- State: Waiting
- Reason: PodInitializing
- Ready: False
- Restart Count: 0
- Environment Variables from:
- postgres-configuration ConfigMap Optional: false
- Environment: <none>
- Mounts:
- /opt/db/backup/postgres from pv-backup (rw)
- /opt/db/backup/postgres/arch from pv-arch (rw)
- /opt/db/data/postgres/data from pv-data (rw)
- /var/run/secrets/kubernetes.io/serviceaccount from default-token-bvxf8 (ro)
- Conditions:
- Type Status
- Initialized False
- Ready False
- ContainersReady False
- PodScheduled True
- Volumes:
- pv-data:
- Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
- ClaimName: pgdata33-pvc
- ReadOnly: false
- pv-backup:
- Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
- ClaimName: pgbackup33-pvc
- ReadOnly: false
- pv-arch:
- Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
- ClaimName: pgarch33-pvc
- ReadOnly: false
- default-token-bvxf8:
- Type: Secret (a volume populated by a Secret)
- SecretName: default-token-bvxf8
- Optional: false
- QoS Class: BestEffort
- Node-Selectors: <none>
- Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
- node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
- Events:
- Type Reason Age From Message
- ---- ------ ---- ---- -------
- Warning BackOff 3m45s (x1519 over 5h33m) kubelet Back-off restarting failed container
Add Comment
Please, Sign In to add comment