Skip to content

Commit

Permalink
Update CSV (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
rensyct authored Jun 10, 2022
1 parent 44104ef commit 1e3ff54
Show file tree
Hide file tree
Showing 7 changed files with 226 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ metadata:
"imagePullPolicy": "IfNotPresent"
},
"configVersion": "v2.3.0",
"controller": {
"nodeSelector": null,
"tolerations": null
},
"dnsPolicy": "ClusterFirstWithHostNet",
"forceUpdate": false,
"fsGroupPolicy": "ReadWriteOnceWithFSType",
Expand All @@ -168,6 +172,24 @@ metadata:
"name": "X_CSI_TOPOLOGY_CONTROL_ENABLED",
"value": "false"
}
],
"nodeSelector": null,
"tolerations": [
{
"effect": "NoExecute",
"key": "node.kubernetes.io/memory-pressure",
"operator": "Exists"
},
{
"effect": "NoExecute",
"key": "node.kubernetes.io/disk-pressure",
"operator": "Exists"
},
{
"effect": "NoExecute",
"key": "node.kubernetes.io/network-unavailable",
"operator": "Exists"
}
]
},
"replicas": 2
Expand Down Expand Up @@ -327,6 +349,11 @@ metadata:
"imagePullPolicy": "IfNotPresent"
},
"configVersion": "v2.3.0",
"controller": {
"envs": null,
"nodeSelector": null,
"tolerations": null
},
"dnsPolicy": "ClusterFirstWithHostNet",
"forceUpdate": false,
"fsGroupPolicy": "File",
Expand All @@ -343,6 +370,11 @@ metadata:
"name": "sdc"
}
],
"node": {
"envs": null,
"nodeSelector": null,
"tolerations": null
},
"replicas": 1,
"sideCars": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@ metadata:
"imagePullPolicy": "IfNotPresent"
},
"configVersion": "v2.3.0",
"controller": {
"nodeSelector": null,
"tolerations": null
},
"dnsPolicy": "ClusterFirstWithHostNet",
"forceUpdate": false,
"fsGroupPolicy": "ReadWriteOnceWithFSType",
Expand All @@ -168,6 +172,24 @@ metadata:
"name": "X_CSI_TOPOLOGY_CONTROL_ENABLED",
"value": "false"
}
],
"nodeSelector": null,
"tolerations": [
{
"effect": "NoExecute",
"key": "node.kubernetes.io/memory-pressure",
"operator": "Exists"
},
{
"effect": "NoExecute",
"key": "node.kubernetes.io/disk-pressure",
"operator": "Exists"
},
{
"effect": "NoExecute",
"key": "node.kubernetes.io/network-unavailable",
"operator": "Exists"
}
]
},
"replicas": 2
Expand Down Expand Up @@ -327,6 +349,11 @@ metadata:
"imagePullPolicy": "IfNotPresent"
},
"configVersion": "v2.3.0",
"controller": {
"envs": null,
"nodeSelector": null,
"tolerations": null
},
"dnsPolicy": "ClusterFirstWithHostNet",
"forceUpdate": false,
"fsGroupPolicy": "File",
Expand All @@ -343,6 +370,11 @@ metadata:
"name": "sdc"
}
],
"node": {
"envs": null,
"nodeSelector": null,
"tolerations": null
},
"replicas": 1,
"sideCars": [
{
Expand Down
25 changes: 19 additions & 6 deletions config/samples/storage_v1_csiisilon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,18 +123,23 @@ spec:
# Leave as blank to consider all nodes
# Allowed values: map of key-value pairs
# Default value: None
# Examples:
# node-role.kubernetes.io/control-plane: ""
nodeSelector:
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/master taint
# node-role.kubernetes.io/master: ""
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/control-plane taint
# node-role.kubernetes.io/control-plane: ""

# tolerations: Define tolerations for the controller deployment, if required.
# Default value: None
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/master taint
tolerations:
# - key: "node-role.kubernetes.io/control-plane"
# operator: "Equal"
# value: "true"
# effect: "NoSchedule"
# - key: "node-role.kubernetes.io/master"
# operator: "Exists"
# effect: "NoSchedule"
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/control-plane taint
# - key: "node-role.kubernetes.io/control-plane"
# operator: "Exists"
# effect: "NoSchedule"

node:
envs:
Expand Down Expand Up @@ -170,6 +175,7 @@ spec:

# tolerations: Define tolerations for the node daemonset, if required.
# Default value: None
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/master taint
tolerations:
# - key: "node.kubernetes.io/memory-pressure"
# operator: "Exists"
Expand All @@ -180,6 +186,13 @@ spec:
# - key: "node.kubernetes.io/network-unavailable"
# operator: "Exists"
# effect: "NoExecute"
# - key: "node-role.kubernetes.io/master"
# operator: "Exists"
# effect: "NoSchedule"
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/control-plane taint
# - key: "node-role.kubernetes.io/control-plane"
# operator: "Exists"
# effect: "NoSchedule"

sideCars:
- name: common
Expand Down
52 changes: 52 additions & 0 deletions config/samples/storage_v1_csipowermax.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,32 @@ spec:
# default values: None
- name: "X_CSI_GRPC_MAX_THREADS"
value: "4"
controller:
# nodeSelector: Define node selection constraints for controller pods.
# For the pod to be eligible to run on a node, the node must have each
# of the indicated key-value pairs as labels.
# Leave as blank to consider all nodes
# Allowed values: map of key-value pairs
# Default value: None
nodeSelector:
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/master taint
# node-role.kubernetes.io/master: ""
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/control-plane taint
# node-role.kubernetes.io/control-plane: ""

# tolerations: Define tolerations that would be applied to controller deployment
# Leave as blank to install controller on worker nodes
# Allowed values: map of key-value pairs
# Default value: None
tolerations:
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/master taint
# - key: "node-role.kubernetes.io/master"
# operator: "Exists"
# effect: "NoSchedule"
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/control-plane taint
# - key: "node-role.kubernetes.io/control-plane"
# operator: "Exists"
# effect: "NoSchedule"
node:
envs:
# X_CSI_POWERMAX_ISCSI_ENABLE_CHAP: Determine if the driver is going to configure
Expand All @@ -95,3 +120,30 @@ spec:
# Default value: false
- name: X_CSI_TOPOLOGY_CONTROL_ENABLED
value: "false"
# nodeSelector: Define node selection constraints for node pods.
# For the pod to be eligible to run on a node, the node must have each
# of the indicated key-value pairs as labels.
# Leave as blank to consider all nodes
# Allowed values: map of key-value pairs
# Default value: None
nodeSelector:
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/master taint
# node-role.kubernetes.io/master: ""
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/control-plane taint
# node-role.kubernetes.io/control-plane: ""

# tolerations: Define tolerations that would be applied to node daemonset
# Add/Remove tolerations as per requirement
# Leave as blank if you wish to not apply any tolerations
# Allowed values: map of key-value pairs
# Default value: None
tolerations:
- key: "node.kubernetes.io/memory-pressure"
operator: "Exists"
effect: "NoExecute"
- key: "node.kubernetes.io/disk-pressure"
operator: "Exists"
effect: "NoExecute"
- key: "node.kubernetes.io/network-unavailable"
operator: "Exists"
effect: "NoExecute"
28 changes: 18 additions & 10 deletions config/samples/storage_v1_csipowerstore.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,13 @@ spec:
# Default value: None
tolerations:
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/master taint
# - key: "node-role.kubernetes.io/master"
# - key: "node-role.kubernetes.io/master"
# operator: "Exists"
# effect: "NoSchedule"
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/control-plane taint
# - key: "node-role.kubernetes.io/control-plane"
# operator: "Exists"
# effect: "NoSchedule"
# - key: "node-role.kubernetes.io/control-plane"
# operator: "Exists"
# effect: "NoSchedule"
node:
envs:
# Set to "true" to enable ISCSI CHAP Authentication
Expand All @@ -76,15 +78,21 @@ spec:
# Leave as blank to consider all nodes
# Allowed values: map of key-value pairs
# Default value: None
# Examples:
# node-role.kubernetes.io/worker: ""
nodeSelector:
# node-role.kubernetes.io/worker: ""
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/master taint
# node-role.kubernetes.io/master: ""
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/control-plane taint
# node-role.kubernetes.io/control-plane: ""

# tolerations: Define tolerations for the controllers, if required.
# Leave as blank to install controller on worker nodes
# Default value: None
tolerations:
# - key: "node-role.kubernetes.io/worker"
# operator: "Exists"
# effect: "NoSchedule"
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/master taint
# - key: "node-role.kubernetes.io/master"
# operator: "Exists"
# effect: "NoSchedule"
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/control-plane taint
# - key: "node-role.kubernetes.io/control-plane"
# operator: "Exists"
# effect: "NoSchedule"
27 changes: 21 additions & 6 deletions config/samples/storage_v1_csiunity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,21 @@ spec:
# Leave as blank to consider all nodes
# Allowed values: map of key-value pairs
# Default value: None
# Examples:
# node-role.kubernetes.io/control-plane: ""
nodeSelector:
# node-role.kubernetes.io/control-plane: ""
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/master taint
# node-role.kubernetes.io/master: ""
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/control-plane taint
# node-role.kubernetes.io/control-plane: ""

# tolerations: Define tolerations for the controllers, if required.
# Leave as blank to install controller on worker nodes
# Default value: None
tolerations:
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/master taint
# - key: "node-role.kubernetes.io/master"
# operator: "Exists"
# effect: "NoSchedule"
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/control-plane taint
# - key: "node-role.kubernetes.io/control-plane"
# operator: "Exists"
# effect: "NoSchedule"
Expand All @@ -44,14 +50,23 @@ spec:
# Leave as blank to consider all nodes
# Allowed values: map of key-value pairs
# Default value: None
# Examples:
# node-role.kubernetes.io/control-plane: ""
nodeSelector:
# node-role.kubernetes.io/control-plane: ""
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/master taint
# node-role.kubernetes.io/master: ""
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/control-plane taint
# node-role.kubernetes.io/control-plane: ""

# tolerations: Define tolerations for the node daemonset, if required.
# Default value: None
tolerations:
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/master taint
# - key: "node-role.kubernetes.io/master"
# operator: "Exists"
# effect: "NoSchedule"
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/control-plane taint
# - key: "node-role.kubernetes.io/control-plane"
# operator: "Exists"
# effect: "NoSchedule"
# - key: "node.kubernetes.io/memory-pressure"
# operator: "Exists"
# effect: "NoExecute"
Expand Down
52 changes: 52 additions & 0 deletions config/samples/storage_v1_csivxflexos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,58 @@ spec:
value: "1"
- name: MDM
value: ""

controller:
envs:

#"controller.nodeSelector" defines what nodes would be selected for pods of controller deployment
# Leave as blank to use all nodes
# Allowed values: map of key-value pairs
# Default value: None
nodeSelector:
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/master taint
# node-role.kubernetes.io/master: ""
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/control-plane taint
# node-role.kubernetes.io/control-plane: ""

# "controller.tolerations" defines tolerations that would be applied to controller deployment
# Leave as blank to install controller on worker nodes
# Default value: None
tolerations:
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/master taint
# - key: "node-role.kubernetes.io/master"
# operator: "Exists"
# effect: "NoSchedule"
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/control-plane taint
# - key: "node-role.kubernetes.io/control-plane"
# operator: "Exists"
# effect: "NoSchedule"

node:
envs:

# "node.nodeSelector" defines what nodes would be selected for pods of node daemonset
# Leave as blank to use all nodes
# Allowed values: map of key-value pairs
# Default value: None
nodeSelector:
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/master taint
# node-role.kubernetes.io/master: ""
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/control-plane taint
# node-role.kubernetes.io/control-plane: ""

# "node.tolerations" defines tolerations that would be applied to node daemonset
# Leave as blank to install node driver only on worker nodes
# Default value: None
tolerations:
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/master taint
# - key: "node-role.kubernetes.io/master"
# operator: "Exists"
# effect: "NoSchedule"
# Uncomment if nodes you wish to use have the node-role.kubernetes.io/control-plane taint
# - key: "node-role.kubernetes.io/control-plane"
# operator: "Exists"
# effect: "NoSchedule"

initContainers:
- image: dellemc/sdc:3.6
Expand Down

0 comments on commit 1e3ff54

Please sign in to comment.