Professional Documents
Culture Documents
@RajhiSaifeddine
bento.me/saifeddinerajhi
# whoami
● Saifeddine Rajhi
(@RajhiSaifeddine,
bento.me/saifeddinerajhi)
● Sr. Platform engineer
1. Running a local cluster
There are so many options:
kubens demo
Many things have conditions! Including: Deployments, Pods, Nodes, Jobs, ReplicaSets, StatefulSets, DaemonSets,
… and CRDs too!
4. Turn a Deployment off and on again
kubectl rollout restart deployment hello
Scale to zero:
NO DOCS
NO EXTERNAL WEBSITES
NO CHATGPT or AI
"Hey I need an image with terraform, kubectl, helm, curl, and ffmpeg!"
DONE
# installed: ~/.tea/curl.se/ca-certs/v2023.5.30
# installed: ~/.tea/openssl.org/v1.1.1u
if you need to troubleshoot anything network-related, you can always reach for
netshoot. It contains all the networking tools you might need, all you need to do is run:
docker run --rm -it nicolaka/netshoot
# OR
kubectl run tmp-shell --rm -i --tty --image nicolaka/netshoot
netshoot
if you need to troubleshoot anything network-related, you can always reach for
netshoot. It contains all the networking tools you might need, all you need to do is run:
docker run --rm -it nicolaka/netshoot
# OR
kubectl run tmp-shell --rm -i --tty --image nicolaka/netshoot
12 - kubectl debug
If you specify the -i/--interactive argument, kubectl will automatically attach to the
console of the Ephemeral Container.
Install Krew
Demo: https://github.com/k8sgpt-ai/k8sgpt/blob/main/images/demo4.gif
Kubectl OpenAI plugin ✨:
This project is a kubectl plugin to generate and apply Kubernetes manifests using OpenAI
GPT.
Demo: https://asciinema.org/a/MEXrlAqUjo7DMnfoyQearpVQ7
Thank you !!