@@ -239,7 +239,7 @@ follows:
239
239
240
240
- Edit the \ ``installer.yaml `` file to
241
241
replace \ ``eks.amazonaws.com/role-arn ``. Replace the ARN here with
242
- the ARN for the OIDC-based role you’ve created.
242
+ the Amazon Resource Name ( ARN) for the OIDC-based role you’ve created.
243
243
244
244
- Use the following command to deploy the cluster:
245
245
@@ -262,17 +262,22 @@ Clone the Helm installer directory using the following command:
262
262
263
263
Navigate to the
264
264
``amazon-sagemaker-operator-for-k8s/hack/charts/installer `` folder. Edit
265
- the \ ``values.yaml `` file, which includes high-level parameters for the
266
- Chart. Replace the ARN here with the ARN for the OIDC-based role you’ve
265
+ the \ ``rolebased/ values.yaml `` file, which includes high-level parameters for the
266
+ Chart. Replace the role ARN here with the Amazon Resource Name ( ARN) for the OIDC-based role you’ve
267
267
created.
268
268
269
269
Install the Helm Chart using the following command:
270
270
271
271
::
272
272
273
- helm install rolebased/ --generate-name
273
+ kubectl create namespace sagemaker-k8s-operator-system
274
+ helm install --namespace sagemaker-k8s-operator-system sagemaker-operator rolebased/
274
275
275
276
277
+ .. warning ::
278
+ If you decide to install the operator into a namespace other than the one specified above,
279
+ you will need to adjust the namespace defined in the IAM role ``trust.json `` file to match.
280
+
276
281
After a moment, the chart will be installed with a randomly generated
277
282
name. Verify that the installation succeeded by running the following
278
283
command:
@@ -285,8 +290,8 @@ Your output should look like the following:
285
290
286
291
::
287
292
288
- NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
289
- rolebased-1234567 default 1 2019-11-20 23:14:59.6777082 +0000 UTC deployed sagemaker-k8s-operator-0.1.0
293
+ NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
294
+ sagemaker-operator sagemaker-k8s-operator-system 1 2019-11-20 23:14:59.6777082 +0000 UTC deployed sagemaker-k8s-operator-0.1.0
290
295
291
296
292
297
Verify the operator deployment
0 commit comments