aboutsummaryrefslogtreecommitdiff
path: root/helm/templates/deployment.yaml
diff options
context:
space:
mode:
authorpeter <[email protected]>2021-01-14 21:56:20 -0800
committerpeter <[email protected]>2021-01-14 21:56:20 -0800
commit1fcd56339fcfd0061856d199e2a11bf67a180c42 (patch)
treecd0231048fc9b57a0612ca26befce462a15eb56b /helm/templates/deployment.yaml
parentupdate doc with features (diff)
downloaddocker-osx-1fcd56339fcfd0061856d199e2a11bf67a180c42.tar.xz
docker-osx-1fcd56339fcfd0061856d199e2a11bf67a180c42.zip
fix helm initial disk creation process and add installation instructions
Diffstat (limited to 'helm/templates/deployment.yaml')
-rw-r--r--helm/templates/deployment.yaml15
1 files changed, 13 insertions, 2 deletions
diff --git a/helm/templates/deployment.yaml b/helm/templates/deployment.yaml
index e22daed..87c33d1 100644
--- a/helm/templates/deployment.yaml
+++ b/helm/templates/deployment.yaml
@@ -38,9 +38,15 @@ spec:
livenessProbe:
tcpSocket:
port: http
+ {{- if .Values.qemu.systemInstaller.downloadDelay }}
+ initialDelaySeconds: {{ .Values.qemu.systemInstaller.downloadDelay }}
+ {{- end }}
readinessProbe:
tcpSocket:
port: http
+ {{- if .Values.qemu.systemInstaller.downloadDelay }}
+ initialDelaySeconds: {{ .Values.qemu.systemInstaller.downloadDelay }}
+ {{- end }}
env:
- name: CORES
value: "{{ .Values.resources.requests.cpu }}"
@@ -65,11 +71,14 @@ spec:
- mountPath: /home/arch/OSX-KVM/vncpasswd_file
subPath: vncpasswd_file
name: boot-components
+ - mountPath: /etc/security/limits.conf
+ subPath: limits.conf
+ name: boot-components
- mountPath: /dev/kvm
name: kvm
- mountPath: /dev/net/tun
name: tun
- - mountPath: /dev/vfio/vfio
+ - mountPath: /dev/vfio
name: vfio
- mountPath: /dev/snd
name: snd
@@ -95,6 +104,8 @@ spec:
path: Launch_custom.sh
- key: vncpasswd_file
path: vncpasswd_file
+ - key: limits.conf
+ path: limits.conf
- name: kvm
hostPath:
path: /dev/kvm
@@ -103,7 +114,7 @@ spec:
path: /dev/net/tun
- name: vfio
hostPath:
- path: /dev/vfio/vfio
+ path: /dev/vfio
- name: snd
hostPath:
path: /dev/snd