helm/vintage-os/base/deployment.yaml

64 lines
1.5 KiB
YAML
Raw Normal View History

2022-10-19 06:00:00 +00:00
kind: Deployment
apiVersion: apps/v1
metadata:
name: qemu-
spec:
selector:
matchLabels:
app: qemu-
template:
metadata:
labels:
app: qemu-
spec:
imagePullSecrets:
- name: docker-ghcr
containers:
- name: qemu
image: system
env:
- name: ADDITIONAL_ARGS
value: '-enable-kvm'
ports:
- containerPort: 5900
name: vnc
volumeMounts:
- mountPath: /tmp
name: pipe
resources:
requests:
memory: 192Mi
cpu: 100m
smarter-devices/kvm: 1
limits:
memory: 1Gi
cpu: '1'
smarter-devices/kvm: 1
readinessProbe:
tcpSocket:
port: vnc
periodSeconds: 10
successThreshold: 1
failureThreshold: 3
livenessProbe:
tcpSocket:
port: vnc
initialDelaySeconds: 5
periodSeconds: 10
successThreshold: 1
failureThreshold: 3
lifecycle:
postStart:
exec:
command:
- sleep
- '1'
- name: audioserver
image: tonychee7000/pulseaudio
resources:
limits:
cpu: 200m
memory: 128Mi
ports:
- name: audio
containerPort: 4713