Advertisement
Guest User

cr conf

a guest
Nov 17th, 2021
48
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. apiVersion: pg.percona.com/v1
  2. kind: PerconaPGCluster
  3. metadata:
  4.   annotations:
  5.     current-primary: cluster1
  6.   labels:
  7.     crunchy-pgha-scope: cluster1
  8.     deployment-name: cluster1
  9.     name: cluster1
  10.     pg-cluster: cluster1
  11.     pgo-version: 1.0.0
  12.     pgouser: admin
  13.   name: cluster1
  14. spec:
  15.   database: pgdb
  16.   namespace: possu2
  17.   port: "5432"
  18.   user: pguser
  19.   disableAutofail: false
  20.   tlsOnly: false
  21.   standby: false
  22.   pause: false
  23. #  sslCA: cluster1-ssl-ca
  24. #  sslSecretName: cluster1-ssl-keypair
  25. #  sslReplicationSecretName: cluster1-ssl-keypair
  26. #  keepData: true
  27. #  keepBackups: true
  28. #  pgDataSource:
  29. #    restoreFrom: ""
  30. #    restoreOpts: ""
  31. #  tablespaceStorages:
  32. #    lake:
  33. #      volumeSpec:
  34. #        size: 1G
  35. #        accessmode: ReadWriteOnce
  36. #        storagetype: dynamic
  37. #        storageclass: ""
  38. #        matchLabels: ""
  39. #  walStorage:
  40. #    volumeSpec:
  41. #      size: 1G
  42. #      accessmode: ReadWriteOnce
  43. #      storagetype: dynamic
  44. #      storageclass: ""
  45. #      matchLabels: ""
  46.   userLabels:
  47.     pgo-version: "1.0.0"
  48.   pgPrimary:
  49.     image: percona/percona-postgresql-operator:1.0.0-ppg13-postgres-ha
  50.     resources:
  51.       requests:
  52.         memory: "128Mi"
  53.     tolerations: []
  54.     volumeSpec:
  55.       size: 1G
  56.       accessmode: ReadWriteOnce
  57.       storagetype: dynamic
  58.       storageclass: ""
  59. #      matchLabels: ""
  60.     expose:
  61.       serviceType: ClusterIP
  62. #      loadBalancerSourceRanges:
  63. #      annotations:
  64. #        pg-cluster-annot: cluster1
  65. #      labels:
  66. #        pg-cluster-label: cluster1
  67.   pmm:
  68.     enabled: false
  69.     image: percona/pmm-client:2.15.1
  70.     serverHost: monitoring-service
  71.     serverUser: admin
  72.     pmmSecret: cluster1-pmm-secret
  73.     resources:
  74.       requests:
  75.         memory: 200M
  76.         cpu: 500m
  77. #      limits:
  78. #        cpu: "1"
  79. #        memory: "400M"
  80.   backup:
  81.     image: percona/percona-postgresql-operator:1.0.0-ppg13-pgbackrest
  82.     backrestRepoImage: percona/percona-postgresql-operator:1.0.0-ppg13-pgbackrest-repo
  83.     resources:
  84.       requests:
  85.         memory: "48Mi"
  86. #      limits:
  87. #        cpu: "1"
  88. #        memory: "64Mi"
  89.     volumeSpec:
  90.       size: 1G
  91.       accessmode: ReadWriteOnce
  92.       storagetype: dynamic
  93.       storageclass: ""
  94. #      matchLabels: ""
  95. #    storages:
  96. #      my-gcs:
  97. #        type: gcs
  98. #        bucket: some-gcs-bucket
  99. #    repoPath: ""
  100.     schedule:
  101.       - name: "sat-night-backup"
  102.         schedule: "0 0 * * 6"
  103.         keep: 3
  104.         type: full
  105.         storage: local
  106.   pgBouncer:
  107.     image: percona/percona-postgresql-operator:1.0.0-ppg13-pgbouncer
  108.     size: 1
  109.     resources:
  110.       requests:
  111.         cpu: "1"
  112.         memory: "128Mi"
  113.       limits:
  114.         cpu: "2"
  115.         memory: "512Mi"
  116.     expose:
  117.       serviceType: ClusterIP
  118. #      loadBalancerSourceRanges:
  119. #      annotations:
  120. #        pg-cluster-annot: cluster1
  121. #      labels:
  122. #        pg-cluster-label: cluster1
  123.   pgReplicas:
  124.     hotStandby:
  125.       size: 2
  126.       resources:
  127.         requests:
  128. #          cpu: "1"
  129.           memory: "128Mi"
  130. #        limits:
  131. #          cpu: "1"
  132. #          memory: "128Mi"
  133.       volumeSpec:
  134.         accessmode: ReadWriteOnce
  135.         size: 1G
  136.         storagetype: dynamic
  137.         storageclass: ""
  138. #        matchLabels: ""
  139. #      affinity:
  140. #        default: null
  141. #      labels:
  142. #        pg-cluster-label: cluster1
  143. #      annotations:
  144. #        pg-cluster-annot: cluster1-1
  145.       enableSyncStandby: false
  146.       expose:
  147.         serviceType: ClusterIP
  148. #        loadBalancerSourceRanges:
  149. #        annotations:
  150. #          pg-cluster-annot: cluster1
  151. #        labels:
  152. #          pg-cluster-label: cluster1
  153.   pgBadger:
  154.     enabled: false
  155.     image: percona/percona-postgresql-operator:1.0.0-ppg13-pgbadger
  156.     port: 10000
  157. #  securityContext:
  158. #    fsGroup: 1001
  159. #    supplementalGroups: [1001, 1002, 1003]
  160.  
Advertisement
RAW Paste Data Copied
Advertisement