The infrastructure code to run Browsh as a Service
|
|
2 years ago | |
|---|---|---|
| cluster | 6 years ago | |
| hooks | 7 years ago | |
| http-server | 6 years ago | |
| ssh-server | 2 years ago | |
| .browsh_version | 6 years ago | |
| .gitignore | 6 years ago | |
| README.md | 6 years ago | |
| main.tf | 6 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.yamlkubectl 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