Skip to content

Commit

Permalink
Enables resiliency module for powerflex driver in the minimal manifes…
Browse files Browse the repository at this point in the history
…t file (#700)

Signed-off-by: meghana_gm <[email protected]>
  • Loading branch information
ChristianAtDell committed Oct 15, 2024
1 parent 0d56c21 commit a5f3461
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,17 @@
name: podmon
image: dellemc/podmon:v1.11.0
imagePullPolicy: IfNotPresent
args:
- "--labelvalue=csi-vxflexos"
- "--skipArrayConnectionValidation=false"
- "--driverPodLabelValue=dell-storage"
- "--ignoreVolumelessPods=false"
- "--arrayConnectivityPollRate=5"
- "--arrayConnectivityConnectionLossThreshold=3"
# Below 3 args should not be modified.
- "--csisock=unix:/var/run/csi/csi.sock"
- "--mode=controller"
- "--driver-config-params=/vxflexos-config-params/driver-config-params.yaml"
env:
- name: MY_NODE_NAME
valueFrom:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,19 @@ securityContext:
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
args:
- "--labelvalue=csi-vxflexos"
- "--leaderelection=false"
- "--driverPodLabelValue=dell-storage"
- "--ignoreVolumelessPods=false"
- "--arrayConnectivityPollRate=5"
# Below 3 args should not be modified.
- "--csisock=unix:/var/lib/kubelet/plugins/vxflexos.emc.dell.com/csi_sock"
- "--mode=node"
- "--driver-config-params=/vxflexos-config-params/driver-config-params.yaml"
env:
- name: "X_CSI_PODMON_API_PORT"
value: "8083"
- name: KUBE_NODE_NAME
valueFrom:
fieldRef:
Expand Down
8 changes: 8 additions & 0 deletions samples/minimal-samples/powerflex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,11 @@ spec:
driver:
csiDriverType: "powerflex"
configVersion: v2.11.0
modules:
- name: resiliency
# enabled: Enable/Disable Resiliency feature
# Allowed values:
# true: enable Resiliency feature(deploy podmon sidecar)
# false: disable Resiliency feature(do not deploy podmon sidecar)
# Default value: false
enabled: false

0 comments on commit a5f3461

Please sign in to comment.