Add deployment configuration for csi-adt-ui application

gastro
Ishrath Ahamed 4 months ago
parent bd41784e5c
commit 766d0bf2e0

@ -0,0 +1,46 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app.kubernetes.io/instance: adt-ui
name: csi-adt-ui
namespace: csi-uat
spec:
replicas: 2
selector:
matchLabels:
app: csi-adt-ui
tier: frontend
track: stable
template:
metadata:
labels:
app: csi-adt-ui
tier: frontend
track: stable
spec:
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: app
operator: In
values:
- csi-adt-ui
topologyKey: kubernetes.io/hostname
containers:
- image: registry.cloudsolutions.com.sa/vida-qa/csi-pms-adt-ui:4.3.239.0_qa
imagePullPolicy: IfNotPresent
name: csi-adt-ui
ports:
- containerPort: 80
name: http
resources:
limits:
memory: 100Mi
requests:
cpu: 2m
memory: 25Mi
imagePullSecrets:
- name: regcred
Loading…
Cancel
Save