kmesh icon indicating copy to clipboard operation
kmesh copied to clipboard

kmeshctl install

Open thebigbone opened this issue 1 year ago • 17 comments

What type of PR is this?

/kind feature

What this PR does / why we need it:

adds install command for kmeshctl which will install all the resources for kmesh in a k8s cluster

Which issue(s) this PR fixes: Fixes #552

Does this PR introduce a user-facing change?:

NONE

thebigbone avatar Oct 23 '24 08:10 thebigbone

Welcome @thebigbone! It looks like this is your first PR to kmesh-net/kmesh 🎉

kmesh-bot avatar Oct 23 '24 08:10 kmesh-bot

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 48.46%. Comparing base (8c72e4c) to head (1e39cec). Report is 168 commits behind head on main.

see 35 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 865f832...1e39cec. Read the comment docs.

codecov[bot] avatar Oct 24 '24 14:10 codecov[bot]

The overall framework seems fine for me, @hzxuzhonghu PTAL.

YaoZengzeng avatar Oct 26 '24 06:10 YaoZengzeng

ping @hzxuzhonghu

YaoZengzeng avatar Nov 06 '24 01:11 YaoZengzeng

please see above comment, when you set version-=0.5, then you will install kmesh with latest image https://github.com/kmesh-net/kmesh/blob/release-0.5/deploy/yaml/kmesh.yaml#L72

This is not expected, can you replace that image?

I would suggest we support v0.5.0 or 0.5.0 rather than 0.5, see our releases

hzxuzhonghu avatar Nov 06 '24 08:11 hzxuzhonghu

please see above comment, when you set version-=0.5, then you will install kmesh with latest image https://github.com/kmesh-net/kmesh/blob/release-0.5/deploy/yaml/kmesh.yaml#L72

This is not expected, can you replace that image?

I would suggest we support v0.5.0 or 0.5.0 rather than 0.5, see our releases

Should I just replace the image and get the yaml files from main then?

thebigbone avatar Nov 06 '24 13:11 thebigbone

Should I just replace the image and get the yaml files from main than?

This probably not work, think of the case that a yaml is updated because of some new features. The old image may cannot work with the new daemonset yaml

hzxuzhonghu avatar Nov 07 '24 01:11 hzxuzhonghu

Removed the branch and instead using tags now.

thebigbone avatar Nov 07 '24 09:11 thebigbone

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hzxuzhonghu

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

kmesh-bot avatar Nov 12 '24 06:11 kmesh-bot

New changes are detected. LGTM label has been removed.

kmesh-bot avatar Nov 13 '24 07:11 kmesh-bot

Adding label do-not-merge/contains-merge-commits because PR contains merge commits, which are not allowed in this repository. Use git rebase to reapply your commits on top of the target branch. Detailed instructions for doing so can be found here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

kmesh-bot avatar Nov 13 '24 07:11 kmesh-bot

The kube package was changed so it's not able to find ApplyYamlContents

thebigbone avatar Nov 13 '24 07:11 thebigbone

Can you implement this method? Or use helm client https://github.com/kurator-dev/kurator/blob/ac68f35c8799773aea22643e39ca032a20e65fb7/pkg/client/client.go#L66

hzxuzhonghu avatar Nov 20 '24 04:11 hzxuzhonghu

@thebigbone This PR can be merged after you pass CI.

LiZhenCheng9527 avatar Dec 03 '24 07:12 LiZhenCheng9527

Can you implement this method? Or use helm client https://github.com/kurator-dev/kurator/blob/ac68f35c8799773aea22643e39ca032a20e65fb7/pkg/client/client.go#L66

Should I use the istio's implementation directly in kube/client.go?

thebigbone avatar Jan 22 '25 08:01 thebigbone

ping @LiZhenCheng9527

thebigbone avatar Jan 27 '25 06:01 thebigbone

I have implemented the method @LiZhenCheng9527

thebigbone avatar Jan 28 '25 06:01 thebigbone