loft-sh / vcluster

vCluster - Create fully functional virtual Kubernetes clusters - Each vcluster runs inside a namespace of the underlying k8s cluster. It's cheaper than creating separate full-blown clusters and it offers better multi-tenancy and isolation than regular namespaces.
https://www.vcluster.com
Apache License 2.0
6.26k stars 398 forks source link

Docker Container #168

Closed bradkwadsworth-mw closed 2 years ago

bradkwadsworth-mw commented 2 years ago

Is there a reason why the Dockerfile builds cmd/vcluster/main.go and not cmd/vclusterctl/main.go? Was wondering because I would like to have an option to run vcluster commands in a pipeline.

LukasGentele commented 2 years ago

The reason for that is the Dockerfile in this project is used to run the vcluster container, so it contains the vcluster itself, not the CLI. We don't have an "official" vcluster CLI image on docker hub yet, but definitely something we should add. In the meantime, there are user-contributed images out there already that may work for you: https://hub.docker.com/r/efrecon/vcluster