velad icon indicating copy to clipboard operation
velad copied to clipboard

[Feature Request] Skip Kubernetes install

Open chivalryq opened this issue 3 years ago • 6 comments

For users who have K8s already, VelaD can provide a --skip-cluster param so that VelaD can be used as offline KubeVela install toolkit.

chivalryq avatar Jun 01 '22 07:06 chivalryq

It's good !

ArenaSu avatar Jun 01 '22 07:06 ArenaSu

How to load the image in this case?

wonderflow avatar Jun 01 '22 07:06 wonderflow

We've talked about this problem. For now, I haven't come up with an idea. With kubeconfig only, it's impossible to load images.

chivalryq avatar Jun 01 '22 08:06 chivalryq

@ArenaSu came up with an idea.

  1. Add --skip-cluster and param like --registry, so that all vela images will be pushed in this image registry.
  2. Replace all image prefix in vela-core helm chart.

Note that --skip--cluster must came with --registry, or throw an error.

chivalryq avatar Jun 01 '22 09:06 chivalryq

Maybe we should split this into two commands.

  1. push-images will push vela-core and VelaUX images to image registry, which save time for docker pull and docker push.
  2. install accept --skip-cluster and --registry. When passing --registry, all vela image registry will be replaced.

chivalryq avatar Jun 06 '22 03:06 chivalryq

I don't think this is a necessary work by now.

wonderflow avatar Jun 06 '22 04:06 wonderflow