apiVersion: apps/v1 kind: Deployment metadata: name: aurask-web namespace: aurask spec: replicas: 1 selector: matchLabels: app: aurask-web template: metadata: labels: app: aurask-web spec: imagePullSecrets: - name: devcloud-registry containers: - name: web image: registry.mydevcloud.love/devcloud/aurask-web:latest imagePullPolicy: Always ports: - containerPort: 80 name: http readinessProbe: httpGet: path: / port: http initialDelaySeconds: 5 periodSeconds: 10 livenessProbe: httpGet: path: / port: http initialDelaySeconds: 15 periodSeconds: 20 resources: requests: cpu: 100m memory: 128Mi limits: cpu: 500m memory: 256Mi --- apiVersion: v1 kind: Service metadata: name: aurask-web namespace: aurask spec: selector: app: aurask-web ports: - name: http port: 80 targetPort: 80