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.
55 lines
1.3 KiB
55 lines
1.3 KiB
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: csi-net-hhc
|
|
namespace: moh-prod
|
|
spec:
|
|
#replicas: 2
|
|
selector:
|
|
matchLabels:
|
|
app: csi-net-hhc
|
|
tier: backend
|
|
track: stable
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: csi-net-hhc
|
|
tier: backend
|
|
track: stable
|
|
spec:
|
|
affinity:
|
|
podAntiAffinity:
|
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
- labelSelector:
|
|
matchExpressions:
|
|
- key: app
|
|
operator: In
|
|
values:
|
|
- csi-net-hhc
|
|
topologyKey: "kubernetes.io/hostname"
|
|
containers:
|
|
- env:
|
|
- name: ASPNETCORE_URLS
|
|
value: http://+:80
|
|
- name: ASPNETCORE_ENVIRONMENT
|
|
value: net-moh-prod
|
|
- name: VERSION
|
|
value: '0.0.4-alpha.3'
|
|
envFrom:
|
|
- configMapRef:
|
|
name: hhc-config
|
|
image: harbor.moh.gov.sa/vidamoh/hhc-service:4.0.0.4-beta77
|
|
imagePullPolicy: IfNotPresent
|
|
name: csi-net-hhc
|
|
ports:
|
|
- containerPort: 80
|
|
name: http
|
|
resources:
|
|
limits:
|
|
memory: 1Gi
|
|
requests:
|
|
cpu: 250m
|
|
memory: 394Mi
|
|
imagePullSecrets:
|
|
- name: regcred
|