Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

There is no liveness probe for cloud_controller_ng container in api pod #1661

Open
JimmyMa opened this issue Dec 21, 2020 · 0 comments
Open
Assignees
Labels
Type: Bug Something isn't working

Comments

@JimmyMa
Copy link
Collaborator

JimmyMa commented Dec 21, 2020

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 JimmyMa added the Type: Bug Something isn't working label Dec 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants