GithubHelp home page GithubHelp logo

Comments (4)

github-actions avatar github-actions commented on June 6, 2024

This issue is idle because it has been open for 14 days with no activity.

from aks-set-context.

OliverMKing avatar OliverMKing commented on June 6, 2024

Hello @jooooel! Can you elaborate on what the "highly concurrent setup" means? Is this in reference to the runner or the actual workflow? I'm trying to understand the cause of the error. If the RemoteDisconnected error comes from the azure/aks-set-context action (in a proper environment) I agree that we need to add retries. If the "highly concurrent setup" is what's causing the errors, instead of azure/aks-set-context, I'm not sure it makes sense to add here.

If the problem is coming from an improper environment configuration (thus making the error expected), it makes sense to handle the error at the level causing that misconfiguration. This could done with one of the solutions detailed in this article (approach 2 or 3).

from aks-set-context.

jooooel avatar jooooel commented on June 6, 2024

Hi @OliverMKing!
I'm not really sure I understand what you mean the differences are. Here's a snippet of the yaml (I have removed irrelevant parts):

jobs:
  reconciliation:
    name: "Reconciliation"
    runs-on: "ubuntu-latest"

    strategy:
      fail-fast: false # We want to know if there are more than one failing job when we fail
      matrix:
        kustomizations: ${{ fromJSON(inputs.updated_kustomizations) }} # This is a list of 30-40 items
    steps:
      - name: "Set kubectl context"
        uses: jooooel/aks-set-context@main
        with:
          cluster-name: "${{ inputs.aks_cluster }}"
          resource-group: "${{ inputs.resource_group }}"
          admin: "false"
          use-kubelogin: "true"

The error does come from the azure/aks-set-context action. As you can see from the yaml we're using it in a job that is part of a matrix (with about 30-40 jobs). They all try to connect to the same cluster, performing different kinds of validations. I don't think all of them are running at the exact same time, but enough of them are for us to get these connection errors from time to time.

My guess it might be related to some throttling or network issues on the AKS side, but I've been unable to verify that. I've been in contact with Azure support to try to figure out the root cause of the connection issues, but they were of no help unfortunately.

I understand your hesitation to put this into the action, and we are currently fine running our fork (where I added retries) if that's the case.

from aks-set-context.

github-actions avatar github-actions commented on June 6, 2024

This issue is idle because it has been open for 14 days with no activity.

from aks-set-context.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.