summaryrefslogtreecommitdiffstats
path: root/ci/kubernetes/post-install.sh
blob: 104f97945cb21a5271524f03b7c29d2bf022b6f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash
set -ex

if [[ $1 == *"multus"* ]]; then
    /snap/bin/kubectl apply -f kubernetes/kube_cni_multus.yml
fi

/snap/bin/kubectl apply -f kubernetes/nginx-app.yaml
/snap/bin/kubectl cluster-info
/snap/bin/kubectl get nodes
/snap/bin/kubectl get pods --all-namespaces
/snap/bin/kubectl get services,endpoints,ingress --all-namespaces