apiVersion: apps/v1 kind: Deployment metadata: name: portfolio namespace: portfolio spec: replicas: 1 selector: matchLabels: app: portfolio template: metadata: labels: app: portfolio spec: containers: - name: nginx image: nginx:alpine ports: - containerPort: 80 volumeMounts: - name: html mountPath: /usr/share/nginx/html readinessProbe: httpGet: path: / port: 80 initialDelaySeconds: 3 periodSeconds: 10 resources: requests: cpu: 10m memory: 16Mi limits: cpu: 100m memory: 64Mi volumes: - name: html configMap: name: portfolio-html