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.
73 lines
2.0 KiB
73 lines
2.0 KiB
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: csi-cssd-node-sev
|
|
namespace: moh-prod
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: csi-cssd-node-sev
|
|
tier: backend
|
|
track: stable
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: csi-cssd-node-sev
|
|
tier: backend
|
|
track: stable
|
|
spec:
|
|
affinity:
|
|
podAntiAffinity:
|
|
requiredDuringSchedulingIgnoredDuringExecution:
|
|
- labelSelector:
|
|
matchExpressions:
|
|
- key: app
|
|
operator: In
|
|
values:
|
|
- csi-cssd-node-sev
|
|
topologyKey: "kubernetes.io/hostname"
|
|
containers:
|
|
- env:
|
|
# - name: BASE_URL
|
|
# valueFrom:
|
|
# configMapKeyRef:
|
|
# key: BASE_URL
|
|
# name: service-configs-cssd-node
|
|
# - name: PORT
|
|
# valueFrom:
|
|
# configMapKeyRef:
|
|
# key: PORT
|
|
# name: service-configs-cssd-node
|
|
- name: hostname
|
|
value: csi-cssd-node-sev
|
|
envFrom:
|
|
- configMapRef:
|
|
name: service-configs-cssd
|
|
- configMapRef:
|
|
name: service-configs-cssd-node
|
|
image: registry.cloudsolutions.com.sa/dev/csi-cssd-node-sev:V4.0.0724-13_dev
|
|
imagePullPolicy: IfNotPresent
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /cssd/actuator/health
|
|
port: http
|
|
initialDelaySeconds: 800
|
|
timeoutSeconds: 10
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /cssd/actuator/health
|
|
port: http
|
|
initialDelaySeconds: 20
|
|
timeoutSeconds: 10
|
|
name: csi-cssd-node-sev
|
|
ports:
|
|
- containerPort: 8080
|
|
name: http
|
|
resources:
|
|
limits:
|
|
memory: 2Gi
|
|
requests:
|
|
cpu: 600m
|
|
memory: 1Gi
|
|
imagePullSecrets:
|
|
- name: regcred |