-
-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ksync init is failing due to connection problem #293
Comments
To find the exact error added the print here - https://github.com/vapor-ware/ksync/blob/762a8185daed28c13ada85a359b21cc662c608e8/pkg/ksync/doctor/kubernetes.go#L78
|
Ping @grampelberg on this too |
We have a similar situation where the cluster is shared and engineers don't all have cluster admin. We got around this by having our CI system, which has cluster admin access, run the |
We have a shared kubernetes cluster for all the developers. We are trying out ksync with every developer having a namespace wise access to kubernetes cluster. Every developers laptop is configured with kubectl having access to only the namespace the developer is working on.
On doing ksync init with the developer laptop it fails with the below connection error.
But if I use default admin user (the one with user and password) , ksync init gets past "Cluster Connection"
I even tried giving the dev-user the complete admin role,
ksync init
still fails with the same error. Even when kubectl works !I also tried passing
--context=k8sl.XXX.com
same error.Dev user in kube config looks like below (which is not working)
Default admin user in kubeconfig which works
ksync
to work locally from a developer laptop?The text was updated successfully, but these errors were encountered: