Skip to content
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

add liveness and readiness probes to static pod #77

Merged
merged 1 commit into from
Jan 31, 2019

Conversation

mfojtik
Copy link
Contributor

@mfojtik mfojtik commented Nov 9, 2018

@deads2k @sttts lets discuss the probes under this PR...

Right now, we have wrong port on the service and I don't think so we serving the healthz or metrics security from controller manager. Also the 10252 seems odd and we need to decide if we keep it or just move to something else? (8444 before).

@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Nov 9, 2018
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 9, 2018
@mfojtik
Copy link
Contributor Author

mfojtik commented Nov 13, 2018

/hold

Waiting for 1.12.2 rebase and controller manager that have secure healthz endpoint.

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 13, 2018
@mfojtik mfojtik force-pushed the add-probes branch 2 times, most recently from c6f88cc to 4b3e594 Compare January 30, 2019 13:29
@mfojtik
Copy link
Contributor Author

mfojtik commented Jan 30, 2019

/hold cancel

@openshift-ci-robot openshift-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 30, 2019
@mfojtik mfojtik force-pushed the add-probes branch 3 times, most recently from 789dae8 to 9062404 Compare January 30, 2019 13:39
@openshift-ci-robot openshift-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jan 30, 2019
@@ -9,8 +9,8 @@ extendedArguments:
- "/etc/kubernetes/secrets/kube-ca.crt"
cluster-signing-key-file:
- "/etc/kubernetes/secrets/kube-ca.key"
port:
- "0"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@deads2k @sttts this is new, we were not doing liveness probe during bootstrap, I wonder if we want to start now.

scheme: HTTPS
port: 10257
path: healthz
initialDelaySeconds: 45
Copy link
Contributor Author

Choose a reason for hiding this comment

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

copied from kube-apiserver, i'm up for suggestion on better numbers (i think we need some initial delay till the controller manager apiserver boots up)

@sttts
Copy link
Contributor

sttts commented Jan 30, 2019

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 30, 2019
@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mfojtik, sttts

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

The pull request process is described here

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

@mfojtik
Copy link
Contributor Author

mfojtik commented Jan 31, 2019

/retest

@openshift-merge-robot openshift-merge-robot merged commit e3262ec into openshift:master Jan 31, 2019
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. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants