dulhaver

kcl describe pod/postgres-stateful-0 220203

Feb 3rd, 2022 (edited)
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.24 KB | None | 0 0
  1. gwagner@vm-51150-0128:~/repos/postgres_stateful/kubernetes_postgres_statefulset> kcl describe pod/postgres-stateful-0
  2. Name: postgres-stateful-0
  3. Namespace: postgres-own
  4. Priority: 0
  5. Node: 2f9c21ac-2a9d-4b82-9e58-6427232f9993/172.22.1.35
  6. Start Time: Thu, 03 Feb 2022 15:39:19 +0100
  7. Labels: app=postgres
  8. controller-revision-hash=postgres-stateful-f4b6f94cd
  9. statefulset.kubernetes.io/pod-name=postgres-stateful-0
  10. Annotations: <none>
  11. Status: Pending
  12. IP: 172.23.15.67
  13. IPs:
  14. IP: 172.23.15.67
  15. Controlled By: StatefulSet/postgres-stateful
  16. Init Containers:
  17. take-volume-mounts-ownership:
  18. Container ID: docker://14842701ab365de3eb7867f82fc2fba54b8d47aafb321ad6617823706a9974ff
  19. Image: docker-dev-local.dev.dvz-mv.net/ina/postgresql:14.1-scm-debian-bullseye-build-74-4
  20. Image ID: docker-pullable://docker-dev-local.dev.dvz-mv.net/ina/postgresql@sha256:b1dacba17f1e8ba559546c801d153d9d1863457945722d04caeb13b2da06adb4
  21. Port: <none>
  22. Host Port: <none>
  23. Command:
  24. chown -R 1000:1000 /opt/db/data/postgres/data /opt/db/backup/postgres /opt/db/backup/postgres/arch
  25. State: Waiting
  26. Reason: CrashLoopBackOff
  27. Last State: Terminated
  28. Reason: ContainerCannotRun
  29. 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
  30. Exit Code: 127
  31. Started: Thu, 03 Feb 2022 21:12:45 +0100
  32. Finished: Thu, 03 Feb 2022 21:12:45 +0100
  33. Ready: False
  34. Restart Count: 71
  35. Limits:
  36. cpu: 0
  37. ephemeral-storage: 4Gi
  38. memory: 0
  39. Requests:
  40. cpu: 0
  41. ephemeral-storage: 2Gi
  42. memory: 0
  43. Environment: <none>
  44. Mounts:
  45. /opt/db/backup/postgres from pv-backup (rw)
  46. /opt/db/backup/postgres/arch from pv-arch (rw)
  47. /opt/db/data/postgres/data from pv-data (rw)
  48. /var/run/secrets/kubernetes.io/serviceaccount from default-token-bvxf8 (ro)
  49. Containers:
  50. postgres:
  51. Container ID:
  52. Image: docker-dev-local.dev.dvz-mv.net/ina/postgresql:14.1-scm-debian-bullseye-build-74-4
  53. Image ID:
  54. Port: 5432/TCP
  55. Host Port: 0/TCP
  56. State: Waiting
  57. Reason: PodInitializing
  58. Ready: False
  59. Restart Count: 0
  60. Environment Variables from:
  61. postgres-configuration ConfigMap Optional: false
  62. Environment: <none>
  63. Mounts:
  64. /opt/db/backup/postgres from pv-backup (rw)
  65. /opt/db/backup/postgres/arch from pv-arch (rw)
  66. /opt/db/data/postgres/data from pv-data (rw)
  67. /var/run/secrets/kubernetes.io/serviceaccount from default-token-bvxf8 (ro)
  68. Conditions:
  69. Type Status
  70. Initialized False
  71. Ready False
  72. ContainersReady False
  73. PodScheduled True
  74. Volumes:
  75. pv-data:
  76. Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
  77. ClaimName: pgdata33-pvc
  78. ReadOnly: false
  79. pv-backup:
  80. Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
  81. ClaimName: pgbackup33-pvc
  82. ReadOnly: false
  83. pv-arch:
  84. Type: PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
  85. ClaimName: pgarch33-pvc
  86. ReadOnly: false
  87. default-token-bvxf8:
  88. Type: Secret (a volume populated by a Secret)
  89. SecretName: default-token-bvxf8
  90. Optional: false
  91. QoS Class: BestEffort
  92. Node-Selectors: <none>
  93. Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
  94. node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
  95. Events:
  96. Type Reason Age From Message
  97. ---- ------ ---- ---- -------
  98. Warning BackOff 3m45s (x1519 over 5h33m) kubelet Back-off restarting failed container
  99.  
Add Comment
Please, Sign In to add comment