Comments (8)
Hey @dperic123 -
I tried to fix this before releasing the latest version and that latest tag should be working. Can you try using the latest version of the module (1.3.0
) and see if this still happens? Also, just to be sure, make sure you've glanced at the readme and installed the necessary authenticator binary.
@ozbillwang - this is the exact problem I saw and solved that we discussed elsewhere. Im unsure when it was introduced as a problem but likely between 1.1.0 and 1.2.x
from terraform-aws-eks.
@brandoconnor
That's not the problem. The error is about the naming of aws-iam-authenticator
, it used to be called heptio-authenticator-aws
.
kubernetes-sigs/aws-iam-authenticator@678cdff
So just copy it, rename to aws-iam-authenticator
and put it in /usr/bin or /usr/local/bin, this problem should be fixed.
from terraform-aws-eks.
Let me test. I'm using a windows jump box and set it in the environment variables.
from terraform-aws-eks.
Looks like the error I get now is:
- null_resource.update_config_map_aws_auth: Error running command 'kubectl apply -f .//config-map-aws-auth_EKSClusterTes
t.yaml --kubeconfig .//kubeconfig_EKSClusterTest': exit status 1. Output: error: You must be logged in to the server (th
e server has asked for the client to provide credentials)
from terraform-aws-eks.
Sorry, @ozbillwang I misread the error but it presents a similar error to the path issue I saw.
@dperic123 - I can't say I've tried this on Windows yet aside from Linux within Windows (WSL). Your AWS credentials should be assumed from your shell that ran terraform and any other authentication bits should be contained in the config files terraform created.
from terraform-aws-eks.
Hey so I got it working! Now how do I connect to the actual EKS cluster to set up the dashboard?
The connection to the server localhost:8080 was refused - did you specify the right host or port?
So I was able to set up the dashboard but am not able to connect. Do I need to open the specific port on the ingress SG? @brandoconnor
from terraform-aws-eks.
@dperic123 - It's difficult to help when I can't see what your code looks like and I don't know what you tried when troubleshooting. This module aims to get you to the point where a worker cluster is live and connected to a live EKS control plane with any configuration needed to communicate to that cluster local. It sounds like you've reached this point but you're struggling to get further in connecting to the dashboard service.
AWS has good docs on how to get you this far. By your description, it sounds like you don't have the dashboard proxy up. Read up on that link and comment back (with code samples and what was tried) if you've gone through those docs and still see trouble. I'm sure you can make it go! 💨
from terraform-aws-eks.
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
from terraform-aws-eks.
Related Issues (20)
- Add upgrade_policy config block for aws_eks_cluster HOT 1
- Created ec2 instances cannot join the cluster HOT 1
- Add depends_on for the 'resource "aws_eks_addon" "before_compute"' HOT 1
- dynamic number of access_entires HOT 2
- Documentation needs improvement + linting issue?
- Using terraform <1.6.0, `aws_ec2_tag` with dynamic tag *values* results in for_each error about unknown *keys* HOT 1
- Missing node to node security group
- AWS CLB creation question HOT 1
- 'cluster_service_ipv4_cidr' input variable apparently only accepts RFC1918 HOT 1
- Add gitlab ci for module creation HOT 1
- Use aws_vpc_security_group_egress_rule and aws_vpc_security_group_ingress_rule instead of aws_security_group_rule HOT 1
- [karpenter] enable ability to import existing eventbridge rules HOT 4
- [Karpenter] upgrade to v.1.0 HOT 2
- Karpenter module terraform destroy running into: DeleteConflict: Cannot delete a policy attached to entities HOT 1
- Support conditional instance refreshing configuration HOT 4
- Karpenter is not authorized to perform: ec2:CreateTags on exiting WorkerNodes HOT 2
- OIDC URL alternatives to use on `aws_eks_identity_provider_config` for IRSA HOT 4
- Docs is not right HOT 3
- Karpenter module tries to re-add empty tags to aws_eks_pod_identity_association HOT 3
- Support using Cilium as a CNI HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-aws-eks.