| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: xgl
- spec:
- replicas: 1
- selector:
- matchLabels:
- app: xgl
- template:
- metadata:
- labels:
- app: xgl
- spec:
- hostname: xgl
- containers:
- - name: xgl
- image: ehfd/nvidia-glx-desktop:latest
- env:
- - name: TZ
- value: "UTC"
- - name: SIZEW
- value: "1920"
- - name: SIZEH
- value: "1080"
- - name: CDEPTH
- value: "24"
- - name: SHARED
- value: "TRUE"
- - name: PASSWD
- value: "mypasswd"
- # valueFrom:
- # secretKeyRef:
- # name: xgl-pass
- # key: xgl-pass
- - name: VIDEO_PORT
- value: "DFP"
- stdin: true
- tty: true
- ports:
- - containerPort: 8080
- protocol: TCP
- resources:
- limits:
- memory: 64Gi
- cpu: "16"
- nvidia.com/gpu: 1
- requests:
- memory: 100Mi
- cpu: 100m
- volumeMounts:
- - mountPath: /dev/shm
- name: dshm
- - mountPath: /cache
- name: xgl-cache-vol
- - mountPath: /home/user
- name: xgl-root-vol
- volumes:
- - name: dshm
- emptyDir:
- medium: Memory
- - name: xgl-cache-vol
- emptyDir: {}
- # persistentVolumeClaim:
- # claimName: xgl-cache-vol
- - name: xgl-root-vol
- emptyDir: {}
- # persistentVolumeClaim:
- # claimName: xgl-root-vol
|