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
|
||||
protocol: UDP
|
||||
securityContext:
|
||||
capabilities:
|
||||
add:
|
||||
- NET_ADMIN
|
||||
privileged: true
|
||||
env:
|
||||
- name: VERSION
|
||||
|
|
@ -43,6 +46,8 @@ spec:
|
|||
name: storage
|
||||
- mountPath: /dev/kvm
|
||||
name: dev-kvm
|
||||
- mountPath: /dev/net/tun
|
||||
name: dev-tun
|
||||
volumes:
|
||||
- name: storage
|
||||
persistentVolumeClaim:
|
||||
|
|
@ -50,6 +55,10 @@ spec:
|
|||
- name: dev-kvm
|
||||
hostPath:
|
||||
path: /dev/kvm
|
||||
- name: dev-tun
|
||||
hostPath:
|
||||
path: /dev/net/tun
|
||||
type: CharDevice
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue