apiVersion: apps/v1 kind: Deployment metadata: name: csi-hhc-ui namespace: moh-prod spec: #replicas: 1 selector: matchLabels: app: csi-hhc-ui tier: frontend track: stable template: metadata: labels: app: csi-hhc-ui tier: frontend track: stable spec: affinity: podAntiAffinity: requiredDuringSchedulingIgnoredDuringExecution: - labelSelector: matchExpressions: - key: app operator: In values: - csi-hhc-ui topologyKey: "kubernetes.io/hostname" containers: - image: 'harbor.moh.gov.sa/vidamoh/hhc-ui:0.0.8-alpha.204' imagePullPolicy: IfNotPresent name: csi-hhc-ui ports: - containerPort: 80 name: http resources: limits: memory: 1Gi requests: cpu: 25m memory: 23Mi imagePullSecrets: - name: regcred