Make it easy to install a specific version of Kmesh
What would you like to be added:
In the future, we may need a command line tool to install specific version of Kmesh with one click.
But since the project is still in its early stage, we may need some simpler methods quickly to implement this.
Why is this needed:
Until now, three versions of Kmesh has been released.
But I find there is no easy way to install specific version of Kmesh except directly modifying the image tag in the yaml.
I can work on making a cli which will parse the specified version yaml files (from https://github.com/kmesh-net/kmesh/tree/main/deploy/yaml. replacing main with the specified version) and deploy it. Something like this:
kmesh init -v 1.0
Great!
I wonder a standalone binary may be better? Similar to istioctl, which could add more peripheral functions besides installation in the future. WDYT? @hzxuzhonghu @nlgwcy
agree with you, I think we need kmeshctl, which used to query the enabling status of the kmesh feature, traffic manage rules...
agree with you, I think we need
kmeshctl, which used to query the enabling status of the kmesh feature, traffic manage rules...
Understood. Can you list out all the necessary CLI flags? I can start with the init command if you guys give it a green light.
maybe need kmeshctl dashbord prometheus to start prometheus dashboard.
Refer https://github.com/istio/istio/blob/0a1dadde9dd9d7480574b0f43824e16120d86750/istioctl/pkg/dashboard/dashboard.go#L68-L95
Just sum up: some corse incents
kmeshctl installto install kmeshkmeshctl config-dumpto dump and bpf mapkmeshctl xxxto setup waypoint for namespace/service/pods
Welcome to supplement more cases
kmeshctl update/upgrade
ping @thebigbone would you like to take it
ping @thebigbone would you like to take it
Yes. I can start working on it.
ping @thebigbone , kmeshctl framework has been merged into master (https://github.com/kmesh-net/kmesh/tree/main/ctl) . You could implement your install subcomamnd based on it.
@YaoZengzeng should I include the installation of istioctl in the kmeshctl install command? The same procedure which is mentioned on istio documentation: https://istio.io/latest/docs/ambient/getting-started/
I don't think it's necessary. Just install Kmesh related components is enough :)
I don't think it's necessary. Just install Kmesh related components is enough :)
Great. I will open a PR in a few hours.