Skip to content

Commit f78945e

Browse files
lmkerbey-mdbjwilliams-mongo
authored andcommitted
(DOCSP-33340) Document readiness probe environment variables for MEKO. (#1474)
* (DOCSP-33340) Document readiness probe environment variables for MEKO. * (DOCSP-33340) Review. * Testing new webhook * Testing new webhook * (DOCSP-33340) Copy review.
1 parent 7ee5e09 commit f78945e

File tree

4 files changed

+80
-0
lines changed

4 files changed

+80
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
The number of rotated ``readiness.log`` backup files maintained by the
2+
Readiness Probe.
3+
4+
The default value is **5**.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
The maximum number of days to retain rotated ``readiness.log`` files,
2+
starting with the date in the file timestamp. If set to **0**, the
3+
|k8s-op-short| doesn't remove ``readiness.log`` files on the basis of
4+
age, instead relying on ``READINESS_PROBE_LOGGER_BACKUPS`` to determine
5+
retention.
6+
7+
The default value is **0**.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
The maximum size of the ``readiness.log`` file in MB.
2+
3+
The default value is **100**.

source/reference/kubectl-operator-settings.txt

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,72 @@ OPS_MANAGER_IMAGE_REPOSITORY
489489
- name: OPS_MANAGER_IMAGE_REPOSITORY
490490
value: quay.io/mongodb/mongodb-enterprise-ops-manager-ubi
491491

492+
READINESS_PROBE_LOGGER_BACKUPS
493+
------------------------------
494+
495+
.. include:: /includes/op-setting-descs/readiness-probe-logger-backups.rst
496+
497+
.. example::
498+
499+
.. code-block:: yaml
500+
:linenos:
501+
502+
spec:
503+
template:
504+
spec:
505+
serviceAccountName: mongodb-enterprise-operator
506+
containers:
507+
- name: mongodb-enterprise-operator
508+
image: <operatorVersionUrl>
509+
imagePullPolicy: <policyChoice>
510+
env:
511+
- name: READINESS_PROBE_LOGGER_BACKUPS
512+
value: 1
513+
514+
READINESS_PROBE_LOGGER_MAX_SIZE
515+
-------------------------------
516+
517+
.. include:: /includes/op-setting-descs/readiness-probe-logger-max-size.rst
518+
519+
.. example::
520+
521+
.. code-block:: yaml
522+
:linenos:
523+
524+
spec:
525+
template:
526+
spec:
527+
serviceAccountName: mongodb-enterprise-operator
528+
containers:
529+
- name: mongodb-enterprise-operator
530+
image: <operatorVersionUrl>
531+
imagePullPolicy: <policyChoice>
532+
env:
533+
- name: READINESS_PROBE_LOGGER_MAX_SIZE
534+
value: 125
535+
536+
READINESS_PROBE_LOGGER_MAX_AGE
537+
------------------------------
538+
539+
.. include:: /includes/op-setting-descs/readiness-probe-logger-max-age.rst
540+
541+
.. example::
542+
543+
.. code-block:: yaml
544+
:linenos:
545+
546+
spec:
547+
template:
548+
spec:
549+
serviceAccountName: mongodb-enterprise-operator
550+
containers:
551+
- name: mongodb-enterprise-operator
552+
image: <operatorVersionUrl>
553+
imagePullPolicy: <policyChoice>
554+
env:
555+
- name: READINESS_PROBE_LOGGER_MAX_AGE
556+
value: 3
557+
492558
WATCH_NAMESPACE
493559
---------------
494560

0 commit comments

Comments
 (0)