Difference between revisions of "Unhealthy"

From wikieduonline
Jump to navigation Jump to search
(Created page with " FailedKillPod")
 
 
(22 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
[[kubectl get events -A]] | grep [[Warning]]
 +
[[kubectl describe pods]] | grep [[Unhealthy]]
  
  
  
  
  [[FailedKillPod]]
+
  [[Readiness]] probe failed: Waiting for elasticsearch cluster to become ready (request params: "wait_for_status=green&timeout=1s" ) [[Cluster is not yet ready]] (request params: "wait_for_status=green&timeout=1s" )
 +
 
 +
                "message": "(service your-service) (port 1236) is unhealthy in ([[target-group]] arn:aws:elasticloadbalancing:eu-west-1:***:targetgroup/your-tg/de945c5123456) due to (reason [[Health checks]] failed).", "id": "bab160d2-b5d5-4170-91a1-73e92f34b563", "createdAt": 1676632404.784
 +
 
 +
 
 +
=== kubectl describe pods | grep Unhealthy ===
 +
[[kube-system]]    42m        Warning  Unhealthy                pod/tiller-deploy-68bb9fb75-kw5r5                      Liveness probe failed: Get "http://10.32.0.15:44135/liveness": [[context deadline exceeded]] (Client.Timeout exceeded while awaiting headers)
 +
 
 +
your_namespace        26m        Warning  [[Unhealthy]]                pod/elasticsearch-master-1                                          [[Readiness probe failed]]: Waiting for elasticsearch cluster to become ready (request params: "wait_for_status=green&timeout=1s" )...
 +
 
 +
 
 +
13s        [[Warning]]  Unhealthy                pod/[[metrics-server]]-7f4db5fd87-5lwkg    [[Readiness probe failed]]: [[HTTP probe failed with statuscode]]: 500
 +
 
 +
== ECS ==
 +
service your-service port 3000 [[is unhealthy in target-group]] your-tg  due to ([[reason Health checks failed with these codes]]: [404]).
 +
 
 +
== Related ==
 +
* <code>[[kubectl get events -A]] | grep [[ClusterUnhealthy]]</code>
 +
* <code>[[--kubelet-insecure-tls]]</code>
 +
* <code>[[Reason]]</code>
 +
* <code>[[FailedKillPod]]</code>
 +
* <code>[[Killing]]</code>
 +
 
 +
== See also ==
 +
* {{kubectl describe pods}}
 +
* {{K8s probes}}
 +
* {{K8s tr}}
 +
 
 +
[[Category:K8s]]

Latest revision as of 09:40, 1 May 2024

kubectl get events -A | grep Warning
kubectl describe pods | grep Unhealthy



Readiness probe failed: Waiting for elasticsearch cluster to become ready (request params: "wait_for_status=green&timeout=1s" ) Cluster is not yet ready (request params: "wait_for_status=green&timeout=1s" )
               "message": "(service your-service) (port 1236) is unhealthy in (target-group arn:aws:elasticloadbalancing:eu-west-1:***:targetgroup/your-tg/de945c5123456) due to (reason Health checks failed).", "id": "bab160d2-b5d5-4170-91a1-73e92f34b563", "createdAt": 1676632404.784


kubectl describe pods | grep Unhealthy[edit]

kube-system     42m         Warning   Unhealthy                 pod/tiller-deploy-68bb9fb75-kw5r5                       Liveness probe failed: Get "http://10.32.0.15:44135/liveness": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
your_namespace         26m         Warning   Unhealthy                 pod/elasticsearch-master-1                                          Readiness probe failed: Waiting for elasticsearch cluster to become ready (request params: "wait_for_status=green&timeout=1s" )...


13s         Warning   Unhealthy                 pod/metrics-server-7f4db5fd87-5lwkg    Readiness probe failed: HTTP probe failed with statuscode: 500

ECS[edit]

service your-service port 3000 is unhealthy in target-group your-tg  due to (reason Health checks failed with these codes: [404]).

Related[edit]

See also[edit]

Advertising: