The infrastructure code to run Browsh as a Service
Thomas Buckley-Houston 24de49eefb Merge pull request #4 from andrigamerita/patch-1 | 2 gadi atpakaļ | |
---|---|---|
cluster | 5 gadi atpakaļ | |
hooks | 6 gadi atpakaļ | |
http-server | 5 gadi atpakaļ | |
ssh-server | 2 gadi atpakaļ | |
.browsh_version | 5 gadi atpakaļ | |
.gitignore | 5 gadi atpakaļ | |
README.md | 5 gadi atpakaļ | |
main.tf | 5 gadi atpakaļ |
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