You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running vcluster create <name> from a Gitlab runner the create commands does not end.
What did you expect to happen?
The vcluster is create and the command continues or ends.
How can we reproduce it (as minimally and precisely as possible)?
Run vcluster create <name> from a Gitlab runner.
Anything else we need to know?
The same command works fine on the same cluster but run from my local machine. MacOS, vcluster installed with brew, same version.
Host cluster Kubernetes version
Client Version: v1.31.0Kustomize Version: v5.4.2Server Version: v1.28.12-eks-a18cd3aWARNING: version difference between client (1.31) and server (1.28) exceeds the supported minor version skew of +/-1
vcluster version
vcluster version 0.20.0
VCluster Config
No special config used...
The text was updated successfully, but these errors were encountered:
@jakoberpf thanks for creating this issue! The problem is that the gitlab runner doesn't have docker installed so vcluster CLI does port-forwarding here (although I agree the messaging is not clear), which blocks the execution. If you do not want to "connect" to the vcluster after creating it you could just run the create command with --connect=false to avoid blocking execution.
@FabianKramm that a great explanation thanks. One more question though. I missed to also state that the vcluster is created on a EKS cluster. Being the fact that we are creating the vcluster on a remote EKS, why is docker need on the gitlab runner for the vcluster cli?
@jakoberpf it's needed to start a proxy in the background to forward the connection to the vCluster. If your vCluster is reachable by other means in the gitlab runner, you can also use the --server flag in vcluster connect to not start the background proxy, another option would be to create a load balancer via --expose. All options are described here: https://vcluster.com/docs/vcluster/manage/accessing-vcluster#expose-vcluster
What happened?
When running
vcluster create <name>
from a Gitlab runner the create commands does not end.What did you expect to happen?
The vcluster is create and the command continues or ends.
How can we reproduce it (as minimally and precisely as possible)?
Run
vcluster create <name>
from a Gitlab runner.Anything else we need to know?
The same command works fine on the same cluster but run from my local machine. MacOS, vcluster installed with brew, same version.
Host cluster Kubernetes version
vcluster version
vcluster version 0.20.0
VCluster Config
No special config used...
The text was updated successfully, but these errors were encountered: