MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.2k stars 21.34k forks source link

Re-configuring sourcecontrolconfiguration for AKS cluster #59115

Closed sormita closed 1 year ago

sormita commented 4 years ago

I had initially created a configuration for my AKS cluster using k8sconfiguration. Some issues happened with my access in the subscription so I decided to delete the configuration and re-configure it again. But 'az k8sconfiguration delete' does not work as expected and the 'sourcecontrolconfiguration' is not deleted. Please find attached the powershell command history for your reference. DeleteConfiguration.txt

When I try to re-configure using the below command: PS C:\Users\SormitaChakraborty> az k8sconfiguration create --name cluster-config --cluster-name HealthCareAKS --resource-group Azure_Arc_Training --operator-instance-name cluster-config --operator-namespace cluster-config --repository-url https://github.com/sormita/ARCGitOps --scope cluster --cluster-type connectedClusters

I am getting the following output: PS C:\Users\SormitaChakraborty> az k8sconfiguration create --name cluster-config --cluster-name HealthCareAKS --resource-group Azure_Arc_Training --operator-instance-name cluster-config --operator-namespace cluster-config --repository-url https://github.com/sormita/ARCGitOps --scope cluster --cluster-type connectedClusters Command group 'k8sconfiguration' is in preview. It may be changed/removed in a future release. Operation returned an invalid status code 'Bad Request'


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

CHEEKATLAPRADEEP-MSFT-zz commented 4 years ago

@sormita Thanks for the question! We are investigating and will update you shortly.

rayoef commented 1 year ago

unassign: @mlearned

rayoef commented 1 year ago

assign: @JnHs

JnHs commented 1 year ago

Hi @sormita - first of all, I apologize for the extremely long time without responding to your issue. As this is quite old, I am going to close it now. Please see our latest topic at https://learn.microsoft.com/en-us/azure/azure-arc/kubernetes/tutorial-use-gitops-flux2 and you are welcome to file new GitHub Issues if you still have concerns. Thank you and again, my apologies!

JnHs commented 1 year ago

please-close