--- apiVersion: apps/v1 kind: Deployment metadata: name: collections-api spec: replicas: 1 selector: matchLabels: app: collections-api strategy: rollingUpdate: maxSurge: 25% maxUnavailable: 25% type: RollingUpdate template: metadata: labels: app: collections-api spec: volumes: [] containers: - name: collections-api env: [] volumeMounts: [] image: collections-api resources: limits: memory: "1536Mi" cpu: "500m" ports: - containerPort: 80 livenessProbe: initialDelaySeconds: 5 periodSeconds: 5 httpGet: path: /api/status port: 80 readinessProbe: initialDelaySeconds: 5 periodSeconds: 5 httpGet: path: /api/status port: 80