The infrastructure code to run Browsh as a Service

Thomas Buckley-Houston 24de49eefb Merge pull request #4 from andrigamerita/patch-1 %!s(int64=2) %!d(string=hai) anos
cluster 4069fa671d Lots of Kubernetes goodies %!s(int64=5) %!d(string=hai) anos
hooks ff014e3fa9 Change path to Dockerfile in hooks/build %!s(int64=6) %!d(string=hai) anos
http-server 4069fa671d Lots of Kubernetes goodies %!s(int64=5) %!d(string=hai) anos
ssh-server 8b38e2c66b Update Dockerfile for updated Browsh and Firefox %!s(int64=2) %!d(string=hai) anos
.browsh_version 4069fa671d Lots of Kubernetes goodies %!s(int64=5) %!d(string=hai) anos
.gitignore 4069fa671d Lots of Kubernetes goodies %!s(int64=5) %!d(string=hai) anos
README.md 4069fa671d Lots of Kubernetes goodies %!s(int64=5) %!d(string=hai) anos
main.tf 418bda1b3e Moved to Digital Ocean %!s(int64=5) %!d(string=hai) anos

README.md

Browsh As A Service

Setup

Install doctl and kubectl. Then:

doctl kubernetes cluster kubeconfig save browsh

Helm

helm init --service-account tiller --upgrade

Certmanager:

  • 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

Prometheus

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