The current health monitor decides the cluster health status based on NodeHealthy of all nodes in the cluster. This results false positive when the kube-api is unhealthy.
Solution
2 options
Reflect the status of KubeadmControlPlane to cluster's health
Context
The current health monitor decides the cluster health status based on
NodeHealthy
of all nodes in the cluster. This results false positive when the kube-api is unhealthy.Solution
2 options
KubeadmControlPlane
to cluster's healthmagnum.drivers.common.k8s_monitor
https://opendev.org/openstack/magnum/src/commit/17a081b3da5b7af524dcd7d9cc96a9ff4ab588ed/magnum/drivers/common/k8s_monitor.py#L49-L62