github.com/percona/percona-xtradb-cluster-operator@v1.14.0/deploy/operator.yaml (about) 1 apiVersion: apps/v1 2 kind: Deployment 3 metadata: 4 name: percona-xtradb-cluster-operator 5 spec: 6 replicas: 1 7 selector: 8 matchLabels: 9 app.kubernetes.io/component: operator 10 app.kubernetes.io/instance: percona-xtradb-cluster-operator 11 app.kubernetes.io/name: percona-xtradb-cluster-operator 12 app.kubernetes.io/part-of: percona-xtradb-cluster-operator 13 strategy: 14 rollingUpdate: 15 maxUnavailable: 1 16 type: RollingUpdate 17 template: 18 metadata: 19 labels: 20 app.kubernetes.io/component: operator 21 app.kubernetes.io/instance: percona-xtradb-cluster-operator 22 app.kubernetes.io/name: percona-xtradb-cluster-operator 23 app.kubernetes.io/part-of: percona-xtradb-cluster-operator 24 spec: 25 terminationGracePeriodSeconds: 600 26 containers: 27 - command: 28 - percona-xtradb-cluster-operator 29 env: 30 - name: LOG_STRUCTURED 31 value: 'false' 32 - name: LOG_LEVEL 33 value: INFO 34 - name: WATCH_NAMESPACE 35 valueFrom: 36 fieldRef: 37 apiVersion: v1 38 fieldPath: metadata.namespace 39 - name: POD_NAME 40 valueFrom: 41 fieldRef: 42 apiVersion: v1 43 fieldPath: metadata.name 44 - name: OPERATOR_NAME 45 value: percona-xtradb-cluster-operator 46 - name: DISABLE_TELEMETRY 47 value: "false" 48 image: percona/percona-xtradb-cluster-operator:1.14.0 49 imagePullPolicy: Always 50 livenessProbe: 51 failureThreshold: 3 52 httpGet: 53 path: /metrics 54 port: metrics 55 scheme: HTTP 56 resources: 57 limits: 58 cpu: 200m 59 memory: 500Mi 60 requests: 61 cpu: 100m 62 memory: 20Mi 63 name: percona-xtradb-cluster-operator 64 ports: 65 - containerPort: 8080 66 name: metrics 67 protocol: TCP 68 serviceAccountName: percona-xtradb-cluster-operator