Skip to content

Commit 26e1e30

Browse files
authored
K8SPG-167 fix affinity examples in cr.yaml (#237)
1 parent f52df6e commit 26e1e30

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

deploy/cr.yaml

+6-2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ spec:
5252
# limits:
5353
# cpu: 500m
5454
# memory: "256Mi"
55+
# affinity:
56+
# antiAffinityType: preferred
5557
tolerations: []
5658
volumeSpec:
5759
size: 1G
@@ -92,6 +94,8 @@ spec:
9294
# limits:
9395
# cpu: "1"
9496
# memory: "64Mi"
97+
# affinity:
98+
# antiAffinityType: preferred
9599
volumeSpec:
96100
size: 1G
97101
accessmode: ReadWriteOnce
@@ -120,6 +124,8 @@ spec:
120124
# limits:
121125
# cpu: "2"
122126
# memory: "512Mi"
127+
# affinity:
128+
# antiAffinityType: preferred
123129
expose:
124130
serviceType: ClusterIP
125131
# loadBalancerSourceRanges:
@@ -143,8 +149,6 @@ spec:
143149
storagetype: dynamic
144150
storageclass: ""
145151
# matchLabels: ""
146-
# affinity:
147-
# default: null
148152
# labels:
149153
# pg-cluster-label: cluster1
150154
# annotations:

0 commit comments

Comments
 (0)