2022-09-01 18:51:23 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: tailscale
|
|
|
|
spec:
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: tailscale
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: tailscale
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: tailscale
|
2023-12-29 18:05:55 +00:00
|
|
|
image: ghcr.io/jbowdre/tailscale-docker:latest
|
2022-09-01 18:51:23 +00:00
|
|
|
env:
|
2023-12-29 04:20:00 +00:00
|
|
|
- name: TS_AUTHKEY
|
2023-12-29 18:05:55 +00:00
|
|
|
value: "${TS_AUTHKEY:-err}"
|
2023-12-28 19:58:05 +00:00
|
|
|
- name: TS_HOSTNAME
|
2023-12-29 18:05:55 +00:00
|
|
|
value: "${TS_HOSTNAME:-ts-docker}"
|
|
|
|
- name: TS_STATEDIR
|
|
|
|
value: "/var/lib/tailscale"
|
2023-12-29 15:48:11 +00:00
|
|
|
- name: TS_SERVE_PORT
|
|
|
|
value: "${TS_SERVE_PORT:-}"
|
2023-12-29 19:43:50 +00:00
|
|
|
- name: TS_FUNNEL
|
|
|
|
value: "${TS_FUNNEL:-}"
|
2022-09-01 18:51:23 +00:00
|
|
|
resources:
|
|
|
|
limits:
|
|
|
|
memory: "128Mi"
|
|
|
|
cpu: "500m"
|
|
|
|
- name: nginx
|
|
|
|
image: nginxdemos/hello
|
|
|
|
resources:
|
|
|
|
limits:
|
|
|
|
memory: "128Mi"
|
|
|
|
cpu: "500m"
|