Skip to content

Commit ed91b5e

Browse files
Merge pull request #102340 from openshift-cherrypick-robot/cherry-pick-101428-to-enterprise-4.18
[enterprise-4.18] OSDOCS#16983: Added overrideReplicas to CertManager CR
2 parents 6c6c818 + 4523400 commit ed91b5e

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

modules/cert-manager-explanation-of-certmanager-cr-fields.adoc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,18 @@ The following table lists the common fields that you can configure in the `spec.
3131
|`dict`
3232
|You can override the supported environment variables for the cert-manager controller. This field is only supported for the cert-manager controller component.
3333

34+
|`overrideReplicas`
35+
|`int`
36+
|You can configure the replicas for the cert-manager components. The default value is `1`. For production environments, the following replica counts are recommended:
37+
38+
* controller: 2
39+
40+
* cainjector: 2
41+
42+
* webhook: At least 3.
43+
44+
For more information, see link:https://cert-manager.io/docs/installation/best-practice/#high-availability[High Availability].
45+
3446
|`overrideResources`
3547
|`object`
3648
|You can configure the CPU and memory limits for the cert-manager components.

security/cert_manager_operator/cert-manager-customizing-api-fields.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ spec:
4242
operator: "Equal"
4343
value: "value1"
4444
effect: "NoSchedule"
45+
overrideReplicas: 2
46+
#...
4547
4648
webhookConfig:
4749
overrideArgs:
@@ -50,13 +52,17 @@ spec:
5052
#...
5153
overrideScheduling:
5254
#...
55+
overrideReplicas:
56+
#...
5357
5458
cainjectorConfig:
5559
overrideArgs:
5660
#...
5761
overrideResources:
5862
#...
5963
overrideScheduling:
64+
#...
65+
overrideReplicas:
6066
#...
6167
----
6268

0 commit comments

Comments
 (0)