30 Ekim 2022 Pazar

Common Pods Errors

Giriş
İki çeşit hata kodu var
1. Startup errors
2. Runtime errors

1. Startup errors
Startup errors yazısına taşıdım

 2. Runtime errors
Açıklaması şöyle
1. CrashLoopBackOff
2. RunContainerError
3. KillContainerError
4. VerifyNonRootError
5. RunInitContainerError
6. CreatePodSandboxError
7. ConfigPodSandboxError
8. KillPodSandboxError
9. SetupNetworkError
10. TeardownNetworkError
CrashLoopBackOff
CrashLoopBackOff yazısına taşıdım

RunContainerError
Açıklaması şöyle
The error appears when the container is unable to start. That’s even before the application inside the container starts.

The issue is usually due to misconfiguration such as:

1. Mounting a not-existent volume such as ConfigMap or Secrets.
2. Mounting a read-only volume as read-write.

You should use kubectl describe pod <pod-name> to inspect and analyse the errors.

Hiç yorum yok:

Yorum Gönder

Kubernetes kind: Cluster

Örnek Şöyle yaparız apiVersion: cluster.k8s.io/v1alpha1 kind: Cluster metadata: name: my-cluster spec: autoscaler: enabled: true ...