kmesh icon indicating copy to clipboard operation
kmesh copied to clipboard

Kmeshctl support for structured bpftool dumped map content

Open LiZhenCheng9527 opened this issue 1 year ago • 3 comments

Task description: Now the contents of the map dumped by bpftool are unit32 or hexadecimal. We need to convert to get the information we need So we want the kmeshctl tool to be able to present a structured view of what is in a Kmesh bpf map. So that it is easier to develop and locate problems.

{
        "key": {
            "": {
                "netns_cookie": 855700490,
                "addr": {
                    "": {
                        "ip4": 855700490,
                        "ip6": [855700490,0,0,0
                        ]
                    }
                }
            }
        },
        "value": 0

Solution: kmeshctl <kmesh-pod-name> get map to get the bpf map created by kmesh. `kmeshctl get to get structured map contents. If anyone else has a better design they are able to, they can suggest it in the issue as well!

Who can join or take the task:

The good first issue is intended for first-time contributors to get started on his/her contributor journey.

After a contributor has successfully completed 1-2 good first issue's, they should be ready to move on to help wanted items, saving the remaining good first issue for other new contributors.

How to join or take the task:

Just reply on the issue with the message /assign in a separate line.

Then, the issue will be assigned to you.

How to ask for help:

If you need help or have questions, please feel free to ask on this issue. The issue author or other members of the community will guide you through the contribution process.

LiZhenCheng9527 avatar Dec 13 '24 09:12 LiZhenCheng9527

/assign

cr7258 avatar Jan 07 '25 02:01 cr7258

/assign

Shreesh-Gawande avatar Aug 01 '25 15:08 Shreesh-Gawande

@Shreesh-Gawande are u on it or can I take this issue

ZORDxDD avatar Aug 09 '25 14:08 ZORDxDD

This issue has been finished. /close

LiZhenCheng9527 avatar Dec 04 '25 07:12 LiZhenCheng9527

@LiZhenCheng9527: Closing this issue.

In response to this:

This issue has been finished. /close

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 Dec 04 '25 07:12 kmesh-bot