How to disable KubernetesClientAutoConfiguration
See original GitHub issueDescribe the bug I set the following properties in my application properties files:
spring:
cloud:
kubernetes:
enabled: false
config:
enabled: false
But I still see org.springframework.cloud.kubernetes.client.KubernetesClientAutoConfiguration#apiClient
getting called. Am I missing something?
Sample k8s-config.zip
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Can we add a property to disable the kubernetes auto ...
hi, dev, Can we add a property to disable the kubernetes auto configure like what eureka does?
Read more >Disable Spring Cloud Kubernetes in local - Stack Overflow
As the documentation says, you can do that by adding: spring.cloud.kubernetes.enabled=false. that, in turn, could be an environment property ...
Read more >Spring Cloud Kubernetes
Include a starter to get the dependencies and Spring Boot auto-configuration for a feature set. Starters that begin with spring-cloud-starter-kubernetes-fabric8 ...
Read more >KubernetesCatalogWatchAutoCo...
Class KubernetesCatalogWatchAutoConfiguration. java.lang.Object. org.springframework.cloud.kubernetes.discovery.KubernetesCatalogWatchAutoConfiguration ...
Read more >Chapter 11. Integrating Spring Boot with Kubernetes
You can enable Kubernetes integration by adding it as a Maven dependency to ... Please note that, by default, consuming Secrets via API...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
oh! you have
spring-cloud-kubernetes-config
on the classpath. I missed that, that is where the confusion came from. Now it all makes sense, yes.OK, found it in the documentation: