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.

56 lines
1.6 KiB

apiVersion: apps/v1
kind: Deployment
metadata:
name: csi-net-ehr-ip-discharg
namespace: moh-prod
spec:
selector:
matchLabels:
app: csi-net-ehr-ip-discharg
tier: backend
track: stable
template:
metadata:
labels:
app: csi-net-ehr-ip-discharg
tier: backend
track: stable
spec:
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: app
operator: In
values:
- csi-net-ehr-ip-discharg
topologyKey: "kubernetes.io/hostname"
containers:
- env:
- name: ASPNETCORE_URLS
value: http://+:80
- name: ASPNETCORE_ENVIRONMENT
valueFrom:
configMapKeyRef:
key: net_environment
name: service-configs
- name: config_server
valueFrom:
configMapKeyRef:
key: config_server
name: service-configs
image: harbor.moh.gov.sa/vidamoh/csi-ehr-com-ip-discharge-dotnet-sev:4.0.10.0 #4.0.9.0 #4.0.6.0 #4.0.5.0 #4.0.4.0 # 4.0.1.0 #V2.0.0.027
imagePullPolicy: IfNotPresent
name: csi-net-ehr-ip-discharg
ports:
- containerPort: 80
name: http
resources:
limits:
memory: 2Gi
requests:
cpu: 150m
memory: 750Mi
imagePullSecrets:
- name: regcred