forked from robertstarmer/hostname
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ernrepro
125 lines (122 loc) · 4.33 KB
/
ernrepro
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
# Source: base/templates/deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
artifact.spinnaker.io/location: default
artifact.spinnaker.io/name: svc-spinnaker-demo
artifact.spinnaker.io/type: kubernetes/deployment
moniker.spinnaker.io/application: svc-spinnaker-demo
labels:
app: svc-spinnaker-demo
app.kubernetes.io/name: svc-spinnaker-demo
tags.datadoghq.com/env: dev
tags.datadoghq.com/service: svc-spinnaker-demo
tags.datadoghq.com/version: "${ image_tag }"
name: svc-spinnaker-demo
namespace: default
spec:
replicas: 1
revisionHistoryLimit: 3
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 0
maxSurge: 25%
selector:
matchLabels:
app: svc-spinnaker-demo
template:
metadata:
annotations:
iam.amazonaws.com/role: ArmoryBaseRole
labels:
app: svc-spinnaker-demo
app.kubernetes.io/name: svc-spinnaker-demo
configurationDebug: "false"
scmTag: "${ image_tag }"
serviceCluster: dev
serviceImage: svc-spinnaker-demo
serviceName: svc-spinnaker-demo
serviceNamespace: default
tags.datadoghq.com/env: dev
tags.datadoghq.com/service: svc-spinnaker-demo
tags.datadoghq.com/version: "${ image_tag }"
spec:
containers:
- name: svc-spinnaker-demo
image: "${ nexus_url_image_name_tag }"
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
protocol: TCP
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
env:
- name: AH_CLUSTER
value: dev
- name: AH_CONFIGURATION_DEBUG
value: "false"
- name: AH_CONFIGURATION_ENV
value: dev
- name: EARNIN_ENV
value: dev
- name: AH_CONFIGURATION_PATH
value: /etc/earnin
- name: AH_NAMESPACE
value: default
- name: AH_SCM_TAG
value: "${ image_tag }"
- name: AH_SERVICE_NAME
value: svc-spinnaker-demo
- name: ASPNETCORE_ENVIRONMENT
value: dev
- name: ASPNETCORE_URLS
value: http://*:80/
- name: AWS_DEFAULT_REGION
value: us-west-2
- name: AWS_REGION
value: us-west-2
- name: aws.region
value: us-west-2
- name: DATADOG_TRACE_ENABLED
value: "true"
- name: DD_TRACE_LOG_DIRECTORY
value: /tmp
- name: DD_LOGS_INJECTION
value: "true"
- name: DD_TRACE_AGENT_PORT
value: "8126"
- name: DD_AGENT_HOST
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: status.hostIP
- name: DOGSTATSD_HOST_IP
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: status.hostIP
- name: NODE_NAME
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: spec.nodeName
- name: http_proxy
value: $(NODE_NAME):30040
- name: NO_PROXY
value: 169.254.169.254,$(DD_AGENT_HOST),$(NODE_NAME),$(DOGSTATSD_HOST_IP),datadog,datadog.default,datadog.default.svc,datadog.default.svc.cluster.local,datadog.monitoring,datadog.monitoring.svc,datadog.monitoring.svc,datadog.monitoring.svc.cluster.local,apm.us-west-2.dev.earnin.com,apm.us-west-2.prod.earnin.com,localhost,127.0.0.1
- name: no_proxy
value: 169.254.169.254,$(DD_AGENT_HOST),$(NODE_NAME),$(DOGSTATSD_HOST_IP),datadog,datadog.default,datadog.default.svc,datadog.default.svc.cluster.local,datadog.monitoring,datadog.monitoring.svc,datadog.monitoring.svc,datadog.monitoring.svc.cluster.local,apm.us-west-2.dev.earnin.com,apm.us-west-2.prod.earnin.com,localhost,127.0.0.1
resources:
limits:
cpu: 200m
memory: 200Mi
requests:
cpu: 100m
memory: 100Mi
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30