apiVersion: apps/v1 kind: Deployment metadata: annotations: deployment.kubernetes.io/revision: "1" meta.helm.sh/release-name: oceanbase-single meta.helm.sh/release-namespace: oceanbase creationTimestamp: "2024-08-16T05:54:01Z" generation: 3 labels: app.kubernetes.io/instance: oceanbase-single app.kubernetes.io/managed-by: Helm app.kubernetes.io/name: oceanbase-ce app.kubernetes.io/version: 4.2.2 helm.sh/chart: oceanbase-ce-0.1.0 name: oceanbase-single-oceanbase-ce namespace: oceanbase resourceVersion: "26695448" uid: 3699bd77-1859-4efe-be5e-8731cfb79b32 spec: progressDeadlineSeconds: 600 replicas: 1 revisionHistoryLimit: 10 selector: matchLabels: app.kubernetes.io/instance: oceanbase-single app.kubernetes.io/name: oceanbase-ce strategy: rollingUpdate: maxSurge: 25% maxUnavailable: 25% type: RollingUpdate template: metadata: creationTimestamp: null labels: app.kubernetes.io/instance: oceanbase-single app.kubernetes.io/name: oceanbase-ce spec: containers: - env: - name: MODE value: normal image: oceanbase/oceanbase-ce:4.2.2-amd64 imagePullPolicy: IfNotPresent name: oceanbase-ce ports: - containerPort: 2881 name: http protocol: TCP resources: limits: cpu: "4" memory: 8Gi requests: cpu: "2" memory: 4Gi terminationMessagePath: /dev/termination-log terminationMessagePolicy: File volumeMounts: - mountPath: /root/ob name: ob-data - mountPath: /root/.obd/cluster name: ob-cluster - mountPath: /root/obagent name: obagent - mountPath: /etc/localtime name: localtime dnsPolicy: ClusterFirst restartPolicy: Always schedulerName: default-scheduler securityContext: {} terminationGracePeriodSeconds: 30 volumes: - name: ob-data persistentVolumeClaim: claimName: oceanbase-single-oceanbase-ce-ob-data - name: ob-cluster persistentVolumeClaim: claimName: oceanbase-single-oceanbase-ce-ob-cluster - name: obagent persistentVolumeClaim: claimName: oceanbase-single-oceanbase-ce-obagent - hostPath: path: /etc/localtime type: "" name: localtime