mirror of
https://github.com/jbowdre/tailscale-docker.git
synced 2024-11-22 18:12:18 +00:00
34 lines
809 B
YAML
34 lines
809 B
YAML
|
apiVersion: apps/v1
|
||
|
kind: Deployment
|
||
|
metadata:
|
||
|
name: tailscale
|
||
|
spec:
|
||
|
selector:
|
||
|
matchLabels:
|
||
|
app: tailscale
|
||
|
template:
|
||
|
metadata:
|
||
|
labels:
|
||
|
app: tailscale
|
||
|
spec:
|
||
|
containers:
|
||
|
- name: tailscale
|
||
|
image: ghcr.io/lpasselin/tailscale-docker:latest
|
||
|
env:
|
||
|
- name: TAILSCALE_AUTH_KEY
|
||
|
value: "${TAILSCALE_AUTH_KEY:-err}"
|
||
|
- name: TAILSCALE_HOSTNAME
|
||
|
value: "tailscale-docker-k8s-simple"
|
||
|
- name: TAILSCALE_STATE_ARG
|
||
|
value: "mem:"
|
||
|
resources:
|
||
|
limits:
|
||
|
memory: "128Mi"
|
||
|
cpu: "500m"
|
||
|
- name: nginx
|
||
|
image: nginxdemos/hello
|
||
|
resources:
|
||
|
limits:
|
||
|
memory: "128Mi"
|
||
|
cpu: "500m"
|