-
Notifications
You must be signed in to change notification settings - Fork 18
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
WIP: Enable using host networking for Controller Plugin pods. #176
base: main
Are you sure you want to change the base?
Conversation
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.
@obnoxxx please test both cephfs/rbd with below combination
- cephfs and RBD Driver running on Host network
- cephfs and RBD Driver running on pod network
- cephfs and RBD Driver with csiaddons running on Host hetwork
- cephfs and RBD Driver with csiaddons running on pod network
I expect some port conflict as csiaddons uses same port for cephfs and rbd deployments
utils.ControllerPortContainerArg, |
ddca2c3
to
6472287
Compare
@@ -564,6 +564,7 @@ func (r *driverReconcile) reconcileControllerPluginDeployment() error { | |||
Strategy: ptr.Deref(pluginSpec.DeploymentStrategy, defaultDeploymentStrategy), | |||
Template: corev1.PodTemplateSpec{ | |||
ObjectMeta: metav1.ObjectMeta{ | |||
|
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.
please remove this new line as well.
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.
done
@obnoxxx there is a typo in commit message as well PTAL. |
cb6b8e7
to
adee77d
Compare
This bool setting can be added to the controllerPlugin section of the Driver Spec. It will be propagated to all controller plugin pods. This implements the following design: https://github.com/ceph/ceph-csi-operator/blob/main/docs/design/hostNetwork.md Signed-off-by: Michael Adam <[email protected]>
adee77d
to
da919bd
Compare
Describe what this PR does
This work in progress is a draft PR for the implementation of host Networking for controller plugin pods as described in https://github.com/ceph/ceph-csi-operator/blob/main/docs/design/hostNetwork.md
Is there anything that requires special attention
This a first draft and still needs to be thoroughly tested.
Is the change backward compatible?
should be but needs testing.
Are there concerns around backward compatibility?
see issue #157 for background and context.
This PR is currently based on PR #175 to let it pass unit tests.
It will need to be rebased should that other PR merge.
Related issues
Fixes: #157
Future concerns
none.
Checklist:
guidelines in the developer
guide.
Request
notes
updated with breaking and/or notable changes for the next major release.