Add Multus with Flannel and SRIOV CNI support
[iec.git] / src / foundation / scripts / cni / multus / multus-sriov-flannel / uninstall.sh
1 #!/bin/bash -ex
2 # shellcheck disable=SC1073,SC1072,SC1039,SC2059,SC2046
3
4
5 kubectl delete -f sriov-crd.yaml
6 sleep 2
7 kubectl delete -f flannel-daemonset.yml
8 sleep 5
9 kubectl delete -f multus-sriov-flannel-daemonsets.yaml
10 sleep 5
11 kubectl delete -f configMap.yaml
12 sleep 2
13
14 kubectl get node $(hostname) -o json | jq '.status.allocatable'