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