-
Notifications
You must be signed in to change notification settings - Fork 21
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
Node update controller added to the deployments #158
Node update controller added to the deployments #158
Conversation
- name: metrics | ||
containerPort: 8081 | ||
protocol: TCP | ||
- name: healthz | ||
containerPort: 8082 | ||
protocol: TCP |
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.
@Prajyot-Parab are we exposing metrics and healthz from the controller?
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 here
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.
cool, then @Madhan-SWE can we add livenessProbe
probe then.?
@@ -62,6 +62,23 @@ spec: | |||
timeoutSeconds: 3 | |||
periodSeconds: 10 | |||
failureThreshold: 5 | |||
- name: node-update-controller | |||
image: quay.io/powercloud/ibm-powervs-block-csi-driver:v0.0.1 |
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.
somehow we need to get rid of this image quay.io/powercloud/ibm-powervs-block-csi-driver:v0.0.1
of course not via this PR but we need to remove from everywhere.
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, we can give gcr path: gcr.io/k8s-staging-cloud-provider-ibm/ibm-powervs-block-csi-driver:v1.0.0
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.
how about gcr.io/k8s-staging-cloud-provider-ibm/ibm-powervs-block-csi-driver:dev
something more meaningful and assume this will get overridden with an actual image later.
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.
Will be changing all the image Paths to gcr.io/k8s-staging-cloud-provider-ibm/ibm-powervs-block-csi-driver:dev in a new PR.
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.
or even it can be gcr.io/k8s-staging-cloud-provider-ibm/ibm-powervs-block-csi-driver:main
@@ -27,3 +27,6 @@ spec: | |||
- name: powervs-plugin | |||
image: quay.io/powercloud/ibm-powervs-block-csi-driver:dev | |||
imagePullPolicy: Always | |||
- name: node-update-controller | |||
image: quay.io/powercloud/ibm-powervs-block-csi-driver:dev |
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 here, we need to avoid using quay.io/powercloud/ibm-powervs-block-csi-driver:dev
/cc @Prajyot-Parab |
- name: metrics | ||
containerPort: 8081 | ||
protocol: TCP | ||
- name: healthz | ||
containerPort: 8082 | ||
protocol: TCP |
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.
cool, then @Madhan-SWE can we add livenessProbe
probe then.?
@mkumatag liveness probe is already added as part of controller deployment yaml. I will explore about it and make necessary changes if needed. |
livenessProbe will be for each containers, hence this node controller is a new pod and we need to add this for checking the health of the container. |
liveness probe is added. Please check if the values of failureThreshold, initialDelaySeconds, timeoutSeconds, periodSeconds are looks good to you. |
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.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Madhan-SWE, mkumatag 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 |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Adding node update controller to the deployments.
Which issue(s) this PR fixes:
Fixes #157
Special notes for your reviewer:
Release note: