File tree Expand file tree Collapse file tree 2 files changed +43
-43
lines changed Expand file tree Collapse file tree 2 files changed +43
-43
lines changed Original file line number Diff line number Diff line change @@ -97,51 +97,10 @@ Procedure
9797 You can run this command multiple times without making any changes
9898 to your |service| resources.
9999
100- .. code-block :: yaml
100+ .. literalinclude :: /includes/dry-run-example. yaml
101101 :linenos:
102102 :copyable:
103-
104- apiVersion: batch/v1
105- kind: Job
106- metadata:
107- name: ako-dry-run
108- namespace: mongodb-atlas-system
109- spec:
110- backoffLimit: 1
111- template:
112- spec:
113- containers:
114- - args:
115- - --atlas-domain=https://cloud.mongodb.com/
116- - --log-level=info
117- - --log-encoder=json
118- - --dry-run
119- command:
120- - /manager
121- env:
122- - name: OPERATOR_POD_NAME
123- value: ako-dry-run
124- - name: OPERATOR_NAMESPACE
125- value: mongodb-atlas-system
126- - name: WATCH_NAMESPACE
127- value: mongodb-atlas-system
128- - name: JOB_NAME
129- value: ako-dry-run
130- image: quay.io/mongodb/atlas-kubernetes-operator:2.8.0
131- imagePullPolicy: Always
132- livenessProbe:
133- failureThreshold: 3
134- httpGet:
135- path: /healthz
136- port: 8081
137- scheme: HTTP
138- initialDelaySeconds: 15
139- periodSeconds: 20
140- successThreshold: 1
141- timeoutSeconds: 1
142- name: ako-dry-run
143- restartPolicy: Never
144- serviceAccountName: mongodb-atlas-operator
103+ :language: yaml
145104
146105 .. step:: List the dry-run output.
147106
Original file line number Diff line number Diff line change 1+ apiVersion : batch/v1
2+ kind : Job
3+ metadata :
4+ name : ako-dry-run
5+ namespace : mongodb-atlas-system
6+ spec :
7+ backoffLimit : 1
8+ template :
9+ spec :
10+ containers :
11+ - args :
12+ - --atlas-domain=https://cloud.mongodb.com/
13+ - --log-level=info
14+ - --log-encoder=json
15+ - --dry-run
16+ command :
17+ - /manager
18+ env :
19+ - name : OPERATOR_POD_NAME
20+ value : ako-dry-run
21+ - name : OPERATOR_NAMESPACE
22+ value : mongodb-atlas-system
23+ - name : WATCH_NAMESPACE
24+ value : mongodb-atlas-system
25+ - name : JOB_NAME
26+ value : ako-dry-run
27+ image : quay.io/mongodb/mongodb-atlas-kubernetes-operator:2.8.0
28+ imagePullPolicy : Always
29+ livenessProbe :
30+ failureThreshold : 3
31+ httpGet :
32+ path : /healthz
33+ port : 8081
34+ scheme : HTTP
35+ initialDelaySeconds : 15
36+ periodSeconds : 20
37+ successThreshold : 1
38+ timeoutSeconds : 1
39+ name : ako-dry-run
40+ restartPolicy : Never
41+ serviceAccountName : mongodb-atlas-operator
You can’t perform that action at this time.
0 commit comments