Skip to content

Commit db8f75d

Browse files
author
sophie zhao
committed
add parameters for extension namespace
1 parent 235de8b commit db8f75d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/machine-learning/how-to-troubleshoot-kubernetes-extension.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,19 +84,19 @@ To check the Helm history of the Azure ML extension, use the following commands:
8484
```
8585
# Check if there is a release of the Azure ML extension Helm chart installed on the cluster
8686
# Note: The default namespace for the extension is usually 'azureml'. If you specified a different namespace during installation, replace 'azureml' with your namespace.
87-
helm list -n azureml
87+
helm list -n <extension-namespace>
8888

8989
# Get helm history
90-
# Note: <release-name> can be retrieved from the output of the previous command
91-
helm history -n azureml <release-name>
90+
# Note: <release-name> and <release-namespace> can be retrieved from the output of the previous command
91+
helm history -n <extension-namespace> <release-name>
9292
```
9393
There is a Helm history limit of 10 revisions, but this limit applies only to revisions in a non-transient state.
9494
If you see multiple revisions in a pending-rollback or pending-upgrade state in the Helm history output, run the script below to clean up the Helm history on the cluster:
9595
```
9696
#!/bin/bash
9797

9898
# Set release name and namespace
99-
RELEASE_NAME=$1 # release_name is the name of the azure ml extension helm release
99+
RELEASE_NAME=$1 # release-name is the name of the azure ml extension helm release
100100
NAMESPACE=$2 # namespace is the azure ml extension's namespace. Default value is azureml
101101

102102
# Validate input
@@ -136,7 +136,7 @@ How to run the script:
136136
```
137137
chmod +x delete_stuck_helm_secrets.sh
138138

139-
./delete_stuck_helm_secrets.sh <release_name> <extension_namespace>
139+
./delete_stuck_helm_secrets.sh <release-name> <extension-namespace>
140140
```
141141
142142
### Error Code of HealthCheck

0 commit comments

Comments
 (0)