41 lines
834 B
YAML
41 lines
834 B
YAML
apiVersion: batch/v1
|
|
kind: Job
|
|
metadata:
|
|
name: ungleich-firefox-java-vnc
|
|
spec:
|
|
template:
|
|
spec:
|
|
restartPolicy: Never
|
|
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-vnc2
|
|
# labels:
|
|
# app: ungleich-firefox-java-vnc2
|
|
# spec:
|
|
# type: ClusterIP
|
|
# ports:
|
|
# - port: 5900
|
|
# name: vnc
|
|
# selector:
|
|
# app: ungleich-firefox-java-vnc2
|