Skip to content

Allow to set a livenessProbe for the sidecar #666

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 7, 2021

Conversation

johscheuer
Copy link
Member

Fixes: #661

@johscheuer johscheuer requested a review from brownleej May 6, 2021 20:02
Copy link
Member

@brownleej brownleej left a comment

Choose a reason for hiding this comment

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

👍

if !initMode && cluster.Spec.SidecarContainer.EnableLivenessProbe && container.LivenessProbe == nil {
// We can't use a HTTP handler here since the server
// requires a client certificate
container.LivenessProbe = &corev1.Probe{
Copy link
Member

Choose a reason for hiding this comment

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

Should we capture a follow-up task to remove the readiness probe, since it's not doing a lot of good for us right now?

@johscheuer johscheuer merged commit 9f23e0b into FoundationDB:master May 7, 2021
@johscheuer johscheuer deleted the add-liveness-probe branch May 7, 2021 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sidecar should have a livenessProbe per default
2 participants