# deploy/api.yamlapiVersion: apps/v1kind: Deploymentmetadata: name: api labels: app: api tier: backendspec: replicas: 3 # scale with load strategy: type: RollingUpdate template: spec: containers: - name: api image: "registry.hirael.com/api:2.4.0" ports: - containerPort: 8080 env: - name: LOG_LEVEL value: info readinessProbe: httpGet: path: /health port: 8080 resources: requests: cpu: "500m" memory: 512Mi
Editable, 31 lines. Tab inserts two spaces.