apiVersion: apps/v1 kind: Deployment metadata: name: pwa namespace: ordinarthur-os spec: replicas: 1 selector: { matchLabels: { app: pwa } } template: metadata: { labels: { app: pwa } } spec: imagePullSecrets: - name: gitea-registry containers: - name: pwa image: git.arthurbarre.fr/ordinarthur/ordinarthur-os-pwa:latest imagePullPolicy: Always ports: [{ containerPort: 80 }] readinessProbe: httpGet: { path: /, port: 80 } initialDelaySeconds: 3 periodSeconds: 10 resources: requests: { cpu: 20m, memory: 32Mi } limits: { cpu: 100m, memory: 128Mi } --- apiVersion: v1 kind: Service metadata: name: pwa namespace: ordinarthur-os spec: type: NodePort selector: { app: pwa } ports: - port: 80 targetPort: 80 nodePort: 30099