apiVersion: apps/v1
kind: Deployment
metadata:
  name: account-acl
spec:
  replicas: 3
  template:
    spec:
      affinity:
        podAntiAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
          - labelSelector:
              matchLabels:
                app: account-acl
            topologyKey: kubernetes.io/hostname
      topologySpreadConstraints:
      - maxSkew: 1
        topologyKey: topology.kubernetes.io/zone
        whenUnsatisfiable: ScheduleAnyway
        labelSelector:
          matchLabels:
            app: account-acl
      containers:
      - name: account-acl
        image: 380838443567.dkr.ecr.us-west-2.amazonaws.com/dbaas/prod/account:tag-release-v20260831-tag-cf99e9c
        resources:
          limits:
            cpu: 500m
            memory: 500Mi
          requests:
            cpu: 500m
            memory: 500Mi
