You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guides/operator-guide-aks-enclave.md
+25-2Lines changed: 25 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -276,7 +276,7 @@ az aks create \
276
276
--resource-group ${RESOURCE_GROUP} \
277
277
--name ${AKS_CLUSTER_NAME} \
278
278
--location ${LOCATION} \
279
-
--kubernetes-version 1.29.13 \
279
+
--kubernetes-version 1.33 \
280
280
--network-plugin azure \
281
281
--network-policy calico \
282
282
--vnet-subnet-id ${AKS_SUBNET_ID} \
@@ -292,6 +292,9 @@ az aks create \
292
292
--nodepool-name oprnodepool \
293
293
--os-sku Ubuntu
294
294
```
295
+
:::note
296
+
Be sure to use the latest supported Kubernetes version, using the `--kubernetes-version` flag. If you use an earlier version, you must enable Long-Term Support (LTS). For details, see [Long-term support for Azure Kubernetes Service (AKS) versions](https://learn.microsoft.com/en-us/azure/aks/long-term-support) in the Microsoft documentation.
297
+
:::
295
298
296
299
#### Get the Principal ID of the Managed Identity
297
300
@@ -376,23 +379,43 @@ After completing the previous steps, follow these steps to update placeholder va
376
379
1. Get the managed identity ID by running the following:
377
380
378
381
```
379
-
MANAGED_IDENTITY_ID=$("az identity show --name "${MANAGED_IDENTITY}" --resource-group "${RESOURCE_GROUP}" --query id --output tsv")
382
+
MANAGED_IDENTITY_ID=$(az identity show --name "${MANAGED_IDENTITY}" --resource-group "${RESOURCE_GROUP}" --query id --output tsv)
380
383
```
381
384
382
385
2. In the `operator.yaml` file, update `microsoft.containerinstance.virtualnode.identity` with the managed identity ID that was returned:
383
386
387
+
- For Linux, run:
388
+
384
389
```
385
390
sed -i "s#IDENTITY_PLACEHOLDER#$MANAGED_IDENTITY_ID#g" "operator.yaml"
386
391
```
387
392
393
+
- For MacOS, run:
394
+
395
+
```
396
+
sed -i '' "s#IDENTITY_PLACEHOLDER#$MANAGED_IDENTITY_ID#g" "operator.yaml"
397
+
```
398
+
388
399
3. Update the Vault Key and Secret names with the environment variables:
389
400
401
+
- For Linux, run:
402
+
403
+
390
404
```
391
405
sed -i "s#VAULT_NAME_PLACEHOLDER#$KEYVAULT_NAME#g" "operator.yaml"
392
406
sed -i "s#OPERATOR_KEY_SECRET_NAME_PLACEHOLDER#$KEYVAULT_SECRET_NAME#g" "operator.yaml"
393
407
sed -i "s#DEPLOYMENT_ENVIRONMENT_PLACEHOLDER#$DEPLOYMENT_ENV#g" "operator.yaml"
394
408
```
395
409
410
+
- For MacOS, run:
411
+
412
+
```
413
+
sed -i '' "s#VAULT_NAME_PLACEHOLDER#$KEYVAULT_NAME#g" "operator.yaml"
414
+
sed -i '' "s#OPERATOR_KEY_SECRET_NAME_PLACEHOLDER#$KEYVAULT_SECRET_NAME#g" "operator.yaml"
415
+
sed -i '' "s#DEPLOYMENT_ENVIRONMENT_PLACEHOLDER#$DEPLOYMENT_ENV#g" "operator.yaml"
416
+
```
417
+
418
+
396
419
#### Deploy Operator
397
420
398
421
Follow these steps to deploy the Private Operator:
0 commit comments