These are chat archives for spring-cloud/spring-cloud

5th
Jan 2018
MohanJagadheeswaran
@MohanJagadheeswaran
Jan 05 2018 09:12 UTC
@dsyer Thanks. It solved my one week struggling
Sushant Borse
@sushant91265_twitter
Jan 05 2018 13:29 UTC
hi all, what is the difference between status page url and health page url provided by eureka ?
Tyler Thrailkill
@snowe2010
Jan 05 2018 19:44 UTC
Think this might be the right room... How do I disable Kubernetes starter in certain spring profiles? It's still attempting to search for the kubernetes config, even though I have config and discovery disabled.
19:35:16.665 [main] DEBUG io.fabric8.kubernetes.client.Config - Trying to configure client from Kubernetes config...
19:35:16.689 [main] DEBUG io.fabric8.kubernetes.client.Config - Did not find Kubernetes config at: [/root/.kube/config]. Ignoring.
19:35:16.689 [main] DEBUG io.fabric8.kubernetes.client.Config - Trying to configure client from service account...
19:35:16.689 [main] DEBUG io.fabric8.kubernetes.client.Config - Did not find service account ca cert at: [/var/run/secrets/kubernetes.io/serviceaccount/ca.crt].
19:35:16.691 [main] WARN io.fabric8.kubernetes.client.Config - Error reading service account token from: [/var/run/secrets/kubernetes.io/serviceaccount/token]. Ignoring.
19:35:16.691 [main] DEBUG io.fabric8.kubernetes.client.Config - Trying to configure client namespace from Kubernetes service account namespace path...
19:35:16.691 [main] DEBUG io.fabric8.kubernetes.client.Config - Did not find service account namespace at: [/var/run/secrets/kubernetes.io/serviceaccount/namespace]. Ignoring.
with
spring:
  cloud:
    kubernetes:
      discovery:
        enabled: false
      config:
        enabled: false
in my yml
Tyler Thrailkill
@snowe2010
Jan 05 2018 19:58 UTC
updating the yaml to
spring:
  cloud:
    kubernetes:
      discovery:
        enabled: false
      config:
        enabled: false
      secrets:
        enabled: false
      ribbon:
        enabled: false
      reload:
        enabled: false
still results in kubernetes attempting to find the config.
Tyler Thrailkill
@snowe2010
Jan 05 2018 20:46 UTC
turns out there is an issue out for this, that no one has commented on. spring-cloud-incubator/spring-cloud-kubernetes#131