Skip to content

Instantly share code, notes, and snippets.

@cirocosta
Created January 17, 2020 19:59
Show Gist options
  • Save cirocosta/b3533d1dd9299d846b2804ea32a86e2c to your computer and use it in GitHub Desktop.
Save cirocosta/b3533d1dd9299d846b2804ea32a86e2c to your computer and use it in GitHub Desktop.
running the concourse helm chart on microk8s
1. get `apiserver` to allow privileged
the flag `--allow-privileged` in `kube-apiserver`
(https://kubernetes.io/docs/reference/command-line-tools-reference/kube-apiserver/)
is not set to `true` by default.
concourse workers need to run as privileged though.
to configure that flag, modify `/var/snap/microk8s/current/args/kube-apiserver` adding
that flag.
that done, restart the `kube-apiserver` systemd service
sudo systemctl daemon-reload
sudo systemctl restart snap.microk8s.daemon-apiserver.service
2. get `dns`, `helm`, and `storage` set up
concourse workers use StatefulSets under the hood - `storage` is thus required.
`dns` is required for ClusterFirst DNS policy that's set by default in postgres
`helm` is required because ... `helm`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment