18 lines
452 B
Bash
Executable File
18 lines
452 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -xe
|
|
|
|
cd ~/infra || exit
|
|
|
|
kubectl apply -f kubes/dns/flannel.yaml
|
|
kubectl apply -f kubes/dns/kube-dns.yaml
|
|
|
|
./kubes/cni/install.sh
|
|
|
|
kubectl patch deployment coredns -n kube-system --type json --patch "$(cat kubes/dns/coredns-tolerations.json)"
|
|
kubectl patch deployment calico-kube-controllers -n kube-system --type json --patch "$(cat kubes/dns/coredns-tolerations.json)"
|
|
|
|
./kubes/metallb/install.sh
|
|
|
|
./kubes/ingress/install.sh
|
|
|