06 2024 档案
摘要:Error from server (BadRequest): error when creating "laptop-ingress.yaml": admission webhook "validate.nginx.ingress.kubernetes.io" denied the request
阅读全文
摘要:通过一个叫ServiceMonitor的资源来自动发现监控目标并动态生成配置,不用再维护配置文件 通过ServiceMonitor监控应用时,如果监控没有找到目标主机的排查步骤,排查步骤大致如下: 确认ServiceMonitor是否成功创建。 kubectl get servicemonitors
阅读全文
摘要:/etc/containerd/config.toml 设置代理 https://www.cnblogs.com/liy36/p/16590745.html
阅读全文
摘要:使用kubectl debug遇到的image外网拉不下来的问题: 后面通过阿里云镜像自己的镜像解决的
阅读全文
摘要:排查nodePort不通的精华博客,但是还没有解决问题 https://www.cnblogs.com/37yan/p/12376227.html https://www.jianshu.com/p/ed1ae8443fff 问题具体描述 k8s中的nodeport开通的端口,pod所在的宿主机访问
阅读全文
摘要:解决办法 kubectl -n monitoring delete networkpolicies.networking.k8s.io --all 再重新试着访问就可以了 参考:https://github.com/prometheus-operator/kube-prometheus/issues
阅读全文