github.com/argoproj/argo-cd@v1.8.7/manifests/ha/base/overlays/argocd-repo-server-deployment.yaml (about)

     1  apiVersion: apps/v1
     2  kind: Deployment
     3  metadata:
     4    name: argocd-repo-server
     5  spec:
     6    replicas: 2
     7    template:
     8      spec:
     9        affinity:
    10          podAntiAffinity:
    11            requiredDuringSchedulingIgnoredDuringExecution:
    12            - labelSelector:
    13                matchLabels:
    14                  app.kubernetes.io/name: argocd-repo-server
    15              topologyKey: kubernetes.io/hostname
    16            preferredDuringSchedulingIgnoredDuringExecution:
    17            - weight: 100
    18              podAffinityTerm:
    19                labelSelector:
    20                  matchLabels:
    21                    app.kubernetes.io/name: argocd-repo-server
    22                topologyKey: failure-domain.beta.kubernetes.io/zone
    23        containers:
    24        - name: argocd-repo-server
    25          command:
    26          - uid_entrypoint.sh
    27          - argocd-repo-server
    28          - --redis
    29          - "argocd-redis-ha-haproxy:6379"