blob: 1f99f6a3f1ea6f388f002bd907da18cd06dea17f [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
Stephane Barbarie78d9fa62018-04-19 14:11:05 -040021# 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 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
Stephane Barbarie78d9fa62018-04-19 14:11:05 -040031# 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 Barbariebcea2f42018-03-02 18:46:32 -050034 run_once: true
35
Stephane Barbarie78d9fa62018-04-19 14:11:05 -040036# 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 Barbariebcea2f42018-03-02 18:46:32 -050054 run_once: true
55
56# Fluentd
57- name: "VOLT-HA Teardown | Stop fluentd"
Stephane Barbarie2cbffca2018-03-26 16:20:03 -040058 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 Barbariebcea2f42018-03-02 18:46:32 -050064 run_once: true
65
66# Kafka
67- name: "VOLT-HA Teardown | Stop kafka"
Stephane Barbarie2cbffca2018-03-26 16:20:03 -040068 command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/kafka.yml
Stephane Barbariebcea2f42018-03-02 18:46:32 -050069 run_once: true
70
71# Zookeeper
72- name: "VOLT-HA Teardown | Stop zookeeper"
Stephane Barbarie2cbffca2018-03-26 16:20:03 -040073 command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/zookeeper.yml
Stephane Barbariebcea2f42018-03-02 18:46:32 -050074 run_once: true
75
76# Ingress
77- name: "VOLT-HA Teardown | Stop Ingress Controller"
Stephane Barbarie2cbffca2018-03-26 16:20:03 -040078 command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/ingress
Stephane Barbariebcea2f42018-03-02 18:46:32 -050079 run_once: true
80
81# Namespace
82- name: "VOLT-HA Teardown | Remove Namespace"
Stephane Barbarie2cbffca2018-03-26 16:20:03 -040083 command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/namespace.yml
Stephane Barbariebcea2f42018-03-02 18:46:32 -050084 run_once: true