1
1
---
2
- title : " Change to the directory in which you cloned the repository."
3
2
level : 4
4
- ref : helm-master-cd
3
+ ref : install-helm-charts
4
+ title : " Add the :mdb-github:`MongoDB Helm Charts for Kubernetes </helm-charts>` repository to Helm."
5
+ content : |
6
+
7
+ .. code-block:: sh
8
+
9
+ helm repo add mongodb https://mongodb.github.io/helm-charts
10
+
5
11
---
6
12
title : " Customize your Helm Chart before upgrading it."
7
13
level : 4
@@ -18,57 +24,63 @@ ref: helm-master-install
18
24
replacement :
19
25
k8sonline : |
20
26
21
- Invoke the following ``helm`` command:
27
+ Install :mdb-github:`MongoDB Helm Charts for Kubernetes </helm-charts>`.
28
+ The following command installs the |k8s-crds| and the |k8s-op-short|
29
+ in the current namespace named ``default``.
22
30
23
31
.. code-block:: sh
24
32
25
- helm install <chart-name> helm_chart \
26
- --values helm_chart/values.yaml
33
+ helm install enterprise-operator mongodb/enterprise-operator
27
34
28
35
To learn about optional |k8s-op-short| installation settings, see
29
36
:ref:`Operator Helm Installation Settings <meko-op-install-settings-helm>`.
30
37
31
- k8soffline : |
32
-
33
- Invoke the following ``helm`` command:
38
+ You can specify a different namespace with:
34
39
35
40
.. code-block:: sh
36
41
37
- helm install <chart-name> helm_chart \
38
- --values helm_chart/values.yaml \
39
- --set registry.pullPolicy=IfNotPresent
42
+ helm install enterprise-operator mongodb/enterprise-operator --namespace mongodb [--create-namespace]
43
+
44
+ k8soffline : |
40
45
46
+ Install :mdb-github:`MongoDB Helm Charts for Kubernetes </helm-charts>`
47
+ and set the value of ``registry.pullPolicy`` to ``IfNotPresent``.
41
48
To learn about optional |k8s-op-short| installation settings, see
42
49
:ref:`Operator Helm Installation Settings <meko-op-install-settings-helm>`.
43
50
44
- osonline : |
51
+ .. code-block:: sh
45
52
46
- .. include:: /includes/install/install-os-311-helm.rst
53
+ helm install enterprise-operator mongodb/enterprise-operator \
54
+ --set registry.pullPolicy='IfNotPresent'
47
55
48
- Invoke the following ``helm`` command:
56
+ osonline : |
57
+
58
+ Install :mdb-github:`MongoDB Helm Charts for Kubernetes </helm-charts>`:
49
59
50
60
.. code-block:: sh
51
61
52
- helm install <chart-name> helm_chart \
53
- --values helm_chart /values-openshift.yaml
62
+ helm install enterprise-operator mongodb/enterprise-operator \
63
+ --values https://raw.githubusercontent.com/mongodb/helm-charts/main/charts/enterprise-operator /values-openshift.yaml
54
64
55
- To learn about optional |k8s-op-short| installation settings, see
56
- :ref:`Operator Helm Installation Settings <meko-op-install-settings-helm>`.
65
+ Use the :github-raw:`values-openshift.yaml </mongodb/helm-charts/main/charts/enterprise-operator/values-openshift.yaml>`
66
+ settings. To learn about optional |k8s-op-short| installation settings,
67
+ see :ref:`Operator Helm Installation Settings <meko-op-install-settings-helm>`.
57
68
58
69
osoffline : |
59
70
60
- .. include:: /includes/install/install-os-311-helm.rst
61
-
62
- Invoke the following ``helm`` command:
71
+ Install :mdb-github:`MongoDB Helm Charts for Kubernetes </helm-charts>`:
63
72
64
73
.. code-block:: sh
65
74
66
- helm install <chart-name> helm_chart \
67
- --values helm_chart/values-openshift.yaml \
68
- --set registry.pullPolicy=IfNotPresent \
69
- --set registry.imagePullSecrets=<openshift-pull-secret>
75
+ helm install enterprise-operator mongodb/enterprise-operator \
76
+ --set registry.pullPolicy='IfNotPresent' \
77
+ --set registry.imagePullSecrets='<openshift-pull-secret>' \
78
+ --values https://raw.githubusercontent.com/mongodb/helm-charts/main/charts/enterprise-operator/values-openshift.yaml
70
79
71
- To learn about optional |k8s-op-short| installation settings, see
80
+ Use the :github-raw:`values-openshift.yaml </mongodb/helm-charts/main/charts/enterprise-operator/values-openshift.yaml>`
81
+ settings, ``registry.pullPolicy=IfNotPresent``, and
82
+ ``registry.imagePullSecrets=<openshift-pull-secret>``. To learn
83
+ about optional |k8s-op-short| installation settings, see
72
84
:ref:`Operator Helm Installation Settings <meko-op-install-settings-helm>`.
73
85
74
86
k8sonlineupgrade : |
@@ -77,86 +89,50 @@ replacement:
77
89
78
90
.. code-block:: sh
79
91
80
- helm upgrade <chart-name> helm_chart \
81
- --values helm_chart/values.yaml
82
-
83
-
84
- k8sonlineupgradev161 : |
85
-
86
- Invoke the following ``helm`` command:
87
-
88
- .. code-block:: sh
89
-
90
- helm upgrade <chart-name> helm_chart \
91
- --values helm_chart/values.yaml
92
+ helm upgrade enterprise-operator mongodb/enterprise-operator
92
93
93
94
k8sofflineupgrade : |
94
95
95
- Invoke the following ``helm`` command to upgrade with modified pull
96
- policy values:
97
-
98
- .. code-block:: sh
99
-
100
- helm upgrade <chart-name> helm_chart \
101
- --values helm_chart/values.yaml \
102
- --set registry.pullPolicy=IfNotPresent
103
-
104
- k8sofflineupgradev161 : |
105
-
106
- Invoke the following ``helm`` command to upgrade with modified pull
107
- policy values:
96
+ Invoke the following ``helm upgrade`` command.
97
+ Use the ``registry.pullPolicy=IfNotPresent`` setting. To learn
98
+ about optional |k8s-op-short| installation settings, see
99
+ :ref:`Operator Helm Installation Settings <meko-op-install-settings-helm>`.
108
100
109
101
.. code-block:: sh
110
102
111
- helm upgrade <chart-name> helm_chart \
112
- --values helm_chart/values.yaml \
113
- --set registry.pullPolicy=IfNotPresent
103
+ helm upgrade enterprise-operator mongodb/enterprise-operator \
104
+ --set registry.pullPolicy='IfNotPresent'
114
105
115
106
osonlineupgrade : |
116
107
117
- .. include:: /includes/install/install-os-311-helm.rst
118
-
119
- Invoke the following ``helm`` command:
120
-
121
- .. code-block:: sh
122
-
123
- helm upgrade <chart-name> helm_chart \
124
- --values helm_chart/values-openshift.yaml
125
-
126
- osonlineupgradev161 : |
127
-
128
- Invoke the following ``helm`` command:
108
+ Invoke the following ``helm upgrade`` command.
109
+ Use :github-raw:`values-openshift.yaml </mongodb/helm-charts/main/charts/enterprise-operator/values-openshift.yaml>` settings. To learn
110
+ about optional |k8s-op-short| installation settings, see
111
+ :ref:`Operator Helm Installation Settings<meko-op-install-settings-helm>`.
129
112
130
113
.. code-block:: sh
131
114
132
- helm upgrade <chart-name> helm_chart \
133
- --values helm_chart /values-openshift.yaml
115
+ helm upgrade enterprise-operator mongodb/enterprise-operator \
116
+ --values https://raw.githubusercontent.com/mongodb/helm-charts/main/charts/enterprise-operator /values-openshift.yaml
134
117
135
118
osofflineupgrade : |
136
119
137
- .. include:: /includes/install/install-os-311-helm.rst
138
120
139
- Invoke the following ``helm`` command with
140
- modified pull policy values:
121
+ Invoke the following ``helm upgrade`` command:
141
122
142
123
.. code-block:: sh
143
124
144
- helm upgrade <chart-name> helm_chart \
145
- --values helm_chart/values-openshift.yaml \
146
- --set registry.pullPolicy=IfNotPresent \
147
- --set registry.imagePullSecrets=<openshift-pull-secret>
148
-
149
- osofflineupgradev161 : |
150
-
151
- Invoke the following ``helm`` command with
152
- modified pull policy values:
125
+ helm upgrade enterprise-operator mongodb/enterprise-operator \
126
+ --set registry.pullPolicy='IfNotPresent' \
127
+ --set registry.imagePullSecrets='<openshift-pull-secret>' \
128
+ --values https://raw.githubusercontent.com/mongodb/helm-charts/main/charts/enterprise-operator/values-openshift.yaml
153
129
154
- .. code-block:: sh
130
+ Use the :github-raw:`values-openshift.yaml </mongodb/helm-charts/main/charts/enterprise-operator/values-openshift.yaml>`
131
+ settings, ``registry.pullPolicy=IfNotPresent``, and
132
+ ``registry.imagePullSecrets=<openshift-pull-secret>``. To learn
133
+ about optional |k8s-op-short| installation settings, see
134
+ :ref:`Operator Helm Installation Settings <meko-op-install-settings-helm>`.
155
135
156
- helm upgrade <chart-name> helm_chart \
157
- --values helm_chart/values-openshift.yaml \
158
- --set registry.pullPolicy=IfNotPresent \
159
- --set registry.imagePullSecrets=<openshift-pull-secret>
160
136
---
161
137
title : " Connect to the internet."
162
138
level : 4
@@ -165,24 +141,6 @@ ref: helm-master-connect-internet
165
141
title : " Disconnect from the internet."
166
142
level : 4
167
143
ref : helm-master-disconnect-internet
168
- ---
169
- title : " Add your OpenShift Pull Secret to the OpenShift Values file."
170
- level : 4
171
- ref : helm-master-openshift-pull-secret
172
- content : |
173
-
174
- Add the name of your ``<openshift-pull-secret>`` to the
175
- ``registry.imagePullSecrets`` setting in the
176
- ``helm_chart/values-openshift.yaml`` file.
177
- To learn more, see the ``registry.imagePullSecrets`` setting in the
178
- :doc:`Helm installation settings </reference/helm-operator-settings>`.
179
-
180
- .. code-block:: sh
181
- :emphasize-lines: 3
182
-
183
- registry:
184
- # The pull secret must be specified
185
- imagePullSecrets: <openshift-pull-secret>
186
144
187
145
---
188
146
title : " Export the |k8s-op-short| images as ``.tar`` archive files:"
0 commit comments