kubernetes-handbook/manifests/istio/zipkin.yaml

40 lines
703 B
YAML
Raw Normal View History

2017-06-01 20:18:05 +08:00
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: zipkin
spec:
replicas: 1
template:
metadata:
annotations:
alpha.istio.io/sidecar: ignore
labels:
app: zipkin
spec:
containers:
- name: zipkin
2018-05-04 19:53:39 +08:00
image: harbor-001.jimmysong.io/library/zipkin:latest
2017-06-01 20:18:05 +08:00
ports:
- containerPort: 9411
env:
- name: POD_NAMESPACE
valueFrom:
fieldRef:
apiVersion: v1
fieldPath: metadata.namespace
---
apiVersion: v1
kind: Service
metadata:
name: zipkin
spec:
#type: NodePort
ports:
- name: http
port: 9411
#nodePort: 30411
selector:
app: zipkin
---