kubecf icon indicating copy to clipboard operation
kubecf copied to clipboard

There is no liveness probe for cloud_controller_ng container in `api` pod

Open JimmyMa opened this issue 4 years ago • 0 comments

Describe the bug When the cloud_controller_ng process got hang, the cloud_controller_ng container didn't got restarted, because there is no liveness probe for cloud_controller_ng

To Reproduce Below is just a way to simulate the hang of cloud_controller_ng.

  1. get into cloud_controller_ng container and run rm /var/vcap/data/cloud_controller_ng/cloud_controller.sock
  2. then the cloud-controller-ng-cloud-controller-ng and cloud-controller-ng-nginx get into NOT READY state, but they whould not get restarted.

Expected behavior In BOSH CF, the monit will restart cloud-controller-ng process if it fails the healthy check. Expect the cloud-controller-ng-cloud-controller-ng in KubeCF should be restarted if it got hang or fails the healthy check.

JimmyMa avatar Dec 21 '20 07:12 JimmyMa