firefox-java-vnc/deployment.yaml
2022-08-20 23:13:19 +02:00

46 lines
929 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: ungleich-firefox-java-vnc
spec:
selector:
matchLabels:
app: ungleich-firefox-java-vnc
replicas: 1
template:
metadata:
labels:
app: ungleich-firefox-java-vnc
spec:
containers:
- name: firefox
image: ungleich/firefox-java-vnc:0.0.1
imagePullPolicy: Always
volumeMounts:
- mountPath: /dev/shm
name: cache-volume
securityContext:
privileged: true
capabilities:
add: ["SYS_ADMIN" ]
volumes:
- emptyDir:
medium: Memory
sizeLimit: 2Gi
name: cache-volume
---
apiVersion: v1
kind: Service
metadata:
name: ungleich-firefox-java-vnc
labels:
app: ungleich-firefox-java-vnc
spec:
type: ClusterIP
ports:
- port: 5900
name: vnc
selector:
app: ungleich-firefox-java-vnc