The infrastructure code to run Browsh as a Service
Thomas Buckley-Houston 24de49eefb Merge pull request #4 from andrigamerita/patch-1 | пре 2 година | |
---|---|---|
cluster | пре 5 година | |
hooks | пре 6 година | |
http-server | пре 5 година | |
ssh-server | пре 2 година | |
.browsh_version | пре 5 година | |
.gitignore | пре 5 година | |
README.md | пре 5 година | |
main.tf | пре 5 година |
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