apiVersion: apps/v1 kind: Deployment metadata: namespace: emc name: stream-site-public labels: app: nginx type: stream-site tier: live stream: public spec: replicas: 1 selector: matchLabels: app: nginx type: stream-site tier: live stream: public strategy: type: Recreate revisionHistoryLimit: 5 template: metadata: labels: app: nginx type: stream-site tier: live stream: public spec: nodeName: emc-00 securityContext: runAsUser: 990 fsGroup: 990 containers: - name: nginx image: registry.gitlab.com/spreadspace/docker/nginx:2022-06-12.26 imagePullPolicy: Always args: - nginx - -c - /srv/config/nginx.conf - -g - "daemon off;" volumeMounts: - name: nginx-lib mountPath: /var/lib/nginx - name: nginx-config mountPath: /srv/config - name: www mountPath: /srv/www volumes: - name: nginx-lib emptyDir: medium: Memory - name: nginx-config configMap: name: stream-site-public - name: www hostPath: type: Directory path: /srv/www/stream-site-emc