Spring Cloud Kubernetes服务注册中心的实施
在Kubernetes服务注册由平台控制的情况下,应用程序本身不像其他平台那样控制注册。因此,在Spring Cloud Kubernetes中使用
spring.cloud.service-registry.auto-registration.enabled
或设置@EnableDiscoveryClient(autoRegister=false)
无效。