6f7698151b2965a3c25e6049ad4a5fec37ecdc09
[iec.git] / src / foundation / scripts / cni / multus / latest / uninstall.sh
1 #!/bin/bash
2 # shellcheck disable=SC1073,SC1072,SC1039,SC2059,SC2046
3 set -x
4
5 kubectl delete -f sriov-crd.yaml
6 sleep 2
7 kubectl delete -f sriov-cni-daemonset.yaml
8 sleep 2
9 kubectl delete -f calico.yaml
10 sleep 5
11
12 kubectl delete -f sriovdp-daemonset.yaml
13 sleep 2
14 kubectl delete -f multus-daemonset.yml
15 sleep 2
16
17 kubectl delete -f configMap.yaml
18 sleep 2
19
20 kubectl get node $(hostname) -o json | jq '.status.allocatable' || true
21 kubectl get pods --all-namespaces