azure-cli
azure-cli copied to clipboard
Please provide the JSON examples for --service-endpoint-configuration for deploying to KUBERNETES
[Enter feedback here]
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 3bd63c4b-37f7-3641-8f15-0f5713ab71b4
- Version Independent ID: 39006efa-983d-d605-ca4f-95ffd91fbec4
- Content: az devops service-endpoint
- Content Source: latest/docs-ref-autogen/devops/service-endpoint.yml
- GitHub Login: @rloutlaw
- Microsoft Alias: routlaw
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.
- ID: 3bd63c4b-37f7-3641-8f15-0f5713ab71b4
- Version Independent ID: 39006efa-983d-d605-ca4f-95ffd91fbec4
- Content: az devops service-endpoint
- Content Source: latest/docs-ref-autogen/devops/service-endpoint.yml
- GitHub Login: @rloutlaw
- Microsoft Alias: routlaw
Author: | cvdabbeele |
---|---|
Assignees: | - |
Labels: |
|
Milestone: | - |
route to service team
we are a few months later any info on this @narula0781, @ashishonce, @romil07 ?
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
There is a way to create kubernetes service connection from CLI ? Really hard to find Azure CLI documentation about that.
I added a new issue with a payload example here https://github.com/Azure/azure-cli-extensions/issues/5385
Hope the example provided above helped. If not, please reopen this issue