Last active
August 24, 2022 14:58
-
-
Save besteban1989/9dbe94375d0aef103b5dfa5211bffe86 to your computer and use it in GitHub Desktop.
Pod identity troubleshooting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Delete pod identity | |
AADVERSION='v1.6.3' | |
kubectl delete -f https://raw.githubusercontent.com/Azure/aad-pod-identity/$AADVERSION/deploy/infra/deployment-rbac.yaml | |
# If the previous command get stuck, open an additional tab and run the following command | |
kubectl get azureassignedidentity -A -o=json | jq '.items[].metadata.finalizers=null' | kubectl apply -f - | |
kubectl delete -f https://raw.githubusercontent.com/Azure/aad-pod-identity/$AADVERSION/deploy/infra/mic-exception.yaml | |
# Install pod identity | |
kubectl apply -f https://raw.githubusercontent.com/Azure/aad-pod-identity/$AADVERSION/deploy/infra/deployment-rbac.yaml | |
kubectl apply -f https://raw.githubusercontent.com/Azure/aad-pod-identity/$AADVERSION/deploy/infra/mic-exception.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment