forked from tw-cloud-native/zipkin-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemp.yaml
50 lines (50 loc) · 934 Bytes
/
temp.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
kind: Deployment
apiVersion: apps/v1
metadata:
name: zipkin-server
namespace: team-a-dev
spec:
replicas: 1
selector:
matchLabels:
k8s-app: zipkin-server
template:
metadata:
namespace: team-a-dev
labels:
k8s-app: zipkin-server
spec:
containers:
- name: zipkin-server
image: openzipkin/zipkin:latest
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9411
---
kind: Service
apiVersion: v1
metadata:
namespace: team-a-dev
name: zipkin-server
spec:
selector:
k8s-app: zipkin-server
ports:
- port: 9411
name: http
protocol: TCP
---
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: zipkin-server
namespace: team-a-dev
spec:
rules:
- host: zipkin.team-a.cloud.school.thoughtworks.cn
http:
paths:
- path: /
backend:
serviceName: zipkin-server
servicePort: 9411