aboutsummaryrefslogtreecommitdiff
path: root/helm/values.yaml
diff options
context:
space:
mode:
authorpeter <[email protected]>2021-01-12 20:26:19 -0800
committerpeter <[email protected]>2021-01-12 20:26:19 -0800
commitb28dd7051782ceb87dadede8676cb7a88dc28881 (patch)
treeddcb6876e1b2cf9525dccc4e6855e7bb065427a4 /helm/values.yaml
parentUse IMAGE_PATH as a variable during envsubst for the full path of mac_hdd_ng.img (diff)
downloaddocker-osx-b28dd7051782ceb87dadede8676cb7a88dc28881.tar.xz
docker-osx-b28dd7051782ceb87dadede8676cb7a88dc28881.zip
add helm chart for running in Kubernetes
Diffstat (limited to 'helm/values.yaml')
-rw-r--r--helm/values.yaml106
1 files changed, 106 insertions, 0 deletions
diff --git a/helm/values.yaml b/helm/values.yaml
new file mode 100644
index 0000000..44193dd
--- /dev/null
+++ b/helm/values.yaml
@@ -0,0 +1,106 @@
+# This is a YAML-formatted file.
+# Declare variables to be passed into your templates.
+
+replicaCount: 1
+
+image:
+ repository: sickcodes/docker-osx-vnc
+ tag: latest
+ pullPolicy: IfNotPresent
+
+# Please note, this must be a directory name within `/system_image` mounted at the bottom in extraVolumeMounts
+serverName: server
+
+# SMBIOS settings (please be sure to update these as to use something unique for iServices)
+configPlist:
+ SystemProductName: iMacPro1,1
+ MLB: D25338500GUF8YLJA
+ SystemSerialNumber: D25LF7ZEF8JC
+ SystemUUID: 139C94D6-A533-47D2-874F-D365BFD8B047
+
+# This defines QEMU and virtlo parameters
+qemu:
+ cpu: Penryn,vendor=GenuineIntel,+hypervisor,+invtsc,kvm=on,+fma,+avx,+avx2,+aes,+ssse3,+sse4_2,+popcnt,+sse4a,+bmi1,+bmi2
+ diskSize: 128G
+ audio:
+ enabled: true
+ driver: alsa
+ netdev:
+ extraArgs:
+
+# Password for accessing vm over vnc
+vnc:
+ password: updateme
+
+nameOverride: ""
+fullnameOverride: ""
+
+service:
+ type: LoadBalancer
+ ip: 192.168.1.10
+ targetPort: 50922
+ port: 10022
+
+ingress:
+ enabled: false
+ annotations: {}
+ # kubernetes.io/ingress.class: nginx
+ # kubernetes.io/tls-acme: "true"
+ paths:
+ - /
+ hosts:
+ - docker-osx.local
+ tls: []
+ # - secretName: chart-example-tls
+ # hosts:
+ # - chart-example.local
+
+# Note: seems that host needs around x5 the cpu and x8 memory limits allocated to MacOS
+# when under load. This may be due to my personal hardware or inefficencies such as
+# software GPU rendering. Otherwise the pod will be killed due to OOMing.
+#
+# Warning: do not perform unit conversion on cpu and memory requests, as these units
+# are tied qemu and virtio settings. Also, only use intergers for cpu requests.
+resources:
+ limits:
+ cpu: 10
+ memory: 33554Mi
+ requests:
+ cpu: 2
+ memory: 4096Mi
+
+nodeSelector: {}
+
+tolerations: []
+
+affinity: {}
+
+persistence:
+ data:
+ enabled: false
+ ## configuration data Persistent Volume Storage Class
+ ## If defined, storageClassName: <storageClass>
+ ## If set to "-", storageClassName: "", which disables dynamic provisioning
+ ## If undefined (the default) or set to null, no storageClassName spec is
+ ## set, choosing the default provisioner. (gp2 on AWS, standard on
+ ## GKE, AWS & OpenStack)
+ ##
+ # storageClass: "-"
+ ##
+ ## If you want to reuse an existing claim, you can pass the name of the PVC using
+ ## the existingClaim variable
+ existingClaim: docker-osx
+ accessMode: ReadWriteOnce
+ size: 5Gi
+
+# Any extra volumes to define for the pod
+extraVolumes:
+ - name: data
+ hostPath:
+ path: /mnt/data/default/docker_osx/
+ type: DirectoryOrCreate
+
+# Any extra volume mounts to define for the containers
+extraVolumeMounts:
+ - name: data
+ mountPath: /system_image