Skip to content

Commit 09f21f9

Browse files
jdestefano-mongojwilliams-mongo
authored andcommitted
DOCSP-7427 - Remove POD_WAIT_SEC and POD_WAIT_RETRIES.
1 parent 319de2d commit 09f21f9

File tree

3 files changed

+0
-210
lines changed

3 files changed

+0
-210
lines changed

source/includes/list-table-k8s-helm-install-options-offline.rst

Lines changed: 0 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -100,64 +100,3 @@
100100
--set managedSecurityContext=false \
101101
helm_chart > operator.yaml
102102
kubectl apply -f operator.yaml
103-
104-
* - ``operator.podWaitSeconds``
105-
- Time in seconds that the Operator waits for |k8s-statefulsets|
106-
to start when |k8s-mdbrscs| are being created or updated before
107-
retrying.
108-
109-
Default values depend upon ``operator.env``:
110-
111-
.. list-table::
112-
:widths: 50 50
113-
:header-rows: 1
114-
115-
* - If ``operator.env`` is
116-
- ``operator.podWaitSeconds`` is set to
117-
* - ``dev``
118-
- 3
119-
* - ``prod``
120-
- 5
121-
122-
.. example::
123-
124-
.. code-block:: sh
125-
:emphasize-lines: 2-4
126-
127-
helm template \
128-
--set registry.pullPolicy=IfNotPresent \
129-
--set operator.env=dev \
130-
--set operator.podWaitSeconds=10 \
131-
helm_chart > operator.yaml
132-
kubectl apply -f operator.yaml
133-
134-
* - ``operator.podSetWaitRetries``
135-
- Maximum number of retries that the Operator attempts when
136-
waiting for |k8s-statefulsets| to start after |k8s-mdbrscs| are
137-
created or updated.
138-
139-
Default values depend upon ``operator.env``:
140-
141-
.. list-table::
142-
:widths: 50 50
143-
:header-rows: 1
144-
145-
* - If ``operator.env`` is
146-
- ``operator.podSetWaitRetries`` is set to
147-
* - ``dev``
148-
- 60
149-
* - ``prod``
150-
- 180
151-
152-
.. example::
153-
154-
.. code-block:: sh
155-
:emphasize-lines: 2-5
156-
157-
helm template \
158-
--set registry.pullPolicy=IfNotPresent \
159-
--set operator.env=dev \
160-
--set operator.podWaitSeconds=10 \
161-
--set operator.podSetWaitRetries=20 \
162-
helm_chart > operator.yaml
163-
kubectl apply -f operator.yaml

source/includes/list-table-k8s-helm-install-options-online.rst

Lines changed: 0 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -96,62 +96,3 @@
9696
--set managedSecurityContext=false \
9797
helm_chart > operator.yaml
9898
kubectl apply -f operator.yaml
99-
100-
* - ``operator.podWaitSeconds``
101-
- Time in seconds that the Operator waits for |k8s-statefulsets|
102-
to start when |k8s-mdbrscs| are being created or updated before
103-
retrying.
104-
105-
Default values depend upon ``operator.env``:
106-
107-
.. list-table::
108-
:widths: 50 50
109-
:header-rows: 1
110-
111-
* - If ``operator.env`` is
112-
- ``operator.podWaitSeconds`` is set to
113-
* - ``dev``
114-
- 3
115-
* - ``prod``
116-
- 5
117-
118-
.. example::
119-
120-
.. code-block:: sh
121-
:emphasize-lines: 2-3
122-
123-
helm template \
124-
--set operator.env=dev \
125-
--set operator.podWaitSeconds=10 \
126-
helm_chart > operator.yaml
127-
kubectl apply -f operator.yaml
128-
129-
* - ``operator.podSetWaitRetries``
130-
- Maximum number of retries that the Operator attempts when
131-
waiting for |k8s-statefulsets| to start after |k8s-mdbrscs| are
132-
created or updated.
133-
134-
Default values depend upon ``operator.env``:
135-
136-
.. list-table::
137-
:widths: 50 50
138-
:header-rows: 1
139-
140-
* - If ``operator.env`` is
141-
- ``operator.podSetWaitRetries`` is set to
142-
* - ``dev``
143-
- 60
144-
* - ``prod``
145-
- 180
146-
147-
.. example::
148-
149-
.. code-block:: sh
150-
:emphasize-lines: 2-4
151-
152-
helm template
153-
--set operator.env=dev \
154-
--set operator.podWaitSeconds=10 \
155-
--set operator.podSetWaitRetries=20 \
156-
helm_chart > operator.yaml
157-
kubectl apply -f operator.yaml

source/includes/list-table-k8s-kubectl-install-options.rst

Lines changed: 0 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -129,93 +129,3 @@
129129
env:
130130
- name: MANAGED_SECURITY_CONTEXT
131131
value: 'true'
132-
133-
* - ``POD_WAIT_SEC``
134-
- Time in seconds that the Operator waits for |k8s-statefulsets|
135-
to start when |k8s-mdbrscs| are being created or updated before
136-
retrying.
137-
138-
Default values depend upon ``OPERATOR_ENV``:
139-
140-
.. list-table::
141-
:widths: 50 50
142-
:header-rows: 1
143-
144-
* - If ``OPERATOR_ENV`` is
145-
- ``POD_WAIT_SEC`` is set to
146-
* - ``dev``
147-
- 3
148-
* - ``prod``
149-
- 5
150-
151-
152-
You can set the following pair of values:
153-
154-
.. code-block:: yaml
155-
156-
spec.template.spec.containers.name.env.name: POD_WAIT_SEC
157-
spec.template.spec.containers.name.env.value: 4
158-
159-
.. example::
160-
161-
.. code-block:: yaml
162-
:emphasize-lines: 10-13
163-
164-
spec:
165-
template:
166-
spec:
167-
serviceAccountName: mongodb-enterprise-operator
168-
containers:
169-
- name: mongodb-enterprise-operator
170-
image: <operatorVersionUrl>
171-
imagePullPolicy: <policyChoice>
172-
env:
173-
- name: POD_WAIT_SEC
174-
value: 4
175-
- name: POD_WAIT_RETRIES
176-
value: 30
177-
178-
* - ``POD_WAIT_RETRIES``
179-
- Maximum number of retries that the Operator attempts when
180-
waiting for |k8s-statefulsets| to start after |k8s-mdbrscs| are
181-
created or updated.
182-
183-
Default values depend upon ``OPERATOR_ENV``:
184-
185-
.. list-table::
186-
:widths: 50 50
187-
:header-rows: 1
188-
189-
* - If ``OPERATOR_ENV`` is
190-
- ``POD_WAIT_RETRIES`` is set to
191-
* - ``dev``
192-
- 60
193-
* - ``prod``
194-
- 180
195-
196-
197-
You can set the following pair of values:
198-
199-
.. code-block:: yaml
200-
201-
spec.template.spec.containers.name.env.name: POD_WAIT_RETRIES
202-
spec.template.spec.containers.name.env.value: 30
203-
204-
.. example::
205-
206-
.. code-block:: yaml
207-
:emphasize-lines: 10-13
208-
209-
spec:
210-
template:
211-
spec:
212-
serviceAccountName: mongodb-enterprise-operator
213-
containers:
214-
- name: mongodb-enterprise-operator
215-
image: <operatorVersionUrl>
216-
imagePullPolicy: <policyChoice>
217-
env:
218-
- name: POD_WAIT_SEC
219-
value: 4
220-
- name: POD_WAIT_RETRIES
221-
value: 30

0 commit comments

Comments
 (0)