-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdeployment.yaml
39 lines (39 loc) · 1.38 KB
/
deployment.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
apiVersion: apps/v1
kind: Deployment
metadata:
name: vro-domain-ee-ep-merge-app
labels: {{- toYaml .Values.labels | nindent 4 }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels: # must match the pod template's labels
{{- toYaml .Values.labels | nindent 6 }}
template:
metadata:
labels:
sidecar.istio.io/inject: "false"
{{- toYaml .Values.labels | nindent 8 }}
annotations:
{{- include "vro.annotations.pod" . | nindent 8 }}
{{- include "vro.annotations.reloadLatest" . | nindent 8 }}
spec:
{{- include "vro.imagePullSecrets" . | nindent 6 }}
containers:
- name: ee-ep-merge-app{{ include "vro.containerSuffix" . }}
image: {{ include "vro.imageRegistryPath" . }}vro-ee-ep-merge-app:{{ include "vro.imageTag" . }}
ports:
- containerPort: {{ .Values.service.eeEpMergeApp.sourcePort }}
protocol: TCP
name: http
env:
{{- include "vro.commonEnvVars" . | nindent 12 }}
{{- include "vro.mqClient.envVars" . | nindent 12 }}
{{- include "vro.dbClient.envVars" . | nindent 12 }}
{{- include "vro.datadog.envVars" . | nindent 12 }}
resources:
requests:
cpu: 150m
memory: 512Mi
limits:
cpu: 1000m
memory: 1024Mi