-
Notifications
You must be signed in to change notification settings - Fork 47
/
destination-v1-deploy.yaml
74 lines (74 loc) · 1.89 KB
/
destination-v1-deploy.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
kind: DeploymentConfig
apiVersion: apps.openshift.io/v1
metadata:
name: destination-v1
labels:
app: destination-v1
app.kubernetes.io/component: destination-v1
app.kubernetes.io/instance: destination-v1
app.kubernetes.io/part-of: bee-travels
spec:
strategy:
type: Rolling
rollingParams:
updatePeriodSeconds: 1
intervalSeconds: 1
timeoutSeconds: 600
maxUnavailable: 25%
maxSurge: 25%
resources:
limits:
cpu: 200m
memory: 256Mi
requests:
cpu: 200m
memory: 256Mi
activeDeadlineSeconds: 21600
replicas: 1
revisionHistoryLimit: 10
selector:
app: destination-v1
deploymentconfig: destination-v1
template:
metadata:
labels:
app: destination-v1
deploymentconfig: destination-v1
spec:
containers:
- name: destination-v1
image: ${DOCKERHUB_NAME}/destination-v1:latest
ports:
- containerPort: 9001
protocol: TCP
env:
- name: HOST_IP
value: destination-v1
- name: LOG_LEVEL
value: info
- name: PORT
value: '9001'
- name: SCHEME
value: http
- name: INSTANA_AGENT_HOST
valueFrom:
fieldRef:
fieldPath: status.hostIP
- name: INSTANA_AGENT_PORT
value: '42699'
- name: INSTANA_SERVICE_NAME
value: destination-v1
- name: INSTANA_AUTOPROFILE
value: "true"
- name: INSTANA_LOG_LEVEL
value: "warn"
resources:
limits:
cpu: 200m
memory: 256Mi
requests:
cpu: 200m
memory: 256Mi
imagePullPolicy: Always
restartPolicy: Always
terminationGracePeriodSeconds: 30