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

Bug 1711439: Adds readiness probe to DaemonSet asset #111

Merged
merged 1 commit into from May 21, 2019

Conversation

danehans
Copy link
Contributor

This PR adds readinessProbe to the DNS DaemonSet. The values for all fields accept httpGet, are from the kube-apiserver and kube-scheduler pods:

  • initialDelaySeconds: Number of seconds after the container has started before probes are initiated. Defaults to 0 (no delay).
  • periodSeconds: How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1.
  • successThreshold : Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Minimum value is 1.
  • failureThreshold : Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
  • timeoutSeconds: Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1.

@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label May 18, 2019
@Miciah
Copy link
Contributor

Miciah commented May 18, 2019

/lgtm
/hold
Holding in case Dan wants to review the parameters (they look reasonable enough to me, but I don't have a great feel for how they should be set).

@openshift-ci-robot openshift-ci-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm Indicates that a PR is ready to be merged. labels May 18, 2019
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: danehans, Miciah

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

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 18, 2019
path: /health
port: 8080
scheme: HTTP
initialDelaySeconds: 10
Copy link
Contributor

Choose a reason for hiding this comment

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

Might be a little conservative — normal startup of the coredns process is sub-second. Not sure whether we should be shaving seconds here.

@ironcladlou
Copy link
Contributor

Thanks!

/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 May 20, 2019
@openshift-merge-robot openshift-merge-robot merged commit 050d646 into openshift:master May 21, 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/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants