Skip to content

Conversation

@Danil-Grigorev
Copy link

OCPCLOUD-785 - health checks for all machine API controllers

Copy link
Contributor

@elmiko elmiko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i'm not very familiar with healthz, but this looks reasonable to me.
/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 10, 2020
@Danil-Grigorev
Copy link
Author

/retest

@enxebre
Copy link
Member

enxebre commented Jun 17, 2020

/retest
/approve

@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: enxebre

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 17, 2020
@openshift-merge-robot openshift-merge-robot merged commit 5c21c49 into openshift:master Jun 17, 2020
Danil-Grigorev pushed a commit to Danil-Grigorev/machine-api-operator that referenced this pull request Jun 22, 2020
OCPCLOUD-785 - health checks for all machine API controllers

This introduce support for readinessProbe and livenessProbe [1] for the owned machine controllers deployment and its machineSet, MHC and machine controller containers.
This will let the kubelet to better acknowledge about these containers lifecycle and therefore letting us to be more robust to signal the operator degradability on the clusterOperator status.

This PR needs [2], [3] and [4] to work and pass CI so the probes included in the container spec here can get a 200 from the machine controllers. Also additionally [5], [6] and [7] must the same to not break or the probes included in the container spec here will fail will and result in the containers getting restarted.

This also reverts accidental rebase and put back the syncPeriod which was dropped by [8].

[1] https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
[2] openshift/cluster-api-provider-aws#329
[3] openshift/cluster-api-provider-azure#139
[4] openshift/cluster-api-provider-gcp#96
[5] https://github.com/openshift/cluster-api-provider-openstack
[6] https://github.com/openshift/cluster-api-provider-ovirt
[7] https://github.com/metal3-io/cluster-api-provider-metal3
[8] https://github.com/openshift/machine-api-operator/pull/590/files#diff-7417e4bc31a1bacc1a431704bee56978L41
RadekManak pushed a commit to RadekManak/cluster-api-provider-gcp that referenced this pull request Apr 12, 2023
…dules/github.com/onsi/gomega-1.27.5

🌱 Bump github.com/onsi/gomega from 1.27.4 to 1.27.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants