apiVersion: apps/v1 kind: Deployment metadata: name: heartbeat-pwa namespace: josie-health spec: replicas: 1 selector: matchLabels: app: heartbeat-pwa template: metadata: labels: app: heartbeat-pwa spec: containers: - name: httpd image: registry.redhat.io/ubi9/httpd-24:latest ports: - containerPort: 8080 volumeMounts: - name: pwa-files mountPath: /var/www/html - name: pwa-icons mountPath: /var/www/html/icons resources: requests: memory: "32Mi" cpu: "50m" limits: memory: "64Mi" cpu: "100m" volumes: - name: pwa-files configMap: name: heartbeat-pwa-files - name: pwa-icons configMap: name: heartbeat-pwa-icons --- apiVersion: v1 kind: Service metadata: name: heartbeat-pwa namespace: josie-health spec: selector: app: heartbeat-pwa ports: - name: http protocol: TCP port: 8080 targetPort: 8080 type: ClusterIP