Last active
March 24, 2022 11:40
-
-
Save tamalsaha/6aa5fb032d0e144c4428ba7bffc7f2d6 to your computer and use it in GitHub Desktop.
pg-coordinator memory leak test
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: demo-pg | |
namespace: demo | |
spec: | |
version: "11.11-test" | |
coordinator: | |
resources: | |
limits: | |
cpu: 25m | |
memory: 64Mi | |
requests: | |
cpu: 10m | |
memory: 64Mi | |
monitor: | |
agent: prometheus.io/operator | |
prometheus: | |
serviceMonitor: | |
interval: 10s | |
labels: | |
release: kube-prometheus-stack | |
podTemplate: | |
spec: | |
resources: | |
limits: | |
cpu: 100m | |
memory: 512Mi | |
requests: | |
cpu: 100m | |
memory: 256Mi | |
replicas: 3 | |
standbyMode: Warm | |
storage: | |
storageClassName: "linode-block-storage" | |
accessModes: | |
- ReadWriteOnce | |
resources: | |
requests: | |
storage: 1Gi | |
storageType: Durable | |
terminationPolicy: Halt |
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: catalog.kubedb.com/v1alpha1 | |
kind: PostgresVersion | |
metadata: | |
name: "11.11-test" | |
spec: | |
coordinator: | |
image: kubedb/pg-coordinator:memory-leak-test_linux_amd64 | |
db: | |
image: postgres:11.11-alpine | |
distribution: Official | |
exporter: | |
image: prometheuscommunity/postgres-exporter:v0.9.0 | |
initContainer: | |
image: kubedb/postgres-init:0.4.0 | |
podSecurityPolicies: | |
databasePolicyName: postgres-db | |
securityContext: | |
runAsAnyNonRoot: false | |
runAsUser: 70 | |
stash: | |
addon: | |
backupTask: | |
name: postgres-backup-11.9 | |
restoreTask: | |
name: postgres-restore-11.9 | |
version: "11.11" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment