apiVersion: apps/v1
kind: Deployment
metadata:
  name: novnc
spec:
  selector:
    matchLabels:
      app.kubernetes.io/name: novnc
      app.kubernetes.io/part-of: firefox
  template:
    metadata:
      labels:
        app.kubernetes.io/name: novnc
        app.kubernetes.io/part-of: firefox
    spec:
      containers:
      - image: docker-registry.intr/utils/novnc:master
        name: novnc
        ports:
        - containerPort: 6080
          name: http
          protocol: TCP
        env:
        - name: NOVNC_VNC
          value: "vnc:5900"
        resources:
          limits:
            cpu: 2000m
            memory: 1024Mi
          requests:
            cpu: 1000m
            memory: 512Mi
