Stephane Barbarie | bcea2f4 | 2018-03-02 18:46:32 -0500 | [diff] [blame] | 1 | # Dashd and Shovel |
| 2 | - name: "VOLT-HA Teardown | Stop DASHD and SHOVEL" |
Stephane Barbarie | 2cbffca | 2018-03-26 16:20:03 -0400 | [diff] [blame] | 3 | command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/stats.yml |
Stephane Barbarie | bcea2f4 | 2018-03-02 18:46:32 -0500 | [diff] [blame] | 4 | run_once: true |
| 5 | |
| 6 | # Grafana |
| 7 | - name: "VOLT-HA Teardown | Stop Grafana" |
Stephane Barbarie | 2cbffca | 2018-03-26 16:20:03 -0400 | [diff] [blame] | 8 | command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/grafana.yml |
Stephane Barbarie | bcea2f4 | 2018-03-02 18:46:32 -0500 | [diff] [blame] | 9 | run_once: true |
| 10 | |
| 11 | # NETCONF |
| 12 | - name: "VOLT-HA Teardown | Stop NETCONF" |
Stephane Barbarie | 2cbffca | 2018-03-26 16:20:03 -0400 | [diff] [blame] | 13 | command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/netconf.yml |
Stephane Barbarie | bcea2f4 | 2018-03-02 18:46:32 -0500 | [diff] [blame] | 14 | run_once: true |
| 15 | |
| 16 | # Voltha CLI |
| 17 | - name: "VOLT-HA Teardown | Stop VOLT-HA CLI" |
Stephane Barbarie | 2cbffca | 2018-03-26 16:20:03 -0400 | [diff] [blame] | 18 | command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/vcli.yml |
Stephane Barbarie | bcea2f4 | 2018-03-02 18:46:32 -0500 | [diff] [blame] | 19 | run_once: true |
| 20 | |
Stephane Barbarie | 78d9fa6 | 2018-04-19 14:11:05 -0400 | [diff] [blame] | 21 | # Envoy (for etcd) |
| 22 | - name: "VOLT-HA Teardown | Stop Envoy (for etcd)" |
| 23 | command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/envoy_for_etcd.yml |
Stephane Barbarie | bcea2f4 | 2018-03-02 18:46:32 -0500 | [diff] [blame] | 24 | run_once: true |
| 25 | |
| 26 | # OFagent |
| 27 | - name: "VOLT-HA Teardown | Stop OpenFlow Agent" |
Stephane Barbarie | 2cbffca | 2018-03-26 16:20:03 -0400 | [diff] [blame] | 28 | command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/ofagent.yml |
Stephane Barbarie | bcea2f4 | 2018-03-02 18:46:32 -0500 | [diff] [blame] | 29 | run_once: true |
| 30 | |
Stephane Barbarie | 78d9fa6 | 2018-04-19 14:11:05 -0400 | [diff] [blame] | 31 | # Voltha Core (for etcd) |
| 32 | - name: "VOLT-HA Teardown | Stop VOLT-HA core (for etcd)" |
| 33 | command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/vcore_for_etcd.yml |
Stephane Barbarie | bcea2f4 | 2018-03-02 18:46:32 -0500 | [diff] [blame] | 34 | run_once: true |
| 35 | |
Stephane Barbarie | 78d9fa6 | 2018-04-19 14:11:05 -0400 | [diff] [blame] | 36 | # Etcd cluster |
| 37 | - name: "VOLT-HA Teardown | Stop etcd cluster" |
| 38 | command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/operator/etcd/etcd_cluster.yml |
| 39 | run_once: true |
| 40 | |
| 41 | # Etcd operator |
| 42 | - name: "VOLT-HA Teardown | Stop etcd operator" |
| 43 | command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/operator/etcd/operator.yml |
| 44 | run_once: true |
| 45 | |
| 46 | # Etcd cluster role binding |
| 47 | - name: "VOLT-HA Teardown | Stop etcd cluster role binding" |
| 48 | command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/operator/etcd/cluster_role_binding.yml |
| 49 | run_once: true |
| 50 | |
| 51 | # Etcd cluster role |
| 52 | - name: "VOLT-HA Teardown | Stop etcd cluster role" |
| 53 | command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/operator/etcd/cluster_role.yml |
Stephane Barbarie | bcea2f4 | 2018-03-02 18:46:32 -0500 | [diff] [blame] | 54 | run_once: true |
| 55 | |
| 56 | # Fluentd |
| 57 | - name: "VOLT-HA Teardown | Stop fluentd" |
Stephane Barbarie | 2cbffca | 2018-03-26 16:20:03 -0400 | [diff] [blame] | 58 | command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/fluentd.yml |
| 59 | run_once: true |
| 60 | |
| 61 | # Fluentd Config |
| 62 | - name: "VOLT-HA Teardown | Remove Fluentd Configuration" |
| 63 | command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/fluentd-config.yml |
Stephane Barbarie | bcea2f4 | 2018-03-02 18:46:32 -0500 | [diff] [blame] | 64 | run_once: true |
| 65 | |
| 66 | # Kafka |
| 67 | - name: "VOLT-HA Teardown | Stop kafka" |
Stephane Barbarie | 2cbffca | 2018-03-26 16:20:03 -0400 | [diff] [blame] | 68 | command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/kafka.yml |
Stephane Barbarie | bcea2f4 | 2018-03-02 18:46:32 -0500 | [diff] [blame] | 69 | run_once: true |
| 70 | |
| 71 | # Zookeeper |
| 72 | - name: "VOLT-HA Teardown | Stop zookeeper" |
Stephane Barbarie | 2cbffca | 2018-03-26 16:20:03 -0400 | [diff] [blame] | 73 | command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/zookeeper.yml |
Stephane Barbarie | bcea2f4 | 2018-03-02 18:46:32 -0500 | [diff] [blame] | 74 | run_once: true |
| 75 | |
| 76 | # Ingress |
| 77 | - name: "VOLT-HA Teardown | Stop Ingress Controller" |
Stephane Barbarie | 2cbffca | 2018-03-26 16:20:03 -0400 | [diff] [blame] | 78 | command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/ingress |
Stephane Barbarie | bcea2f4 | 2018-03-02 18:46:32 -0500 | [diff] [blame] | 79 | run_once: true |
| 80 | |
| 81 | # Namespace |
| 82 | - name: "VOLT-HA Teardown | Remove Namespace" |
Stephane Barbarie | 2cbffca | 2018-03-26 16:20:03 -0400 | [diff] [blame] | 83 | command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/namespace.yml |
Stephane Barbarie | bcea2f4 | 2018-03-02 18:46:32 -0500 | [diff] [blame] | 84 | run_once: true |