Comments (6)
So, if you get an error like "dialout i/o timeout" it may be DNS timing out. Not sure if this is worth highlighting in a separate ticket, as a user-aide error message.
Typica with Go, I get these from kubectl
once in a while, my Virgin Media ISP also has crappy DNS. I've filed an issue once – kubernetes/kubernetes#33877, not sure what's been done about. We can probably find something to do about it and make a PR to kubectl
(or Go?), i.e. match timeout error and make the message more useful.
from eksctl.
Sidebar, the reason I was doing the debugging is Comcast DNS servers we timing out on certain AWS domain names (but not others). So, eksctl didn't work, but I could reach other k8s clusters on aws and gke (but my Plume wifi devices, which dial home to an AWS domain, had been offline for a week for the same reason).
So, if you get an error like "dialout i/o timeout" it may be DNS timing out. Not sure if this is worth highlighting in a separate ticket, as a user-aide error message.
from eksctl.
Turns out this is pretty complicated, the SDK has a lot of logic to deal with different configuration modes, however there is no way to obtain profile being used. We can get credentials struct, but it doesn't have profile in it as such. Also, there is a mode where profile isn't even set, i.e. you just have credentials set as environment variables and no ~/.aws/credentials
file.
I think the most sensible way would be to expose a flag that would let you set profile explicitly to avoid any doubts about environment variables or anything else.
from eksctl.
Maybe we could print a sanitised credentials struct, e.g.:
2018-06-10T08:54:23-07:00 [▶] AWS credentials: AccessKeyID:"AIF***VA2A", SecretAccessKey:"6Bhg***B3LX", SessionToken:"GN8DCY***hD", ProviderName:"SharedConfigCredentials: /Users/ilya/.aws/credentials"
from eksctl.
I would probably skip showing secret stuff (SecretAccessKey, SessionToken), even in an elided format. Otherwise, LGTM.
from eksctl.
We have --profile
now, it should help to eliminate doubts. The fundamental issues is that credentials may be set without any profile as such, so the SDK doesn't have a way to tell us anything about profile used... Closing for now, open if you disagree :)
from eksctl.
Related Issues (20)
- `migrate-to-pod-identity` fails with "Association already exists"
- [Bug] Incorrect architecture for i4g instance types. Does not use arm image. HOT 1
- [Bug] `eksctl utils update-aws-node` downgraded aws-node significantly instead of upgrading it HOT 5
- Parallelize `update` integration test suite
- Support enabling NetworkPolicy enforcement via eksctl cluster config HOT 1
- [Feature] Add capability to add tags to cluster metadata after creation HOT 3
- [Help] Error: timed out waiting for addon "aws-guardduty-agent" to become active, status: "CREATING"
- [Feature] eksctl roleOnly parameter for podIdentityAssociations HOT 2
- [Bug] Should be able to configure the region in which to run integration test suites
- [Bug] delete nodegroup requires --approve, but delete cluster doesn't - a surprise HOT 2
- Managed node group not creating anymore HOT 2
- [Bug] Subnet validation fails on previously valid subnet configuration (<= 0.176) with "Error: all private subnets from [az], that the cluster was originally created on, have been deleted" HOT 3
- [Help] What is the right way to upgrade a nodegroup with different launch template version? HOT 3
- [Feedback] Nodegroups - /usage/nodegroups/ HOT 1
- CRUD integration test intermittently fails HOT 1
- cpuCredits for ManagedNodeGroup HOT 2
- [Bug] a non-GPU AMI is used for g6 instance types HOT 3
- "Attribute 'Arn' does not exist" error on the controlPlane resource during the stack creation HOT 3
- [Help] Guidance / Documentation on proxying private cluster with SSM bastion host HOT 1
- [Bug] Logs report "failed to acquire semaphore" during deletion 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 eksctl.