kind: Deployment apiVersion: apps/v1 metadata: name: argocd-redis-ha-haproxy namespace: "argocd" labels: app: redis-ha heritage: "Helm" release: "argocd" chart: redis-ha-4.34.11 component: haproxy spec: strategy: type: RollingUpdate revisionHistoryLimit: 1 replicas: 3 selector: matchLabels: app: redis-ha-haproxy release: argocd component: haproxy template: metadata: name: argocd-redis-ha-haproxy labels: app: redis-ha-haproxy release: argocd component: haproxy app.kubernetes.io/name: argocd-redis-ha-haproxy annotations: checksum/config: 41729c8b600983b574147eb778eb317992f0a620e163e58b070b159548c3f8e6 spec: serviceAccountName: argocd-redis-ha-haproxy securityContext: fsGroup: 99 runAsNonRoot: true runAsUser: 99 automountServiceAccountToken: true nodeSelector: {} tolerations: [] affinity: podAntiAffinity: requiredDuringSchedulingIgnoredDuringExecution: - labelSelector: matchLabels: app: redis-ha-haproxy release: argocd component: haproxy topologyKey: kubernetes.io/hostname initContainers: - name: config-init image: haproxy:3.3.6-alpine@sha256:744be2dca649a44d490a4c565d36968d19482dd387f1bdd44c168f4322bc6b1e imagePullPolicy: IfNotPresent resources: {} command: - sh args: - /readonly/haproxy_init.sh securityContext: allowPrivilegeEscalation: false capabilities: drop: - ALL readOnlyRootFilesystem: true runAsNonRoot: true seccompProfile: type: RuntimeDefault volumeMounts: - name: config-volume mountPath: /readonly readOnly: true - name: data mountPath: /data containers: - name: haproxy image: haproxy:3.3.6-alpine@sha256:744be2dca649a44d490a4c565d36968d19482dd387f1bdd44c168f4322bc6b1e imagePullPolicy: IfNotPresent securityContext: allowPrivilegeEscalation: false capabilities: drop: - ALL readOnlyRootFilesystem: true runAsNonRoot: true seccompProfile: type: RuntimeDefault livenessProbe: httpGet: path: /healthz port: probe initialDelaySeconds: 5 periodSeconds: 3 readinessProbe: httpGet: path: /healthz port: probe initialDelaySeconds: 5 periodSeconds: 3 ports: - name: probe containerPort: 8888 - name: redis containerPort: 6379 - name: metrics-port containerPort: 9101 resources: requests: cpu: 10m memory: 128Mi volumeMounts: - name: data mountPath: /usr/local/etc/haproxy - name: shared-socket mountPath: /run/haproxy lifecycle: {} volumes: - name: config-volume configMap: name: argocd-redis-ha-configmap - name: shared-socket emptyDir: {} - name: data emptyDir: {}