Updated image with litmuschaos/k8s:latest required for predefined workflows (#430)

Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>
This commit is contained in:
Amit Kumar Das
2021-03-24 21:47:39 +05:30
committed by GitHub
parent bf44a78565
commit b59914768f
22 changed files with 48 additions and 48 deletions

View File

@@ -95,7 +95,7 @@ spec:
- name: TEST_NAMESPACE
value: {{workflow.parameters.appCurrentNamespace}}
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args: ['kubectl apply -f /tmp/createChaosEngine.yaml -n {{workflow.parameters.appCurrentNamespace}} | echo "sleeping for 60s" | sleep 60 ']
@@ -145,6 +145,6 @@ spec:
- name: TEST_NAMESPACE
value: {{workflow.parameters.appCurrentNamespace}}
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args: [' sleep 20 | kubectl delete -f /tmp/deleteChaosEngine.yaml -n {{workflow.parameters.appCurrentNamespace}} | echo "sleeping for 60s" | sleep 60 ']

View File

@@ -95,7 +95,7 @@ spec:
- name: TEST_NAMESPACE
value: {{workflow.parameters.appCurrentNamespace}}
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args: ['kubectl apply -f /tmp/createChaosEngine.yaml -n {{workflow.parameters.appCurrentNamespace}} | echo "sleeping for 60s" | sleep 60 ']
@@ -145,6 +145,6 @@ spec:
- name: TEST_NAMESPACE
value: {{workflow.parameters.appCurrentNamespace}}
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args: [' sleep 20 | kubectl delete -f /tmp/deleteChaosEngine.yaml -n {{workflow.parameters.appCurrentNamespace}} | echo "sleeping for 60s" | sleep 60 ']

View File

@@ -58,7 +58,7 @@ spec:
- name: install-chaos-experiments
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
- "kubectl apply -f https://hub.litmuschaos.io/api/chaos/1.9.0?file=charts/generic/k8-pod-delete/experiments.yaml -n
@@ -66,7 +66,7 @@ spec:
- name: install-chaos-rbac
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
- "kubectl apply -f https://hub.litmuschaos.io/api/chaos/1.9.0?file=charts/generic/k8-pod-delete/rbac.yaml -n
@@ -118,7 +118,7 @@ spec:
- name: TEST_NAMESPACE
value: {{workflow.parameters.appCurrentNamespace}}
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args: ['kubectl apply -f /tmp/createChaosEngine.yaml -n {{workflow.parameters.appNamespace}} | echo "sleeping for 60s" | sleep 60 ']
@@ -168,13 +168,13 @@ spec:
- name: TEST_NAMESPACE
value: {{workflow.parameters.appCurrentNamespace}}
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args: [' sleep 20 | kubectl delete -f /tmp/deleteChaosEngine.yaml -n {{workflow.parameters.appNamespace}} | echo "sleeping for 60s" | sleep 60 ']
- name: revert-chaos-experiments
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
- "kubectl delete -f https://hub.litmuschaos.io/api/chaos/1.9.0?file=charts/generic/k8-pod-delete/experiments.yaml -n
@@ -182,7 +182,7 @@ spec:
- name: revert-chaos-rbac
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
- "kubectl delete -f https://hub.litmuschaos.io/api/chaos/1.9.0?file=charts/generic/k8-pod-delete/rbac.yaml -n

View File

@@ -95,7 +95,7 @@ spec:
- name: TEST_NAMESPACE
value: {{workflow.parameters.appCurrentNamespace}}
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args: ['kubectl apply -f /tmp/createChaosEngine.yaml -n {{workflow.parameters.appCurrentNamespace}} | echo "sleeping for 60s" | sleep 60 ']
@@ -145,6 +145,6 @@ spec:
- name: TEST_NAMESPACE
value: {{workflow.parameters.appCurrentNamespace}}
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args: [' sleep 20 | kubectl delete -f /tmp/deleteChaosEngine.yaml -n {{workflow.parameters.appCurrentNamespace}} | echo "sleeping for 60s" | sleep 60 ']

View File

@@ -95,7 +95,7 @@ spec:
- name: TEST_NAMESPACE
value: {{workflow.parameters.appCurrentNamespace}}
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args: ['kubectl apply -f /tmp/createChaosEngine.yaml -n {{workflow.parameters.appCurrentNamespace}} | echo "sleeping for 60s" | sleep 60 ']
@@ -145,6 +145,6 @@ spec:
- name: TEST_NAMESPACE
value: {{workflow.parameters.appCurrentNamespace}}
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args: [' sleep 20 | kubectl delete -f /tmp/deleteChaosEngine.yaml -n {{workflow.parameters.appCurrentNamespace}} | echo "sleeping for 60s" | sleep 60 ']

View File

@@ -34,7 +34,7 @@ spec:
- name: install-chaos-experiments
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
- "kubectl apply -f https://hub.litmuschaos.io/api/chaos/1.12.0?file=charts/generic/experiments.yaml -n
@@ -230,7 +230,7 @@ spec:
- name: revert-kube-proxy-chaos
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
- "kubectl delete chaosengines kube-proxy-node-cpu-hog kube-proxy-pod-memory-hog-chaos kube-proxy-pod-cpu-hog-chaos kube-proxy-node-memory-hog-chaos kube-proxy-pod-delete-chaos -n

View File

@@ -37,7 +37,7 @@ spec:
- name: install-chaos-experiments
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
- "kubectl apply -f https://hub.litmuschaos.io/api/chaos/1.12.0?file=charts/generic/experiments.yaml -n
@@ -233,7 +233,7 @@ spec:
- name: revert-kube-proxy-chaos
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
- "kubectl delete chaosengines kube-proxy-node-cpu-hog kube-proxy-pod-memory-hog-chaos kube-proxy-pod-cpu-hog-chaos kube-proxy-node-memory-hog-chaos kube-proxy-pod-delete-chaos -n

View File

@@ -100,7 +100,7 @@ spec:
labels:
name: pod-delete
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
resources:
limits:
memory: 128Mi
@@ -163,7 +163,7 @@ spec:
- name: revert-chaos
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
resources:
limits:
memory: 128Mi

View File

@@ -104,7 +104,7 @@ spec:
labels:
name: pod-delete
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
resources:
limits:
memory: 128Mi
@@ -167,7 +167,7 @@ spec:
- name: revert-chaos
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
resources:
limits:
memory: 128Mi

View File

@@ -101,7 +101,7 @@ spec:
labels:
name: node-cpu-hog
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
[
@@ -146,7 +146,7 @@ spec:
- name: revert-chaos
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
[

View File

@@ -105,7 +105,7 @@ spec:
labels:
name: node-cpu-hog
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
[
@@ -150,7 +150,7 @@ spec:
- name: revert-chaos
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
[

View File

@@ -101,7 +101,7 @@ spec:
labels:
name: node-memory-hog
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
[
@@ -146,7 +146,7 @@ spec:
- name: revert-chaos
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
[

View File

@@ -98,7 +98,7 @@ spec:
labels:
name: node-memory-hog
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
[
@@ -140,7 +140,7 @@ spec:
args: ["-file=/tmp/chaosengine.yaml","-saveName=/tmp/engine-name"]
- name: revert-chaos
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
[

View File

@@ -95,7 +95,7 @@ spec:
labels:
name: pod-cpu-hog
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
[
@@ -147,7 +147,7 @@ spec:
- name: revert-chaos
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
[

View File

@@ -99,7 +99,7 @@ spec:
labels:
name: pod-cpu-hog
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
[
@@ -151,7 +151,7 @@ spec:
- name: revert-chaos
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
[

View File

@@ -101,7 +101,7 @@ spec:
labels:
name: pod-delete
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
[
@@ -147,7 +147,7 @@ spec:
- name: revert-chaos
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
[

View File

@@ -105,7 +105,7 @@ spec:
labels:
name: pod-delete
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
[
@@ -151,7 +151,7 @@ spec:
- name: revert-chaos
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
[

View File

@@ -96,7 +96,7 @@ spec:
labels:
name: pod-memory-hog
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
[
@@ -148,7 +148,7 @@ spec:
- name: revert-chaos
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
[

View File

@@ -100,7 +100,7 @@ spec:
labels:
name: pod-memory-hog
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
[
@@ -152,7 +152,7 @@ spec:
- name: revert-chaos
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
[

View File

@@ -46,7 +46,7 @@ spec:
- name: install-chaos-experiments
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
- "kubectl apply -f https://hub.litmuschaos.io/api/chaos/master?file=charts/generic/experiments.yaml -n
@@ -438,7 +438,7 @@ spec:
- name: revert-chaos
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
[

View File

@@ -50,7 +50,7 @@ spec:
- name: install-chaos-experiments
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
- "kubectl apply -f https://hub.litmuschaos.io/api/chaos/master?file=charts/generic/experiments.yaml -n
@@ -442,7 +442,7 @@ spec:
- name: revert-chaos
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
[

View File

@@ -52,7 +52,7 @@ spec:
- name: install-chaos-experiments
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
- "kubectl apply -f https://hub.litmuschaos.io/api/chaos/master?file=charts/generic/experiments.yaml -n
@@ -435,7 +435,7 @@ spec:
- name: revert-chaos
container:
image: alpine/k8s:1.18.2
image: litmuschaos/k8s:latest
command: [sh, -c]
args:
[