Open ahmedwaleedmalik opened 6 months ago
Maybe a krew plugin could also do the job
Maybe a krew plugin could also do the job
@toschneck The idea is to run this outside of Kubernetes and directly on the VMs themselves. In that case, relying on Kubectl and Krew doesn't sound ideal.
User Story As a KubeLB user/admin, I'd like to utilize KubeLB to provide LoadBalancers L4/L7 outside of Kubernetes as well.
Solution details Introduce KubeLB CLI, which can take YAML as input and create the required configurations on the management cluster. For now, this will only support L4 load balancing.
For example, create an LB like the following on the consumer cluster:
loadbalancer.yaml
kubelb create --loadbalancer loadbalancer.yaml --management-cluster ${path-to-kubeconfig-for-management-cluster}
This should result in the creation of an LB, and CLI should wait for the status to be populated to output the LB IP to the user.
Acceptance criteria Needs more planning to finalize the feature set for the CLI