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