-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add design for enforcing host network.
Signed-off-by: Michael Adam <[email protected]>
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Enforcing host network design document | ||
|
||
By default, the ceph-csi controller plugin operates on the pod network | ||
but under some circumstances, like like setups with a dedicaated storage network, | ||
where the pod network cannot connect to the ceph cluster, | ||
it is necessary to run the Ceph-CSI controller plugin pods on the host network. | ||
|
||
This document describes how the ceph-csi-operator can be configured to enforce the use of host network in | ||
the Ceph-CSI controller plugin pods | ||
|
||
Enforcing of host network can be enabled in the operator configuration by setting `hostNetwork` to `true` in the `driverSpecDefaults.rcontrollerPlugin` section | ||
of the `OperatorConfig` CR. | ||
|
||
Example: | ||
|
||
```yaml | ||
kind: OperatorConfig | ||
apiVersion: csi.ceph.io/v1alpha1 | ||
|
||
|
||
metadata: | ||
name: ceph-csi-operator-config | ||
namespace: <operator-namespace> | ||
spec: | ||
driverSpecDefaults: | ||
controllerPlugin: | ||
hostNetwork: true | ||
... | ||
|
||
``` | ||
|