Skip to content

6.3章总结疑惑 #19

@smajun

Description

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions