Skip to content
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

ModuleConfig Changes for Resiliency support for PowerFlex driver #222

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
name: podmon
image: dellemc/podmon:v1.5.0
imagePullPolicy: IfNotPresent
args:
- "--csisock=unix:/var/run/csi/csi.sock"
- "--labelvalue=csi-vxflexos"
- "--mode=controller"
- "--skipArrayConnectionValidation=false"
- "--driver-config-params=/vxflexos-config-params/driver-config-params.yaml"
- "--driverPodLabelValue=dell-storage"
- "--ignoreVolumelessPods=false"
env:
- name: MY_NODE_NAME
valueFrom:
Expand All @@ -22,12 +14,6 @@ env:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: X_CSI_PODMON_ENABLED
value: "true"
- name: X_CSI_PODMON_ARRAY_CONNECTIVITY_POLL_RATE
value: <PodmonArrayConnectivityPollRate>
- name: X_CSI_PODMON_API_PORT
value: <PodmonAPIPort>
volumeMounts:
- name: socket-dir
mountPath: /var/run/csi
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
name: podmon
image: dellemc/podmon:v1.5.0
imagePullPolicy: IfNotPresent
args:
- "--csisock=unix:/var/lib/kubelet/plugins/csi-vxflexos.dellemc.com/csi_sock"
- "--labelvalue=csi-vxflexos"
- "--arrayConnectivityPollRate=60"
- "--driverPath=csi-vxflexos.dellemc.com"
- "--mode=node"
- "--leaderelection=false"
- "--driver-config-params=/vxflexos-config-params/driver-config-params.yaml"
- "--driverPodLabelValue=dell-storage"
- "--ignoreVolumelessPods=false"
securityContext:
privileged: true
capabilities:
add: ["SYS_ADMIN"]
allowPrivilegeEscalation: true
env:
- name: KUBE_NODE_NAME
valueFrom:
Expand All @@ -31,21 +26,12 @@ env:
valueFrom:
fieldRef:
fieldPath: metadata.namespace
- name: X_CSI_PODMON_ENABLED
value: "true"
- name: X_CSI_PODMON_ARRAY_CONNECTIVITY_POLL_RATE
value: <PodmonArrayConnectivityPollRate>
- name: X_CSI_PODMON_API_PORT
value: <PodmonAPIPort>
volumeMounts:
- name: kubelet-pods
mountPath: /var/lib/kubelet/pods
mountPath: <KUBELET_CONFIG_DIR>/pods
mountPropagation: "Bidirectional"
- name: driver-path
mountPath: /var/lib/kubelet/plugins/csi-vxflexos.dellemc.com
mountPropagation: "Bidirectional"
- name: csi-path
mountPath: /var/lib/kubelet/plugins/kubernetes.io/csi
mountPath: <KUBELET_CONFIG_DIR>/plugins/vxflexos.emc.dell.com
mountPropagation: "Bidirectional"
- name: dev
mountPath: /dev
Expand Down