Build with an Azure free account. Get USD200 credit for 30 days and 12 months of free services.

Start free today

Getting started with CI/CD & Azure Container Service (AKS) powered by VSTS

Sign in to queue

The Discussion

  • User profile image
    alvipeo

    When setting up a Kubernetes connection you guys have to point a finger at where to get Server Url and especially where to get KubeConfig!

  • User profile image
    alvipeo

    oooh, I found it!

  • User profile image
    alvipeo

    ok, any subsequent Release throws an error:

    Error from server (AlreadyExists): deployments.extensions "my-image" already exists

    I couldn't find how to fix it. So it's a one-time deployment, not continuous for sure.

  • User profile image
    CharlesX

    Failed to pull image "acr0625.azurecr.io/nick19860328/build18-node": rpc error: code = Unknown desc = Error response from daemon: Get https://acr0625.azurecr.io/v2/nick19860328/build18-node/manifests/latest: unauthorized: authentication required

    I got this error from Kubernetes, is there anyone can help me?

  • User profile image
    iwr

    @CharlesX:I also have this problem. I couldn't solve whatever I tried. Please can somebody help?

  • User profile image
    tshaiman

    @iwr: same here. after examining the Deployment script I found it has no "imagePullSecrets" tag.
    trying to follow this article: https://docs.microsoft.com/en-us/azure/container-registry/container-registry-auth-aks,

    anyhow the instructions in the video are lacking the explanation of proper principal and authentication between AKS and ACR.

  • User profile image
    FM75

    Thanks for the video good pace! I wish you could add the deployment.yaml part regarding how to deploy from the ACR to kubernetes. This part would be really handy. As I understand it, we do the following: push files/code to Git --> add Docker tasks on VSTS for the build stage (create image and push image) --> sends image to ACR --> then a deployment.yaml file should be used in the production environment (in VSTS) to help deploy the container to AKS. I feel this final step is missing? thanks (just so you know I am a very junior developer learning some devOps now).

Add Your 2 Cents