mirror of
https://gitee.com/270580156/weiyu.git
synced 2026-05-16 04:07:51 +00:00
49 lines
1.0 KiB
YAML
49 lines
1.0 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: zipkin
|
|
namespace: bytedesk
|
|
labels:
|
|
app: zipkin
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: zipkin
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: zipkin
|
|
spec:
|
|
containers:
|
|
- name: zipkin
|
|
image: openzipkin/zipkin:latest
|
|
ports:
|
|
- containerPort: 9411
|
|
name: http
|
|
volumeMounts:
|
|
- name: zipkin-data
|
|
mountPath: /data
|
|
resources:
|
|
requests:
|
|
memory: "256Mi"
|
|
cpu: "100m"
|
|
limits:
|
|
memory: "512Mi"
|
|
cpu: "250m"
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: 9411
|
|
initialDelaySeconds: 30
|
|
periodSeconds: 30
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /health
|
|
port: 9411
|
|
initialDelaySeconds: 10
|
|
periodSeconds: 10
|
|
volumes:
|
|
- name: zipkin-data
|
|
persistentVolumeClaim:
|
|
claimName: zipkin-pvc |