Comments (1)
在使用 Istio 代理的情况下,确保 Liveness 和 Readiness 探针能够正确配置是很重要的。
当你使用 Istio 时,Istio 代理(sidecar)会截取容器的所有网络流量,包括 Liveness 和 Readiness 探针的流量。因此,确保这些探针能够正确访问是关键的。
一般来说,你需要确保以下事项:
-
Liveness 探针:如果你的容器定义了 Liveness 探针,确保 Istio 代理的 Envoy 配置允许访问该探针的路径。通常,默认情况下,Istio 应该允许访问
/healthz
路径,但你需要确保你的 Liveness 探针在此路径上提供响应。如果你的 Liveness 探针使用不同的路径,你需要相应地配置 Istio。 -
Readiness 探针:类似于 Liveness 探针,确保 Istio 代理的 Envoy 配置允许访问 Readiness 探针的路径。通常,默认情况下,Istio 应该允许访问
/healthz/ready
路径。确保你的 Readiness 探针在此路径上提供响应。
如果你的 Liveness 和 Readiness 探针没有特殊配置,通常只需确保 Istio 代理允许访问默认路径,即 /healthz
和 /healthz/ready
,即可正常工作。
但如果你有特殊需求或自定义的探针路径,确保你的 Istio 配置与之匹配,以确保 Liveness 和 Readiness 探针能够正确工作。此外,还需要确保容器内的服务实际上在这些路径上提供正确的健康检查响应。
from groovy.
Related Issues (20)
- DR
- network policy
- - Create GKE by Terraform
- Nginx remoteip HOT 3
- Sa
- Network policy HOT 1
- 如何设置BigQuery触发器以发送告警?
- Buildkit
- Ingress HOT 13
- Monitor
- OSA
- Illumio
- Hpa memory HOT 2
- Hpa HOT 7
- Auth gcp HOT 3
- UIG
- HPA MEMORY HOT 1
- nodeAffinity HOT 2
- Hpa HOT 1
- Token HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from groovy.