-
-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add kubeshark/kubeshark #9864
feat: add kubeshark/kubeshark #9864
Conversation
[kubeshark/kubeshark](https://github.com/kubeshark/kubeshark): The API traffic viewer for Kubernetes providing real-time, protocol-aware visibility into Kubernetes’ internal network, capturing, dissecting and monitoring all traffic and payloads going in, out and across containers, pods, nodes and clusters. Think TCPDump and Wireshark re-invented for Kubernetes ```console $ aqua g -i kubeshark/kubeshark ``` Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well. Please confirm if this package works well yourself as much as possible. Command and output ```console $ ``` If files such as configuration file are needed, please share them. ``` ``` Reference -
3fd9b4d
to
9da90a6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I myself am not yet that experienced with the Aqua package definition and regularly make mistakes. So please do not misunderstand my comments.
asset: kubeshark.exe | ||
checksum: | ||
type: github_release | ||
asset: kubeshark_{{.OS}}_{{.Arch}}.sha256 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can use shorter asset: "{{.Asset}}.sha256"
which is an alias to definition of asset
in line 5
checksum: | ||
type: github_release | ||
asset: kubeshark_{{.OS}}_{{.Arch}}.sha256 | ||
file_format: regexp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
file_format: raw
is better here since the checksum file only contains the sha
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This checksum file contains not only sha but also asset names.
$ curl -L https://github.com/kubeshark/kubeshark/releases/download/38.5/kubeshark_38.5_checksums.txt
1507fca5aa4063ab31d0a8f8dc4916a4d03defa250e6ed190139c7cd7439b6fa kubeshark_38.5_windows_arm64.tar.gz
15777e59512b5a85417c8ab7d7e4a8e65166c94773fab7466118be53d7f72fb3 kubeshark_38.5_windows_386.tar.gz
386b62c1fe042acf6d04e9c7be10c87e406cafbf72ef39f1cc6245eb1332fbb1 kubeshark_38.5_linux_amd64.tar.gz
63dfb7029466fb01f6858fda31357966bc0b2a4f7b1ad652204e92ac835327da kubeshark_38.5_linux_386.tar.gz
7ed6e290eee3a9ca3776e41eee4033b34aa8e9fa3f66fa374df567e2d7efe44a kubeshark_38.5_darwin_arm64.tar.gz
88193e5c1c73de2daa840e0a954753a719f15fb8c23d748d626c19e339f72dd6 kubeshark_38.5_linux_arm64.tar.gz
89bf5e7953f4c5774a27da6ebd4c07a3e37b56e5ce7feaca54b1c8000f7c5f23 kubeshark_38.5_windows_amd64.tar.gz
8b68f6de3152ce8a3952e9beafa4c05e83832321ec004966f7067899b0209790 kubeshark_38.5_darwin_amd64.tar.gz
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, sorry. I misunderstood.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should use kubeshark_38.5_checksums.txt
rather than kubeshark_{{.OS}}_{{.Arch}}.sha256
because we can save API call.
asset: kubeshark_{{.OS}}_{{.Arch}}.sha256 | ||
file_format: regexp | ||
algorithm: sha256 | ||
pattern: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can omit pattern
and checksum
if file_format: raw
is used.
- windows/amd64 | ||
- darwin | ||
- linux | ||
overrides: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add format: raw
since the asset is not an archive.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kubeshark releases both raw
and tar.gz
. https://github.com/kubeshark/kubeshark/releases/tag/38.5
I prefer tar.gz
than raw
because the file size is small.
repo_owner: kubeshark | ||
repo_name: kubeshark | ||
asset: kubeshark_{{.OS}}_{{.Arch}} | ||
description: The API traffic viewer for Kubernetes providing real-time, protocol-aware visibility into Kubernetes internal network capturing, dissecting and monitoring all traffic and payloads going in, out and across containers, pods, nodes and clusters. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please shorten it to e.g. The API traffic viewer for Kubernetes
Thank you for your contribution! |
@CrystalMethod Thank you for your review! |
Let me add some commits. |
kubeshark releases both raw and tar.gz. https://github.com/kubeshark/kubeshark/releases/tag/38.5 I prefer tar.gz than raw because the file size is small.
Was |
https://github.com/up9inc/mizu is redirected to https://github.com/kubeshark/kubeshark . So we should merge up9inc/mizu to kubeshark/kubeshark. ref. https://aquaproj.github.io/docs/reference/registry-config/aliases |
Done. |
Thanks for the assistance on this PR. In future I'd be happy to put in the required work myself with just some pointers to the relevant documentation. |
Thank you. We always welcome your contribution. |
kubeshark/kubeshark: The API traffic viewer for Kubernetes providing real-time, protocol-aware visibility into Kubernetes’ internal network, capturing, dissecting and monitoring all traffic and payloads going in, out and across containers, pods, nodes and clusters. Think TCPDump and Wireshark re-invented for Kubernetes
$ aqua g -i kubeshark/kubeshark
How to confirm if this package works well
Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well. Please confirm if this package works well yourself as much as possible.
Command and output