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.28k stars 400 forks source link

Automate the releases of loftsh/vcluster-docker-desktop #985

Closed kkapelon closed 1 year ago

kkapelon commented 1 year ago

Is your feature request related to a problem?

I would like to have the latest version of vcluster CLI in a dockerhub image. This could be easily used in Docker based CI systems such as GitHub actions, Codefresh, Drone.io etc

Which solution do you suggest?

Either

  1. include the CLI in the vcluster image OR
  2. automate vcluster-docker-desktop releases OR
  3. include the vcluster CLI in loft-ci OR
  4. create a brand new dockerhub image called "vcluster-cli" (something similar) that is automatically updated when a new vcluster release comes out

Which alternative solutions exist?

I will use vcluster-docker-desktop for now

Additional context

No response

rohantmp commented 1 year ago

From the next release, with the push to ghcr.io/loft-sh, docker run ghcr.io/loft-sh/vcluster-cli will be available.

So you can do docker run ghcr.io/loft-sh/vcluster-cli vcluster list

We have been pushing loftsh/vcluster-cli for older versions, but looks like that's not public.

The current docker run ghcr.io/loft-sh/vcluster-cli image is tagged v0.15.0-alpha.2 (no major changes, the alpha release was to trigger the release actions for images), but you can use it like vcluster create --chart-version v0.14.2 to create stable releases of vcluster which will reference older images too.

rohantmp commented 1 year ago

Closing as fixed, feel free to reopen if you feels this needs more discussion, thanks :)