Hi@nirmala , based on the error message you shared, it means the Azure auth plugin for Kubernetes has been removed and is no longer supported. Try using the kubectl
client-go credential plugin provided by the kubelogin
project.
Follow these steps to install and use the kubelogin
plugin:
Install the kubelogin
plugin by following the instructions in the official documentation: https://github.com/Azure/kubelogin#installation
Once the plugin is installed, you can use it to authenticate to your Kubernetes cluster using your Azure AD credentials. To do this, run the following command:
kubectl login azure
This will open a browser window and prompt you to sign in with your Azure AD credentials. Once you have signed in, the kubelogin
plugin will generate a Kubernetes configuration file with the necessary credentials.
You can now use kubectl
to interact with your Kubernetes cluster as usual. The kubelogin
plugin will automatically handle authentication using your Azure AD credentials.
please note that the kubelogin
plugin requires that your Kubernetes cluster is configured to use Azure AD for authentication. If your cluster is not configured for Azure AD authentication, you will need to configure it before you can use the kubelogin
plugin. You can find more information about configuring Azure AD authentication for Kubernetes in the official documentation: https://docs.microsoft.com/en-us/azure/aks/azure-ad-integration
Hope that helps.
Best,
Grace