blob: 10fb8562c99f5022220f7a00dfd10558396f4602 [file] [log] [blame]
Stephane Barbariebcea2f42018-03-02 18:46:32 -05001# Dashd and Shovel
2- name: "VOLT-HA Teardown | Stop DASHD and SHOVEL"
Stephane Barbarie2cbffca2018-03-26 16:20:03 -04003 command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/stats.yml
Stephane Barbariebcea2f42018-03-02 18:46:32 -05004 run_once: true
5
6# Grafana
7- name: "VOLT-HA Teardown | Stop Grafana"
Stephane Barbarie2cbffca2018-03-26 16:20:03 -04008 command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/grafana.yml
Stephane Barbariebcea2f42018-03-02 18:46:32 -05009 run_once: true
10
11# NETCONF
12- name: "VOLT-HA Teardown | Stop NETCONF"
Stephane Barbarie2cbffca2018-03-26 16:20:03 -040013 command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/netconf.yml
Stephane Barbariebcea2f42018-03-02 18:46:32 -050014 run_once: true
15
16# Voltha CLI
17- name: "VOLT-HA Teardown | Stop VOLT-HA CLI"
Stephane Barbarie2cbffca2018-03-26 16:20:03 -040018 command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/vcli.yml
Stephane Barbariebcea2f42018-03-02 18:46:32 -050019 run_once: true
20
21# Envoy (for consul)
22- name: "VOLT-HA Teardown | Stop Envoy (for consul)"
Stephane Barbarie2cbffca2018-03-26 16:20:03 -040023 command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/envoy_for_consul.yml
Stephane Barbariebcea2f42018-03-02 18:46:32 -050024 run_once: true
25
26# OFagent
27- name: "VOLT-HA Teardown | Stop OpenFlow Agent"
Stephane Barbarie2cbffca2018-03-26 16:20:03 -040028 command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/ofagent.yml
Stephane Barbariebcea2f42018-03-02 18:46:32 -050029 run_once: true
30
31# Voltha Core (for consul)
32- name: "VOLT-HA Teardown | Stop VOLT-HA core (for consul)"
Stephane Barbarie2cbffca2018-03-26 16:20:03 -040033 command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/vcore_for_consul.yml
Stephane Barbariebcea2f42018-03-02 18:46:32 -050034 run_once: true
35
36# Consul
37- name: "VOLT-HA Teardown | Stop consul"
Stephane Barbarie2cbffca2018-03-26 16:20:03 -040038 command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/consul.yml
Stephane Barbariebcea2f42018-03-02 18:46:32 -050039 run_once: true
40
41# Fluentd
42- name: "VOLT-HA Teardown | Stop fluentd"
Stephane Barbarie2cbffca2018-03-26 16:20:03 -040043 command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/fluentd.yml
44 run_once: true
45
46# Fluentd Config
47- name: "VOLT-HA Teardown | Remove Fluentd Configuration"
48 command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/fluentd-config.yml
Stephane Barbariebcea2f42018-03-02 18:46:32 -050049 run_once: true
50
51# Kafka
52- name: "VOLT-HA Teardown | Stop kafka"
Stephane Barbarie2cbffca2018-03-26 16:20:03 -040053 command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/kafka.yml
Stephane Barbariebcea2f42018-03-02 18:46:32 -050054 run_once: true
55
56# Zookeeper
57- name: "VOLT-HA Teardown | Stop zookeeper"
Stephane Barbarie2cbffca2018-03-26 16:20:03 -040058 command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/zookeeper.yml
Stephane Barbariebcea2f42018-03-02 18:46:32 -050059 run_once: true
60
61# Ingress
62- name: "VOLT-HA Teardown | Stop Ingress Controller"
Stephane Barbarie2cbffca2018-03-26 16:20:03 -040063 command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/ingress
Stephane Barbariebcea2f42018-03-02 18:46:32 -050064 run_once: true
65
66# Namespace
67- name: "VOLT-HA Teardown | Remove Namespace"
Stephane Barbarie2cbffca2018-03-26 16:20:03 -040068 command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/namespace.yml
Stephane Barbariebcea2f42018-03-02 18:46:32 -050069 run_once: true