cilium / tetragon

eBPF-based Security Observability and Runtime Enforcement
https://tetragon.io
Apache License 2.0
3.67k stars 370 forks source link

crd: Added shortnames and catagory for Tetragon CRDs #3065

Closed PhilipSchmid closed 2 weeks ago

PhilipSchmid commented 3 weeks ago

Let's slightly improve the Tetragon UX for lazy people like I am 😄.

Furthermore, it's now possible to interact with user-relevant CRs (all besides PodInfo) at the same time via the tetragon category.

BTW, Cilium does the same for every Cilium CRD.

crd: Added shortnames and catagory for Tetragon CRDs
PhilipSchmid commented 3 weeks ago

Example usage:

$ k get tgpi
NAME                                      AGE
cilium-5ntnd                              15s
cilium-d5nh4                              15s
cilium-mpclj                              15s
cilium-operator-78cbc7d94d-2vdvd          15s
cilium-operator-78cbc7d94d-7dhq7          15s
cilium-rnx9z                              15s
cilium-sw7t6                              15s
coredns-6d77cf9f7-rd7xh                   15s
coredns-6d77cf9f7-rzdr7                   15s
hubble-relay-bf5c486f9-tt8d8              15s
kube-apiserver-ip-10-0-100-221            14s
kube-apiserver-ip-10-0-101-120            15s
kube-apiserver-ip-10-0-102-11             15s
kube-controller-manager-ip-10-0-100-221   15s
kube-controller-manager-ip-10-0-101-120   15s
kube-controller-manager-ip-10-0-102-11    15s
kube-proxy-9wbzv                          15s
kube-proxy-bzk25                          15s
kube-proxy-j7xm5                          15s
kube-proxy-lpqkp                          15s
kube-proxy-vhmhd                          15s
kube-scheduler-ip-10-0-100-221            15s
kube-scheduler-ip-10-0-101-120            15s
kube-scheduler-ip-10-0-102-11             15s
metrics-server-566c79d6df-jrlh6           15s
tetragon-b97xs                            15s
tetragon-dqvtp                            15s
tetragon-m4wjr                            15s
tetragon-operator-7656844cd7-2vtxf        15s
tetragon-p6jd9                            15s
tetragon-rsbg8                            15s
$ k get tgtp
NAME                     AGE
bpf-load                 2m12s
monitor-kernel-modules   2m12s
monitor-mounts           2m12s
monitor-ptrace           2m12s
privileges-change        2m12s
$ k get tetragon
NAME                                             AGE
tracingpolicy.cilium.io/bpf-load                 2m16s
tracingpolicy.cilium.io/monitor-kernel-modules   2m16s
tracingpolicy.cilium.io/monitor-mounts           2m16s
tracingpolicy.cilium.io/monitor-ptrace           2m16s
tracingpolicy.cilium.io/privileges-change        2m16s
lambdanis commented 2 weeks ago

I changed the release-note label from misc to minor, as it is a user-visible change. Let me know if you think it should rather be misc.

netlify[bot] commented 2 weeks ago

Deploy Preview for tetragon ready!

Name Link
Latest commit 5a85682cf003ec443f9f04599b656daaecd8de54
Latest deploy log https://app.netlify.com/sites/tetragon/deploys/672ce0c759d3f800081e0092
Deploy Preview https://deploy-preview-3065--tetragon.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.