-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdistributed-trace.yml
More file actions
44 lines (43 loc) · 915 Bytes
/
distributed-trace.yml
File metadata and controls
44 lines (43 loc) · 915 Bytes
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
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: spring-cloud-sleuth
spec:
replicas: 3
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 0
maxSurge: 1
template:
metadata:
labels:
app: spring-cloud-sleuth
version: "v1"
spec:
containers:
- name: server
image: 'gcr.io/fleet-resolver-237016/spring-cloud-sleuth-server:v1'
ports:
- containerPort: 8083
- name: client
image: 'gcr.io/fleet-resolver-237016/spring-cloud-sleuth-client:v1'
ports:
- containerPort: 8080
---
apiVersion: v1
kind: Service
metadata:
name: spring-cloud-sleuth
labels:
name: spring-cloud-sleuth
version: "v1"
spec:
ports:
- port: 8080
targetPort: 8080
protocol: TCP
selector:
app: spring-cloud-sleuth
version: "v1"
type: LoadBalancer