mirror of
https://github.com/rancher/rke.git
synced 2025-09-01 23:16:22 +00:00
Add healtcheck for services components
Integrate healthcheck with each service
This commit is contained in:
@@ -57,7 +57,7 @@ func (c *Cluster) GetClusterState() (*Cluster, error) {
|
||||
// Get previous kubernetes certificates
|
||||
if currentCluster != nil {
|
||||
currentCluster.Certificates, err = getClusterCerts(c.KubeClient)
|
||||
currentCluster.DialerFactory = c.DialerFactory
|
||||
currentCluster.DockerDialerFactory = c.DockerDialerFactory
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("Failed to Get Kubernetes certificates: %v", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user