Container-native Vert.x: Health Checks, Metrics, and Deployment
1. Health Checks in Kubernetes
In a Kubernetes environment, it’s crucial to monitor the health of pods. For instance, when dealing with the heat API pod, you should wait a few seconds before listing the pods. You’ll notice that the heat API pod might be marked as 0/1 ready. This indicates that the readiness checks have failed, and the pod will no longer receive traffic.
You can test this by running the following query:
$ http $(minikube service heat-api --url)/warnings
If you want to get the service back to a working state, you can scale it back to one instance:
$ kubectl scale deployment/senso
超级会员免费看
订阅专栏 解锁全文

被折叠的 条评论
为什么被折叠?



