Skip to content

Commit

Permalink
Delete Daemonsets after completion of task (#1076)
Browse files Browse the repository at this point in the history
Signed-off-by: Amit Bhatt <[email protected]>
  • Loading branch information
amitbhatt818 authored and Chandan Kumar committed Jan 7, 2020
1 parent 8255601 commit 1a7987b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chaoslib/litmus/platform/gke/pod_cpu_consumption.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@

## DELETING THE DAEMONSET
- name: Deleting the Cpu Hog DaemonSet
shell: kubectl delete ds -l app=cpu-hog
shell: kubectl delete -f /chaoslib/litmus/platform/gke/cpu-hog-daemonset.yml {{ a_ns }}
args:
executable: /bin/bash

Expand All @@ -101,7 +101,7 @@

- name: Deleting the Cpu Hog DaemonSet
shell: >
kubectl delete ds -l app=cpu-hog
kubectl delete -f /chaoslib/litmus/platform/gke/cpu-hog-daemonset.yml {{ a_ns }}
args:
executable: /bin/bash
when: "cpu_hog_ds_result is succeeded"
Expand Down

0 comments on commit 1a7987b

Please sign in to comment.