forked from jamesfalkner/microsweeper-demo
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathkubernetes-deployment.yaml
51 lines (50 loc) · 1.26 KB
/
kubernetes-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
40
41
42
43
44
45
46
47
48
49
50
51
apiVersion: apps/v1
kind: Deployment
metadata:
name: microsweeper-demo
spec:
selector:
matchLabels:
app: microsweeper-demo
replicas: 2
template:
metadata:
labels:
app: microsweeper-demo
spec:
containers:
- name: microsweeper-demo
# image: aaronmsft/spring-music:v1
# image: acr9f889c.azurecr.io/spring-music:v1
image: bbenzacr.azurecr.io/microsweeper-demo:v1
imagePullPolicy: Always
ports:
- containerPort: 8080
env:
- name: TEST
value: value
resources:
limits:
memory: 512Mi
readinessProbe:
httpGet:
path: /
port: 8080
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 30
- image: jaegertracing/jaeger-agent
name: jaeger-agent
ports:
- containerPort: 5775
protocol: UDP
- containerPort: 6831
protocol: UDP
- containerPort: 6832
protocol: UDP
- containerPort: 5778
protocol: TCP
args: ["--collector.host-port=simplest-collector:14267"]
resources:
limits:
memory: 128Mi