apiVersion: apps/v1 kind: Deployment metadata: name: ob-core namespace: observe labels: app.kubernetes.io/name: ob-core spec: selector: matchLabels: app.kubernetes.io/name: ob-core replicas: 1 template: metadata: labels: app.kubernetes.io/name: ob-core spec: shareProcessNamespace: true containers: - name: ob-core image: reg.cestong.com.cn/cecf/ob-core imagePullPolicy: Always resources: limits: cpu: "4" memory: "8Gi" requests: cpu: "1" memory: "2048Mi" volumeMounts: - name: cm-settings mountPath: /app/config.yaml subPath: settings.yaml volumes: - name: cm-settings configMap: name: ob-server-settings