Reputation: 23
I have a falco image that is crashing because of readiness proble failed
I have this set
Liveness: http-get http://:8765/healthz delay=60s timeout=5s period=15s #success=1 #failure=3
Readiness: http-get http://:8765/healthz delay=30s timeout=5s period=15s #success=1 #failure=3
and this is the only pod that is having this error
Someone can help me?
Upvotes: 0
Views: 334
Reputation: 1894
This error may usually be caused by a faulty network setup, with firewalls or CNI misconfiguration. But, check the following to see if it's a CoreDNS config problem and also may be etcd is not ready.
Please check the below solutions :
1)Check CoreDNS Config : First please check if you can connect to CoreDNS pod address from k8s node. Then make sure coredns plugin health is listening on address 10.62.94.129:8765
Apply simple markdown formatting to your issue description to make it human-readable. Please look at those changes so you can see how to make your issue descriptions more easily readable in the future.
2)Check Etcd is not ready: To avoid this problem create the corresponding PV for etcd. Please follow the below steps :
kubectl describe -n apisix etcd
-> storageClassName is emptyEdit :
As the falco is DaemonSet, I found a similar issue from github
Falco failed to run in kind :[https://github.com/falcosecurity/falco/issues/964]
Related to falco itself with duplicate network resource definition like port : [https://github.com/kubernetes/kubernetes/issues/51785]
Upvotes: 0