Update kubernetes.yml

Updates default machine specs, to following and adds /dev/net/tun:

- RAM: 8GB
- CPU Cores: 8
- Disk size: 512GB
- Windows Edition: Windows 11 Enterprise
This commit is contained in:
Alice King Tai Poon 潘景泰 2024-07-17 15:07:35 +08:00 committed by GitHub
parent 76f19d373f
commit aee90bde21
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -30,17 +30,21 @@ spec:
securityContext:
privileged: true
env:
- name: VERSION
value: "win11e"
- name: RAM_SIZE
value: 4G
value: 8G
- name: CPU_CORES
value: "2"
value: "8"
- name: DISK_SIZE
value: "64G"
value: "512G"
volumeMounts:
- mountPath: /storage
name: storage
- mountPath: /dev/kvm
name: dev-kvm
- mountPath: /dev/net/tun
name: dev-net-tun
volumes:
- name: storage
persistentVolumeClaim:
@ -48,6 +52,9 @@ spec:
- name: dev-kvm
hostPath:
path: /dev/kvm
- name: dev-net-tun
hostPath:
path: /dev/net/tun
---
apiVersion: v1
kind: Service