mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-04-01 00:07:04 +00:00
Motivation: Allow users to change the default RBAC resources (ServiceAccount, ClusterRole, ClusterRoleBinding, Role and RoleBinding) without having Mizu delete them every run. Adds app.kubernetes.io/created-by and app.kubernetes.io/managed-by labels to all resources. The value of app.kubernetes.io/created-by is either mizu-cli or mizu-agent. The value of app.kubernetes.io/managed-by is mizu. When Mizu cleans resources (ctrl-c in tap cmd or mizu clean cmd) it removes all RBAC resources that have managed-by=mizu, and only those. A user may have a ClusterRole named mizu-clusterrole. If it doesn't have the label app.kubernetes.io/managed-by=mizu, then Mizu won't overwrite it and won't delete it. Other resources (deployments, services etc.) are always removed, regardless of their labels.
# Mizu release _SEM_VER_ Download Mizu for your platform **Mac** (Intel) ``` curl -Lo mizu https://github.com/up9inc/mizu/releases/download/_SEM_VER_/mizu_darwin_amd64 && chmod 755 mizu ``` **Mac** (Apple M1 silicon) ``` curl -Lo mizu https://github.com/up9inc/mizu/releases/download/_SEM_VER_/mizu_darwin_arm64 && chmod 755 mizu ``` **Linux** ``` curl -Lo mizu https://github.com/up9inc/mizu/releases/download/_SEM_VER_/mizu_linux_amd64 && chmod 755 mizu ``` **Windows** (Intel 64bit) ``` curl -LO https://github.com/up9inc/mizu/releases/download/_SEM_VER_/mizu.exe ``` ### Checksums SHA256 checksums available for compiled binaries. Run `shasum -a 256 -c mizu_OS_ARCH.sha256` to verify.