mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 19:35:49 +00:00
docs: Add TUN device
This commit is contained in:
parent
be1af35b47
commit
8b351446d9
1 changed files with 9 additions and 0 deletions
|
|
@ -28,6 +28,9 @@ spec:
|
||||||
- containerPort: 3389
|
- containerPort: 3389
|
||||||
protocol: UDP
|
protocol: UDP
|
||||||
securityContext:
|
securityContext:
|
||||||
|
capabilities:
|
||||||
|
add:
|
||||||
|
- NET_ADMIN
|
||||||
privileged: true
|
privileged: true
|
||||||
env:
|
env:
|
||||||
- name: VERSION
|
- name: VERSION
|
||||||
|
|
@ -43,6 +46,8 @@ spec:
|
||||||
name: storage
|
name: storage
|
||||||
- mountPath: /dev/kvm
|
- mountPath: /dev/kvm
|
||||||
name: dev-kvm
|
name: dev-kvm
|
||||||
|
- mountPath: /dev/net/tun
|
||||||
|
name: dev-tun
|
||||||
volumes:
|
volumes:
|
||||||
- name: storage
|
- name: storage
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
|
|
@ -50,6 +55,10 @@ spec:
|
||||||
- name: dev-kvm
|
- name: dev-kvm
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /dev/kvm
|
path: /dev/kvm
|
||||||
|
- name: dev-tun
|
||||||
|
hostPath:
|
||||||
|
path: /dev/net/tun
|
||||||
|
type: CharDevice
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue