Comments (7)
Hi folks!
We're having some trouble to reproduce the EKS connectivity problem. We tried with several (new and old) clusters and all of them connect. The authentication works with an ExecConfig using aws eks get-token
under the hood (found in the kubeconfig).
As for debug logs, they would only show after the proxy properly started, which does not help if the proxy boot itself fails. @monojack made a patch release last Thursday to improve logging. Unfortunately, that does still not fix the EKS connectivity issue but it might uncover more information as to why it fails on your end.
For those who reached out to us:
- @GilbertGeliba: The release also included a minor fix to properly stringify parameters so your problem should no longer happen.
- @Serverfrog: from the logs we believe you are still on the old version, can you update and try again? The previously mentioned fix might also have fixed your problem.
- @joebowbeer, @bala-gif, @StefanSa: From Joe's latest message it seems that despite the improved logging, we still have no insight into what causes the problem. Would anyone be open to join our Discord and have a short call with us to get to the root cause of this problem?
Thank you all for taking the time to report this to us.
from monokle.
For me, it seems like related to spaces in context name, e.g. cluster-id-John Smith-namespace. This context name is created by a CLI tool that does user authentication in my company.
If I manually edit the kubeconfig file and remove the spaces, I can connect to the cluster.
from monokle.
thanks for adding that detail @GilbertGeliba - very helpful!
from monokle.
Nothing helped. I dont see any space issue in my kubeconfig file.. Adding more detailed info in debug logs would help much to narrow down.
[root@ ~]# kubectx
[email protected]
[email protected]
[11:02:57 - stderr]
Cannot connect to the cluster: An unknown problem occurred. Consider taking a peek at the debug logs.
from monokle.
Hi there,
the same Bug here.
any Help ?
from monokle.
The thing i found (PS: Pressing on View Debug Logs
doesn't bring up the debug log location)
[2024-02-28 15:46:25.244] [browser] [info] [kubectl-proxy]: Append Server Path enabled.
[2024-02-28 15:46:25.300] [browser] [info] [kubectl-proxy] {
type: 'stderr',
content: 'Error: flags cannot be placed before plugin name: --context=k3d-default\n',
timestamp: 1709131585300
}
[2024-02-28 15:46:25.306] [browser] [info] [kubectl-proxy] {
type: 'exit',
content: 'Exited with code 1',
code: 1,
timestamp: 1709131585306
}
[2024-02-28 15:46:25.306] [browser] [error] Cluster error reason: exit_before_resolve
from monokle.
In my case (MacOS connecting to EKS), the debug log just shows a kubectl proxy command
kubectl --context="arn:aws:eks:us-west-2:XXX:cluster/YYY" --kubeconfig="/Users/me/.kube/config" \
proxy --port=30007 --append-server-path=true
If I run this myself, I see:
error: listen tcp 127.0.0.1:30007: bind: address already in use
If I remove the --port
argument, then the proxy runs and seems to be working.
Perhaps this provides a clue?
from monokle.
Related Issues (20)
- Monokle doesn't parse multiple-files KUBECONFIG variable. Separated by ":". HOT 1
- Helm preview not working in 2.3 HOT 3
- Add confirmation dialog to Helm Uninstall in Cluster mode HOT 1
- Dry-run compare in Helm Browser
- Deploy Preview Configurations
- crash when directory exists for new project from git HOT 1
- Integrate with Cloud HOT 8
- Add Namespace selector for Cluster in Compare & Sync
- Better kubectl error details
- Action to add a pre-commit monokle-cli hook
- Not supportive to Ubuntu Linux HOT 13
- [Bugs]The package size is too big of v2.4.3 HOT 4
- Strange formatting of errors in notification popup
- Crash when modifying kustomize overlay that is being dry-run
- Version 2.4.2 hangs on load HOT 3
- Setting KUBECONFIG in settings doesn't detect proper config file
- [crash] Something went wrong
- Logs tab show OIDC Error HOT 3
- Add Chinese voice support
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 monokle.