Merge pull request #530 from uditgaurav/add_node_label
Chore(node_label): Add node level env in pod level experiments
This commit is contained in:
@@ -105,6 +105,10 @@ spec:
|
|||||||
- name: PODS_AFFECTED_PERC
|
- name: PODS_AFFECTED_PERC
|
||||||
value: ''
|
value: ''
|
||||||
|
|
||||||
|
# To select pods on specific node(s)
|
||||||
|
- name: NODE_LABEL
|
||||||
|
value: ''
|
||||||
|
|
||||||
- name: LIB_IMAGE
|
- name: LIB_IMAGE
|
||||||
value: 'litmuschaos/go-runner:latest'
|
value: 'litmuschaos/go-runner:latest'
|
||||||
|
|
||||||
|
@@ -96,6 +96,10 @@ spec:
|
|||||||
- name: EPHEMERAL_STORAGE_MEBIBYTES
|
- name: EPHEMERAL_STORAGE_MEBIBYTES
|
||||||
value: ''
|
value: ''
|
||||||
|
|
||||||
|
# To select pods on specific node(s)
|
||||||
|
- name: NODE_LABEL
|
||||||
|
value: ''
|
||||||
|
|
||||||
## percentage of total pods to target
|
## percentage of total pods to target
|
||||||
- name: PODS_AFFECTED_PERC
|
- name: PODS_AFFECTED_PERC
|
||||||
value: ''
|
value: ''
|
||||||
|
@@ -110,6 +110,10 @@ spec:
|
|||||||
- name: TARGET_PODS
|
- name: TARGET_PODS
|
||||||
value: ''
|
value: ''
|
||||||
|
|
||||||
|
# To select pods on specific node(s)
|
||||||
|
- name: NODE_LABEL
|
||||||
|
value: ''
|
||||||
|
|
||||||
## it defines the sequence of chaos execution for multiple target pods
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
|
@@ -90,6 +90,10 @@ spec:
|
|||||||
- name: TARGET_PODS
|
- name: TARGET_PODS
|
||||||
value: ''
|
value: ''
|
||||||
|
|
||||||
|
# To select pods on specific node(s)
|
||||||
|
- name: NODE_LABEL
|
||||||
|
value: ''
|
||||||
|
|
||||||
## it defines the sequence of chaos execution for multiple target pods
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
|
@@ -24,6 +24,10 @@ spec:
|
|||||||
- name: FILESYSTEM_UTILIZATION_PERCENTAGE
|
- name: FILESYSTEM_UTILIZATION_PERCENTAGE
|
||||||
value: '10'
|
value: '10'
|
||||||
|
|
||||||
|
## Percentage of total pods to target
|
||||||
|
- name: PODS_AFFECTED_PERC
|
||||||
|
value: ''
|
||||||
|
|
||||||
## provide the cluster runtime
|
## provide the cluster runtime
|
||||||
- name: CONTAINER_RUNTIME
|
- name: CONTAINER_RUNTIME
|
||||||
value: 'docker'
|
value: 'docker'
|
||||||
|
@@ -96,6 +96,10 @@ spec:
|
|||||||
- name: TARGET_PODS
|
- name: TARGET_PODS
|
||||||
value: ''
|
value: ''
|
||||||
|
|
||||||
|
# To select pods on specific node(s)
|
||||||
|
- name: NODE_LABEL
|
||||||
|
value: ''
|
||||||
|
|
||||||
# Period to wait before and after injection of chaos in sec
|
# Period to wait before and after injection of chaos in sec
|
||||||
- name: RAMP_TIME
|
- name: RAMP_TIME
|
||||||
value: ''
|
value: ''
|
||||||
|
@@ -115,6 +115,10 @@ spec:
|
|||||||
- name: TARGET_PODS
|
- name: TARGET_PODS
|
||||||
value: ''
|
value: ''
|
||||||
|
|
||||||
|
# To select pods on specific node(s)
|
||||||
|
- name: NODE_LABEL
|
||||||
|
value: ''
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
name: pod-memory-hog
|
name: pod-memory-hog
|
||||||
app.kubernetes.io/part-of: litmus
|
app.kubernetes.io/part-of: litmus
|
||||||
|
@@ -101,6 +101,10 @@ spec:
|
|||||||
- name: TARGET_PODS
|
- name: TARGET_PODS
|
||||||
value: ''
|
value: ''
|
||||||
|
|
||||||
|
# To select pods on specific node(s)
|
||||||
|
- name: NODE_LABEL
|
||||||
|
value: ''
|
||||||
|
|
||||||
# provide the name of container runtime
|
# provide the name of container runtime
|
||||||
# for litmus LIB, it supports docker, containerd, crio
|
# for litmus LIB, it supports docker, containerd, crio
|
||||||
# for pumba LIB, it supports docker only
|
# for pumba LIB, it supports docker only
|
||||||
|
@@ -91,6 +91,10 @@ spec:
|
|||||||
- name: TARGET_PODS
|
- name: TARGET_PODS
|
||||||
value: ''
|
value: ''
|
||||||
|
|
||||||
|
# To select pods on specific node(s)
|
||||||
|
- name: NODE_LABEL
|
||||||
|
value: ''
|
||||||
|
|
||||||
## percentage of total pods to target
|
## percentage of total pods to target
|
||||||
- name: PODS_AFFECTED_PERC
|
- name: PODS_AFFECTED_PERC
|
||||||
value: ''
|
value: ''
|
||||||
|
@@ -124,6 +124,10 @@ spec:
|
|||||||
- name: SOCKET_PATH
|
- name: SOCKET_PATH
|
||||||
value: '/var/run/docker.sock'
|
value: '/var/run/docker.sock'
|
||||||
|
|
||||||
|
# To select pods on specific node(s)
|
||||||
|
- name: NODE_LABEL
|
||||||
|
value: ''
|
||||||
|
|
||||||
## it defines the sequence of chaos execution for multiple target pods
|
## it defines the sequence of chaos execution for multiple target pods
|
||||||
## supported values: serial, parallel
|
## supported values: serial, parallel
|
||||||
- name: SEQUENCE
|
- name: SEQUENCE
|
||||||
|
@@ -101,6 +101,10 @@ spec:
|
|||||||
- name: TARGET_PODS
|
- name: TARGET_PODS
|
||||||
value: ''
|
value: ''
|
||||||
|
|
||||||
|
# To select pods on specific node(s)
|
||||||
|
- name: NODE_LABEL
|
||||||
|
value: ''
|
||||||
|
|
||||||
# provide the name of container runtime
|
# provide the name of container runtime
|
||||||
# for litmus LIB, it supports docker, containerd, crio
|
# for litmus LIB, it supports docker, containerd, crio
|
||||||
# for pumba LIB, it supports docker only
|
# for pumba LIB, it supports docker only
|
||||||
|
Reference in New Issue
Block a user