-
Notifications
You must be signed in to change notification settings - Fork 24
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
csi: add csi-addon sidecar to the rbd provisioner deployment #84
csi: add csi-addon sidecar to the rbd provisioner deployment #84
Conversation
/hold |
38805d0
to
705de9a
Compare
Tested the deployment of the operator. A new container for csi-addons comes up in the rbd provisioner:
logs for the container:
The sidecar container is able to connect CSI Addons Endpoint and we get two new csiaddonsnode for the provisioner:
|
/unhold |
"--pod=$(POD_NAME)", | ||
"--namespace=$(POD_NAMESPACE)", | ||
"--pod-uid=$(POD_UID)", | ||
fmt.Sprintf("--stagingpath=%s", DefaultStagingPath), |
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.
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.
Do we need to add all the leader-election flags?
where can I find the default values for:
- "--leader-election-lease-duration"
- "--leader-election-renew-deadline"
- "--leader-election-retry-period"
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.
the default value exists in other sidecar containers use that one and yes we need to have leader-election when running with provisioner pod
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.
Discussed Offline and updated the leader-election-namespace for the csi-addons sidecar and opened a issue to set the values for the other flags in all the sidecars using this flag
Signed-off-by: Rewant Soni <resoni@redhat.com>
705de9a
to
944e1ef
Compare
@rewantsoni just curious, how did this issue surfaced? |
For RDR, two sidecars were missing in the provisioner csi-addons and csi-omap-generator, after a discussion with @Madhu-1 he mentioned that csi-addons should be deployed by default and omap should be deployed when we are enabling DR |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Madhu-1, rewantsoni 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 |
4f444bf
into
red-hat-storage:main
RBD Provisioner was missing csi-addons sidecar, adding it in this PR
Ref for CSI-Addons Sidecar: container config