Last active
March 28, 2022 14:48
-
-
Save tamalsaha/bdb3155d6591eabe15ef245f99579cdb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: kubedb.com/v1alpha2 | |
kind: Postgres | |
metadata: | |
name: confluence-db-copy | |
namespace: platform-atlassian | |
spec: | |
allowedSchemas: | |
namespaces: | |
from: Same | |
clientAuthMode: md5 | |
coordinator: | |
resources: | |
limits: | |
cpu: 500m | |
memory: 256Mi | |
requests: | |
cpu: 500m | |
memory: 256Mi | |
leaderElection: | |
electionTick: 15 | |
heartbeatTick: 1 | |
maximumLagBeforeFailover: 33554432 | |
period: 300ms | |
podTemplate: | |
controller: {} | |
metadata: {} | |
spec: | |
containerSecurityContext: | |
capabilities: | |
add: | |
- IPC_LOCK | |
- SYS_RESOURCE | |
privileged: false | |
runAsGroup: 999 | |
runAsUser: 999 | |
resources: | |
limits: | |
cpu: "2" | |
memory: 4Gi | |
requests: | |
cpu: "2" | |
memory: 4Gi | |
securityContext: | |
fsGroup: 999 | |
runAsGroup: 999 | |
runAsUser: 999 | |
serviceAccountName: confluence-db-prod | |
replicas: 3 | |
serviceTemplates: | |
- alias: primary | |
metadata: {} | |
spec: | |
type: NodePort | |
sslMode: disable | |
standbyMode: Warm | |
storage: | |
accessModes: | |
- ReadWriteOnce | |
resources: | |
requests: | |
storage: 50Gi | |
storageClassName: netapp-block | |
storageType: Durable | |
streamingMode: Asynchronous | |
terminationPolicy: Delete | |
version: 11.11-debian |
hossainemruz
commented
Mar 28, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment