12345678910111213141516171819202122232425262728293031323334353637 |
- apiVersion: apps/v1
- kind: Deployment
- metadata:
- name: ob-consumer-traceurl
- namespace: observe
- labels:
- app.kubernetes.io/name: ob-consumer-traceurl
- spec:
- selector:
- matchLabels:
- app.kubernetes.io/name: ob-consumer-traceurl
- replicas: 1
- template:
- metadata:
- labels:
- app.kubernetes.io/name: ob-consumer-traceurl
- spec:
- # nodeName: k8sm1
- containers:
- - name: ob-consumer-traceurl
- image: reg.cestong.com.cn/cecf/observe-server
- command: ["/app/observe","consumer", "traceurl","-c", "/app/settings.yml"]
- imagePullPolicy: Always
- volumeMounts:
- - name: cm-settings
- mountPath: /app/settings.yml
- subPath: settings.yaml
- volumes:
- - name: cm-settings
- configMap:
- name: ob-server-settings
|