# 01-02-2024 Belgium Kubernetes and Cloud Native Meetup @Google Brussels

## Kubernetes Superpowers: AI and eBPF

{% file src="<https://3206435539-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9cpSbcxtdxRVTcR6t4Ou%2Fuploads%2Fmd49tVKhURZjEveFYvKC%2Fk8s_superpowers.pdf?alt=media&token=8bc2b066-fc8b-45d3-9462-d21d8217c206>" %}

Overview of all links\
[https://brucon.org<br>](https://brucon.org)[https://github.com/gofireflyio/aiac<br>](https://github.com/gofireflyio/aiac)[https://github.com/sozercan/kubectl-ai<br>](https://github.com/sozercan/kubectl-ai)[https://k8sgpt.ai/<br>](https://k8sgpt.ai/)<https://robusta.dev>\
<https://ebpf.io/>\
[https://](https://ebpf.io/applications/)[ebpf.io](https://ebpf.io/applications/)[/applications](https://ebpf.io/applications/)\
[https://www.inspektor-gadget.io/<br>](https://www.inspektor-gadget.io/)<https://kubernetes.io/docs/tutorials/security/seccomp/>\
<https://aquasecurity.github.io/tracee/latest/>\
[https://aquasecurity.github.io/tracee/v0.19/docs/events/builtin/signatures/<br>](https://aquasecurity.github.io/tracee/v0.19/docs/events/builtin/signatures/)[https://sysdig.com/opensource/falco/<br>](https://sysdig.com/opensource/falco/)<https://tetragon.io/>\
\
Here a few of the prompts used in the demo and screenshots.

`aiac get create a Dockerfile to build a ubuntu image with curl installed`

`kubectl ai --openai-deployment-name=gpt-4 "run me a nginx server pod version 1.9.4 with name nginx-pod with label prod=false"`&#x20;

`kubectl ai --openai-deployment-name=gpt-4 "deploy me a ningx server with name cncf with label prod=true. Also please expose the deployment with a NodePort service"`

`k8sgpt analyze --filter=Pod --explain`

`kubectl gadget trace dns`&#x20;

`kubectl gadget trace tcpconnect`&#x20;

`sudo sysdig -p"%proc.cmdline" proc.name=curl` \
`curl 'https://radarsec.com/test=alert(document.cookie)'`

`sudo sysdig proc.name=curl` \
`curl 'https://radarsec.com/test=alert(document.cookie)'`
