blob: d9f2634ba952b50d1c8ed7addbe4c87de736ba12 [file] [log] [blame]
# Copyright 2017-present Open Networking Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Dashd and Shovel
- name: "VOLT-HA Teardown | Stop DASHD and SHOVEL"
command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/stats.yml
run_once: true
# Grafana
- name: "VOLT-HA Teardown | Stop Grafana"
command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/grafana.yml
run_once: true
# NETCONF
- name: "VOLT-HA Teardown | Stop NETCONF"
command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/netconf.yml
run_once: true
# Voltha CLI
- name: "VOLT-HA Teardown | Stop VOLT-HA CLI"
command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/vcli.yml
run_once: true
# Envoy (for etcd)
- name: "VOLT-HA Teardown | Stop Envoy (for etcd)"
command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/envoy_for_etcd.yml
run_once: true
# OFagent
- name: "VOLT-HA Teardown | Stop OpenFlow Agent"
command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/ofagent.yml
run_once: true
# Voltha Core (for etcd)
- name: "VOLT-HA Teardown | Stop VOLT-HA core (for etcd)"
command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/vcore_for_etcd.yml
run_once: true
# Etcd cluster
- name: "VOLT-HA Teardown | Stop etcd cluster"
command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/operator/etcd/etcd_cluster.yml
run_once: true
# Etcd operator
- name: "VOLT-HA Teardown | Stop etcd operator"
command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/operator/etcd/operator.yml
run_once: true
# Etcd cluster role binding
- name: "VOLT-HA Teardown | Stop etcd cluster role binding"
command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/operator/etcd/cluster_role_binding.yml
run_once: true
# Etcd cluster role
- name: "VOLT-HA Teardown | Stop etcd cluster role"
command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/operator/etcd/cluster_role.yml
run_once: true
# Fluentd
- name: "VOLT-HA Teardown | Stop fluentd"
command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/fluentd.yml
run_once: true
# Fluentd Config
- name: "VOLT-HA Teardown | Remove Fluentd Configuration"
command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/fluentd-config.yml
run_once: true
# Kafka
- name: "VOLT-HA Teardown | Stop kafka"
command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/kafka.yml
run_once: true
# Zookeeper
- name: "VOLT-HA Teardown | Stop zookeeper"
command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/zookeeper.yml
run_once: true
# Ingress
- name: "VOLT-HA Teardown | Stop Ingress Controller"
command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/ingress
run_once: true
# Namespace
- name: "VOLT-HA Teardown | Remove Namespace"
command: kubectl delete --ignore-not-found=true -f {{ target_voltha_home }}/k8s/namespace.yml
run_once: true