The infrastructure code to run Browsh as a Service
Thomas Buckley-Houston 24de49eefb Merge pull request #4 from andrigamerita/patch-1 | 1 year ago | |
---|---|---|
cluster | 5 years ago | |
hooks | 6 years ago | |
http-server | 5 years ago | |
ssh-server | 1 year ago | |
.browsh_version | 5 years ago | |
.gitignore | 5 years ago | |
README.md | 5 years ago | |
main.tf | 5 years ago |
Install doctl
and kubectl
. Then:
doctl kubernetes cluster kubeconfig save browsh
helm init --service-account tiller --upgrade
kubectl apply -f https://raw.githubusercontent.com/jetstack/cert-manager/release-0.8/deploy/manifests/00-crds.yaml
kubectl apply -f cluster/cert-manager.yaml
kubectl apply -f https://raw.githubusercontent.com/coreos/prometheus-operator/master/example/prometheus-operator-crd/alertmanager.crd.yaml
kubectl apply -f https://raw.githubusercontent.com/coreos/prometheus-operator/master/example/prometheus-operator-crd/prometheus.crd.yaml
kubectl apply -f https://raw.githubusercontent.com/coreos/prometheus-operator/master/example/prometheus-operator-crd/prometheusrule.crd.yaml
kubectl apply -f https://raw.githubusercontent.com/coreos/prometheus-operator/master/example/prometheus-operator-crd/servicemonitor.crd.yaml