You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.0 KiB
44 lines
1.0 KiB
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: csi-billing-ui
|
|
namespace: moh-prod
|
|
spec:
|
|
#replicas: 3
|
|
selector:
|
|
matchLabels:
|
|
app: csi-billing-ui
|
|
tier: frontend
|
|
track: stable
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: csi-billing-ui
|
|
tier: frontend
|
|
track: stable
|
|
spec:
|
|
affinity:
|
|
podAntiAffinity:
|
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
- labelSelector:
|
|
matchExpressions:
|
|
- key: app
|
|
operator: In
|
|
values:
|
|
- csi-billing-ui
|
|
topologyKey: "kubernetes.io/hostname"
|
|
containers:
|
|
- image: harbor.moh.gov.sa/vidamoh/billing-ui:4.5.81.6
|
|
imagePullPolicy: IfNotPresent
|
|
name: csi-billing-ui
|
|
ports:
|
|
- containerPort: 80
|
|
name: http
|
|
resources:
|
|
limits:
|
|
memory: 100Mi
|
|
requests:
|
|
cpu: 2m
|
|
memory: 25Mi
|
|
imagePullSecrets:
|
|
- name: regcred |