aboutsummaryrefslogtreecommitdiff
path: root/helm/templates/deployment.yaml
diff options
context:
space:
mode:
authorsickcodes <[email protected]>2021-01-15 21:32:36 +0700
committerGitHub <[email protected]>2021-01-15 21:32:36 +0700
commit5bce52440a57f8804bab8a78787a42508b29ca92 (patch)
tree0dc840c6a7d73cbbc5d5e0a75609958593d026fe /helm/templates/deployment.yaml
parentUp README with Kubernetes Helm Chart link @ ./helm. (diff)
parentupdate to reflect more latest changes (diff)
downloaddocker-osx-5bce52440a57f8804bab8a78787a42508b29ca92.tar.xz
docker-osx-5bce52440a57f8804bab8a78787a42508b29ca92.zip
Merge pull request #125 from cephasara/master
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