Advertisement
Guest User

Percona XtraDB Cluster operator.yaml

a guest
Jan 10th, 2020
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.88 KB | None | 0 0
  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.       name: percona-xtradb-cluster-operator
  10.   template:
  11.     metadata:
  12.       labels:
  13.         name: percona-xtradb-cluster-operator
  14.     spec:
  15.       serviceAccountName: percona-xtradb-cluster-operator
  16.       containers:
  17.         - name: percona-xtradb-cluster-operator
  18.           image: percona/percona-xtradb-cluster-operator:1.3.0
  19.           ports:
  20.           - containerPort: 60000
  21.             name: metrics
  22.           command:
  23.          - percona-xtradb-cluster-operator
  24.           imagePullPolicy: Always
  25.           env:
  26.             - name: WATCH_NAMESPACE
  27.               valueFrom:
  28.                 fieldRef:
  29.                   fieldPath: metadata.namespace
  30.             - name: OPERATOR_NAME
  31.               value: "percona-xtradb-cluster-operator"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement