Skip to content

Commit 418304c

Browse files
authored
fix: tailscale dev net (#668)
1 parent 773d04b commit 418304c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

monitor/victoria-metrics/stateful-set.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ spec:
4444
emptyDir: {}
4545
- name: tailscale-socket
4646
emptyDir: {}
47+
- name: tailscale-net
48+
hostPath:
49+
path: /dev/net/tun
50+
type: CharDevice
4751

4852
containers:
4953
- name: victoria-metrics
@@ -96,6 +100,8 @@ spec:
96100
mountPath: /var/lib/tailscale
97101
- name: tailscale-socket
98102
mountPath: /var/run/tailscale
103+
- name: tailscale-net
104+
mountPath: /dev/net/tun
99105
env:
100106
- name: TS_KUBE_SECRET
101107
value: ""

0 commit comments

Comments
 (0)