azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

Please provide the JSON examples for --service-endpoint-configuration for deploying to KUBERNETES

Open cvdabbeele opened this issue 3 years ago • 6 comments

[Enter feedback here]


Document Details

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

cvdabbeele avatar Aug 25 '21 12:08 cvdabbeele

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @narula0781, @ashishonce, @romil07.

Issue Details

[Enter feedback here]


Document Details

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

Author: cvdabbeele
Assignees: -
Labels:

Service Attention, customer-reported, DevOps

Milestone: -

ghost avatar Aug 25 '21 12:08 ghost

route to service team

yonzhan avatar Aug 25 '21 12:08 yonzhan

we are a few months later any info on this @narula0781, @ashishonce, @romil07 ?

cvdabbeele avatar Nov 02 '21 20:11 cvdabbeele

It is my understanding that to allow a pipeline to deploy an image to an AKS cluster, it requires a ServiceConnection of type "kubernetes" It is my understanding that such a serviceconnection can be created using the following command: az devops service-endpoint create --service-endpoint-configuration service-endpoint-kubernetes.json --organization "https://dev.azure.com/${AZURE_ORGANIZATION}" --project "${C1PROJECT}" I have been unsuccessful to find a template for this "service-endpoint-kubernetes.json" Can you please provide an example? thank you

cvdabbeele avatar Nov 24 '21 22:11 cvdabbeele

There is a way to create kubernetes service connection from CLI ? Really hard to find Azure CLI documentation about that.

survivant avatar Sep 23 '22 17:09 survivant

I added a new issue with a payload example here https://github.com/Azure/azure-cli-extensions/issues/5385

survivant avatar Sep 23 '22 19:09 survivant

Hope the example provided above helped. If not, please reopen this issue

RakeshMohanMSFT avatar Jan 09 '23 04:01 RakeshMohanMSFT