21 lines
790 B
Bash
Executable File
21 lines
790 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -xe
|
|
cd $GOPATH/src/mlog || exit
|
|
#parallel -a ./infra/groups/workers ./scripts/deploy/kube_worker.sh -n {} -r worker
|
|
#parallel -a ./infra/groups/compute ./scripts/deploy/kube_worker.sh -n {} -r compute
|
|
|
|
kubectl apply -f infra/kubes/dns/flannel.yaml
|
|
kubectl apply -f infra/kubes/dns/kube-dns.yaml
|
|
|
|
./infra/kubes/cni/install.sh
|
|
|
|
kubectl patch deployment coredns -n kube-system --type json --patch "$(cat infra/kubes/dns/coredns-tolerations.json)"
|
|
kubectl patch deployment calico-kube-controllers -n kube-system --type json --patch "$(cat infra/kubes/dns/coredns-tolerations.json)"
|
|
|
|
./infra/kubes/metallb/install.sh
|
|
|
|
./infra/kubes/ingress/install.sh
|
|
|
|
kubectl apply -f infra/kubes/proofofconcept/poc-deployment.yaml
|
|
./infra/kubes/proofofconcept/create-registry-secret.sh
|