Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

6.3章总结疑惑 #19

Open
smajun opened this issue Oct 14, 2019 · 0 comments
Open

6.3章总结疑惑 #19

smajun opened this issue Oct 14, 2019 · 0 comments

Comments

@smajun
Copy link

smajun commented Oct 14, 2019

   你好,在读到本书6.3章总结时有些疑惑,总结最后有提到,”Sidecar Injector 在注入容器时,会自动解析业务容器的容器端口,设置 Readiness Probe。同时,如果未给 Pod 实例创建相应的 Service,那么 Sidecar 健康检查会失败,即Pod永远处于NotReady状态。”
   我试着在weather命名空间下新加了个Deployment,没有给它创建相应的Service,但并没有出现永远处于NotReady状态。这个Deployment内的POD也可以正常访问weather下的其他服务。

书中说到Istio治理的是服务间的访问,治理的对象不一定非要是服务提供者吧。如果有个Deployment只是服务消费者,并不是服务提供者,也就没必要给它创建Service,那就无法使用Istio治理其对其他服务的访问了吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant