Hi Debojyoti Roy Chowdhury,
Thank you for reaching out to us on the Microsoft Q&A forum.
We understand that you are facing an error while trying to create a cluster on AKS using your deployment.yaml
file. The error message you received, "couldn't get current server API group list: the server has asked for the client to provide credentials," typically indicates an authentication issue.
When we followed the exercise in the module, we did not encounter any errors and achieved positive results. We have a screenshot of the successful results as well. After executing step 2, we opened the integrated editor in Cloud Shell by entering code .
, then opened the deployment.yaml
file. We directly pasted the YAML code from step 9 into the deployment.yaml
section and saved it by clicking Ctrl+S. After that, we executed the remaining steps as per the document without any issues.
We recommend double-checking your authentication and ensuring that you are logged in correctly. If you continue to face difficulties, please let us know, and we would be happy to assist you further.
If you have found the answer provided to be helpful, please click on the "Upvote and Accept Answer" button so that it is useful for other members in the Microsoft Q&A community.