add a hostNetwork setting to the Driver and ControllerPlugin Specs#194
add a hostNetwork setting to the Driver and ControllerPlugin Specs#194
Conversation
|
PR updated to address the port collisions that @rohan47 observed in testing. I have built an image and pushed it to quay: $ docker pull quay.io/madam/ceph-csi-operator:host-net`or: $ podman pull quay.io/madam/ceph-csi-operator:host-net |
6be915c to
1eb0b25
Compare
|
@Madhu-1 : updated with names |
|
CI failures seem to be mostly due to problems with |
8fb941f to
12052b9
Compare
|
Verified the changes. The controller plugin pods are coming up with hostNetwork and there is no port collision |
@rohan47 can you please share the |
|
According to @rohan47, even with the latest build, port collision is happening between rbd and cephfs controller plugin pods. I am going to update with a fix soon. |
|
Updated to try and set different ports for rbd and cephfs drivers. But I have some typo and could not even get it to compile ... |
|
updated , and now it builds. also pushed new images to quay. |
|
Tested the latest changes On the node |
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 <obnox@samba.org>
8e96823 to
c199901
Compare
82bae67 to
555c3f2
Compare
742d96b to
affb65e
Compare
affb65e to
ca29371
Compare
|
updated one more time with build fix. image pushed to quay. |
ca29371 to
2ac34f4
Compare
0afa568 to
8bb9c0b
Compare
b6bc002 to
f527a6e
Compare
f527a6e to
cc75fb1
Compare
|
updated one more time to fix build/vet error. image updated on quay. |
|
Tested the latest changes On Node |
cc75fb1 to
63d7e12
Compare
Usubg host network produces port collisions. So we use different ports for controller plugin deployments and node plugin deamonsets to avoid collisions. We also make sure that rbd and cephfs drivers don't collide Signed-off-by: Michael Adam <obnox@samba.org>
63d7e12 to
bca85a9
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
see issue #157 for background and context.
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 needs thorough testing.
Is the change backward compatible?
should be but this needs testing.
Are there concerns around backward compatibility?
none right now
For example:
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.