Created
September 12, 2018 04:31
-
-
Save shashidharatd/820727ebd9f72414934d55296e89bd64 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export NS="federation-system" | |
kubectl -n ${NS} run etcd --image=quay.io/coreos/etcd:v3.3 --env="ETCD_LISTEN_CLIENT_URLS=http://0.0.0.0:2379" --env="ETCD_ADVERTISE_CLIENT_URLS=http://etcd.${NS}:2379" --port=2379 --expose | |
helm install --namespace ${NS} --name andromeda -f /root/gopath/src/github.com/shashidharatd/federation-dns/docs/dns/config/coredns-chart-values.yaml stable/coredns | |
helm install --namespace ${NS} --name whirlpool -f /root/gopath/src/github.com/shashidharatd/federation-dns/docs/dns/config/external-dns-chart-values.yaml stable/external-dns | |
global_dns_server=$(kubectl -n ${NS} get svc andromeda-coredns -o jsonpath={.status.loadBalancer.ingress[0].ip}) | |
kubectl apply -f /root/gopath/src/github.com/shashidharatd/federation-dns/docs/federatedapp | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment