github.com/percona/percona-xtradb-cluster-operator@v1.14.0/deploy/cw-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 value: "" 36 - name: POD_NAME 37 valueFrom: 38 fieldRef: 39 apiVersion: v1 40 fieldPath: metadata.name 41 - name: OPERATOR_NAME 42 value: percona-xtradb-cluster-operator 43 - name: DISABLE_TELEMETRY 44 value: "false" 45 image: percona/percona-xtradb-cluster-operator:1.14.0 46 imagePullPolicy: Always 47 resources: 48 limits: 49 cpu: 200m 50 memory: 500Mi 51 requests: 52 cpu: 100m 53 memory: 20Mi 54 livenessProbe: 55 failureThreshold: 3 56 httpGet: 57 path: /metrics 58 port: metrics 59 scheme: HTTP 60 name: percona-xtradb-cluster-operator 61 ports: 62 - containerPort: 8080 63 name: metrics 64 protocol: TCP 65 serviceAccountName: percona-xtradb-cluster-operator 66 --- 67 apiVersion: v1 68 kind: Service 69 metadata: 70 name: percona-xtradb-cluster-operator 71 labels: 72 name: percona-xtradb-cluster-operator 73 spec: 74 ports: 75 - port: 443 76 targetPort: 9443 77 selector: 78 app.kubernetes.io/name: percona-xtradb-cluster-operator