-
Notifications
You must be signed in to change notification settings - Fork 949
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
feat(install): setup liveness probes for openebs components #1909
Conversation
Signed-off-by: kmova <kiran.mova@openebs.io>
command: | ||
- /usr/local/bin/mayactl | ||
- version | ||
initialDelaySeconds: 300 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can Initialdelayseconds be shortened (60 or less) , otherwise looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keeping it too low may cause false positives on a slow network.
command: | ||
- pgrep | ||
- ".*provisioner" | ||
initialDelaySeconds: 300 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can Initialdelayseconds be shortened (60 or less)? otherwise looks good to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
command: | ||
- pgrep | ||
- ".*controller" | ||
initialDelaySeconds: 300 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can Initialdelayseconds be shortened (60 or less)? otherwise looks good to me.
command: | ||
- pgrep | ||
- ".*provisioner" | ||
initialDelaySeconds: 300 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can Initialdelayseconds be shortened (60 or less)? otherwise looks good to me.
command: | ||
- pgrep | ||
- ".*ndm" | ||
initialDelaySeconds: 300 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can initialDelaySeconds be shortened (60 or less)? otherwise looks good to me.
@@ -156,6 +156,13 @@ spec: | |||
value: "openebs/cstor-volume-mgmt:ci" | |||
- name: OPENEBS_IO_VOLUME_MONITOR_IMAGE | |||
value: "openebs/m-exporter:ci" | |||
livenessProbe: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Separately, can we use the same ExecAction to add readinessProbe?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. It does help to add a readinessProbe to maya-apiserver deployment, since it is frontended by a service.
Signed-off-by: kmova <kiran.mova@openebs.io>
LGTM |
This PR adds liveness probes to check the required binaries are running within the control plane components. In the future, these can be enhanced to check for additional parameters.
Signed-off-by: kmova kiran.mova@openebs.io