github.com/looshlee/cilium@v1.6.12/examples/kubernetes-ingress/scripts/07-install-ingress.sh (about) 1 #!/usr/bin/env bash 2 # 3 # Configures and creates kubernetes ingress controller, it will use default 4 # values from ./helpers.bash 5 ####################################### 6 7 dir=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) 8 9 source "${dir}/helpers.bash" 10 11 log "Installing ingress into kubectl cluster..." 12 13 set -e 14 15 ingress="${dir}/../deployments/guestbook/ingress" 16 17 kubectl create -f "${ingress}" || true 18 19 kubectl --namespace=kube-system get svc 20 kubectl --namespace=kube-system get pods 21 22 log "Installing ingress into kubectl cluster... DONE!"