We are running Consul server outside our Kubernetes cluster. Upong deploying Consul client on Kubernetes the Server dashboard frequently updates the state of the Kubernetes nodes between “Agent live and reachable” and immediately shows “Agent not live or unreachable”. This is happening continuously in a loop.
externalServers:
enabled: true
hosts: [“****”]
httpsPort: 8501
tlsServerName: null
useSystemRoots: false
k8sAuthMethodHost: null
client:
enabled: true
image: null
join:
- *********
dataDirectoryHostPath: “”
grpc: true
exposeGossipPorts: true
securityContext:
runAsNonRoot: true
runAsGroup: 1000
runAsUser: 100
fsGroup: 1000
extraVolumes:
tolerations: “”
nodeSelector: null
affinity: null
priorityClassName: “”
annotations: null
extraLabels: null
extraEnvironmentVars: {}
dnsPolicy: “ClusterFirst”
hostNetwork: false
updateStrategy: null