Replies: 2 comments
-
|
Thanks for opening your first issue here! Be sure to follow the issue template! |
Beta Was this translation helpful? Give feedback.
-
|
I am afraid It is impossible to analyse your configuration and figure out anything that could help to solve your problem. My wild guess is that you have some resource problem, but only looking at the logs of the crashed pods will make it possible you can help yourself to investigate it. You just need to find out why the pods are crashing - and if you cannot find any logs in airflow logs showing the reason, there must be somewhere in k8s logs. This is something you need to learn how to do it anyway - managing deplioyment is not something that airlfow maintainers or users can help you with. I always recommend k9s as a tool to look at the logs, but you might alse need to look at the EKS logs to find out what is the reason for the crashes. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Official Helm Chart version
1.6.0 (latest released)
Apache Airflow version
2.4.1
Kubernetes Version
1.22
Helm Chart configuration
Docker Image customisations
N/A
What happened
When running C:\Kore\git_repo\airflow-eks-config>kubectl get pods -n dev
NAME READY STATUS RESTARTS AGE
airflow-postgresql-0 1/1 Running 0 38m
airflow-scheduler-77fbff86f5-q6cpm 2/3 CrashLoopBackOff 11 (94s ago) 38m
airflow-statsd-77bd4f95df-p28fr 0/1 CrashLoopBackOff 12 (74s ago) 38m
airflow-triggerer-59545ffc87-dlz8d 2/2 Running 7 (2m56s ago) 38m
airflow-webserver-7cfcd66964-2m847 0/1 Running 11 (73s ago) 38m
The Webserver/scheduler etc. remain in CrashLoopBackOff state. I do have the Sc/PV/PCV already configured.
What you think should happen instead
AIrflow should install
How to reproduce
The Values.yaml file is the one posted in "Helm Chart Configuration" section.
I am installing airflow using the above command and the pods remain in crashbackoff state:
airflow-webserver-69b9554c56-r4d9n 0/1 CrashLoopBackOff 9 (2m58s ago) 33m
kubectl describe output
Events:
Type Reason Age From Message
Warning LoggingDisabled 36m fargate-scheduler Disabled logging because aws-logging configmap was not found. configmap "aws-logging" not found
Normal Scheduled 35m fargate-scheduler Successfully assigned dev/airflow-webserver-69b9554c56-r4d9n to fargate-ip-192-168-128-124.us-west-2.compute.internal
Normal Pulling 35m kubelet Pulling image "apache/airflow:2.4.1"
Normal Pulled 33m kubelet Successfully pulled image "apache/airflow:2.4.1" in 1m56.248482482s
Normal Created 33m kubelet Created container wait-for-airflow-migrations
Normal Started 33m kubelet Started container wait-for-airflow-migrations
Normal Pulled 32m kubelet Container image "apache/airflow:2.4.1" already present on machine
Normal Created 32m kubelet Created container webserver
Normal Started 32m kubelet Started container webserver
Warning Unhealthy 20m (x132 over 32m) kubelet Liveness probe failed: Get "http://192.168.128.124:8080/health": dial tcp 192.168.128.124:8080: connect: connection refused
Warning BackOff 5m22s (x44 over 19m) kubelet Back-off restarting failed container
Warning Unhealthy 26s (x230 over 32m) kubelet Readiness probe failed: Get "http://192.168.128.124:8080/health": dial tcp 192.168.128.124:8080: connect: connection refused
Anything else
No response
Are you willing to submit PR?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions