k8s 应用检查流程

1、确认pod的状态,然后通过pod访问url确定能正确访问

kubectl get pod -o wide -n test-id

curl http://pod_ip:port/metrics

2、检查service,通过service的cluster ip进行访问确定是否正常

kubectl get svc -n test-id

curl http://svc_ip:port/metrics

3、检查ingress的配置,host的配置 service的配置,端口,path是否正确

4、检查域名是否正常解析

posted on 2022-05-17 15:26  每天进步一点点点点点  阅读(150)  评论(0编辑  收藏  举报