File tree Expand file tree Collapse file tree 2 files changed +91
-0
lines changed Expand file tree Collapse file tree 2 files changed +91
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ apiVersion : postgresql.cnpg.io/v1
3+ kind : Cluster
4+ metadata :
5+ labels :
6+ app.kubernetes.io/component : base
7+ app.kubernetes.io/instance : production
8+ app.kubernetes.io/name : postgres
9+ app.kubernetes.io/part-of : postgres
10+ name : main
11+ spec :
12+
13+ affinity :
14+ additionalPodAntiAffinity :
15+ preferredDuringSchedulingIgnoredDuringExecution :
16+ - weight : 50
17+ podAffinityTerm :
18+ labelSelector :
19+ matchExpressions :
20+ - key : kubernetes.io/hostname
21+ operator : Exists
22+ topologyKey : kubernetes.io/hostname
23+
24+ enablePodAntiAffinity : true
25+ nodeAffinity :
26+ preferredDuringSchedulingIgnoredDuringExecution :
27+ - weight : 100
28+ preference :
29+ matchExpressions :
30+ - key : node-role.kubernetes.io/prime
31+ operator : Exists
32+ topologyKey : kubernetes.io/hostname
33+
34+ # bootstrap: {}
35+
36+ description : " Cluster PostgreSQL Instance"
37+
38+ enableSuperuserAccess : false
39+
40+ # externalClusters: []
41+
42+ imageName : ghcr.io/cloudnative-pg/postgresql:-updated_by_patch-
43+
44+ inheritedMetadata :
45+ labels :
46+ app.kubernetes.io/component : base
47+ app.kubernetes.io/instance : production
48+ app.kubernetes.io/name : postgres
49+ app.kubernetes.io/part-of : postgres
50+
51+ instances : 3
52+
53+ # monitoring: {}
54+
55+ nodeMaintenanceWindow :
56+ inProgress : false
57+ reusePVC : false
58+
59+ primaryUpdateStrategy : supervised
60+
61+ postgresql :
62+ parameters :
63+ max_parallel_workers : ' 34'
64+ max_replication_slots : ' 32'
65+ max_worker_processes : ' 34'
66+
67+ # replica: {}
68+
69+ resources :
70+ requests :
71+ cpu : " 100m"
72+ memory : " 100Mi"
73+ limits :
74+ cpu : " 2"
75+ memory : " 1Gi"
76+
77+ startDelay : 300
78+
79+ stopDelay : 300
80+
81+ storage :
82+ resizeInUseVolumes : false
83+ size : 10Gi
Original file line number Diff line number Diff line change 1+ ---
2+ apiVersion : kustomize.config.k8s.io/v1beta1
3+ kind : Kustomization
4+
5+ namespace : postgres
6+
7+ resources :
8+ - Cluster.yaml
You can’t perform that action at this time.
0 commit comments