# sources
> note: k0s never works as well as you think
nix instructions:
## tailscale operator
```
helm repo add tailscale https://pkgs.tailscale.com/helmcharts
helm repo update
helm upgrade \
--install \
tailscale-operator \
tailscale/tailscale-operator \
--namespace=tailscale \
--create-namespace \
--set-string oauth.clientId="" \
--set-string oauth.clientSecret="" \
--wait
```
Currently clouflare domains cannot be CNAME'd to tailscale domains:
-
- related, different IP addresses:
## Kubernetes ingress controller
```
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.12.0/deploy/static/provider/baremetal/deploy.yaml
``
I'll need to create a custom service to bring in port 80 and 443 later
```
helm upgrade --install ingress-nginx ingress-nginx \
--repo https://kubernetes.github.io/ingress-nginx \
--namespace ingress-nginx \
--create-namespace \
-f values.yml
```