docker-vernemq
docker-vernemq copied to clipboard
Fail to start if kubernetes cannot be contacted
Currently, if k8s cannot be contacted (e.g. if DOCKER_VERNEMQ_KUBERNETES_CLUSTER_NAME is set incorrectly), then the service continues to start up and none of the vmq-admin commands work.
@SerialVelocity operationally though, what should happen in that case?
I would expect the pod to fail to start. If it was a flake, it will restart automatically and succeed eventually.
@SerialVelocity What exactly do ypu mean with "k8s cannot be contacted"? Do you mean that the K8S API-Server is not reachable?
Yes, if the api-server is not reachable.
This just happened again. My pods started up and timed out talking to the API server. Now they are operating as independent nodes.