mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-05-20 22:36:42 +00:00
When running on Docker Swarm, the RBD-healer fails with an error like: > healer had failures, err failed to get cluster config: unable to load > in-cluster configuration, KUBERNETES_SERVICE_HOST and > KUBERNETES_SERVICE_PORT must be defined Before starting the healer, check if we're running on Kubernetes, so that non-Kubernetes platforms do not get confusing warnings. Updates: #3769 Signed-off-by: Niels de Vos <ndevos@ibm.com>