kubestellar / kubeflex

A flexible and scalable platform for running Kubernetes control plane APIs.
Apache License 2.0
46 stars 13 forks source link

feature: Allow override specification of the name of the docker container hosting the kubeflex cluster #230

Closed eaepstein closed 4 months ago

eaepstein commented 5 months ago

Feature Description

"kflex init" assumes that the name of the docker container hosting the kubeflex cluster is "kubeflex-control-plane", which is the name of the container created by "kflex init --create-kind".

The default name for the container when using K3D, for example "k3d cluster create kubeflex", is "k3d-kubeflex-server-0". K3D does not appear to have an option to specify a different name, so after creation this container must be renamed and restarted for kubeflex to init.

Proposed Solution

It would be convenient to be able to specify the desired container name in the "kflex init" command.

Want to contribute?

Additional Context

No response