Coder Social home page Coder Social logo

Comments (11)

emmenko avatar emmenko commented on August 16, 2024 3

Nvm, I managed to solve this. I need to pass the full path to the command 🙈

command: /usr/local/bin/aws-iam-authenticator

from kube-forwarder.

proAlexandr avatar proAlexandr commented on August 16, 2024 2

Hi @satyamkapoor
Thank you that you use Kube Forwarder and for the bug report! I have investigated the problem some hours ago and I hope we will fix it in the next version within a week.

Details
  1. We have to update kubernetes-client/javascript version to 0.10.2 in order to apply the patch for kubernetes-client/javascript#243
  2. kubernetes-client/javascript uses shelljs which has a problem with electron. We have to read this issue shelljs/shelljs#480 and figure out a workaround.

from kube-forwarder.

emmenko avatar emmenko commented on August 16, 2024 2

I'm also having this problem (version 1.3.0).

Screenshot 2019-07-23 at 13 59 28

I do have aws-iam-authenticator installed:

image

My config looks like this:

users:
- name: <cluster_name>
  user:
    exec:
      apiVersion: client.authentication.k8s.io/v1alpha1
      args:
      - token
      - -i
      - <token>
      command: aws-iam-authenticator
      env:
      - name: AWS_PROFILE
        value: <account_name>

from kube-forwarder.

zen avatar zen commented on August 16, 2024 1

I have similar issue with GKE clusters. Looks like this problem would be very limiting for adoption, since AWS and GCP are 2 biggest platforms for managed k8s

from kube-forwarder.

proAlexandr avatar proAlexandr commented on August 16, 2024

The issue is fixed here bcfafd1. Will be released soon.

from kube-forwarder.

lnikell avatar lnikell commented on August 16, 2024

@satyamkapoor we've just released new version, could you please check it?

from kube-forwarder.

lnikell avatar lnikell commented on August 16, 2024

@zen also should work now with GKE as well

from kube-forwarder.

satyamkapoor avatar satyamkapoor commented on August 16, 2024

@satyamkapoor we've just released new version, could you please check it?

Hey, Thanks for the update. Just tried to initiate working with the application and got a bummer -

_Failed to connect to arn:aws:eks:eu-west-1:0000000000:cluster/my-cluster-name: aws: command not found. Please make sure you have installed AWS CLI. (https://docs.aws.amazon.com/cli/)

Do you want to continue saving?


Upon trying to add my 'docker for desktop' cluster, I get this message -
image

Am I doing something wrong?

from kube-forwarder.

proAlexandr avatar proAlexandr commented on August 16, 2024

Hi @satyamkapoor

_Failed to connect to arn:aws:eks:eu-west-1:0000000000:cluster/my-cluster-name: aws: command not found.

Do you install AWS CLI? For example brew install awscli.

Upon trying to add my 'docker for desktop' cluster, I get this message

This means that something with connection went wrong. Please, make sure that you enter the right credentials and your cluster is running.

from kube-forwarder.

satyamkapoor avatar satyamkapoor commented on August 16, 2024

Hello,

I do have AWS cli installed and configured. Upon running brew install cli, it updated things but still the same error. :( Maybe just my system's issue

from kube-forwarder.

satyamkapoor avatar satyamkapoor commented on August 16, 2024

Thanks! Works great! I'm closing the issue.

from kube-forwarder.

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.