Skip to content

Latest commit

 

History

History
executable file
·
951 lines (608 loc) · 22 KB

IsItTimeToPutYourPetKubernetesDown.md

File metadata and controls

executable file
·
951 lines (608 loc) · 22 KB
title description author marp theme class video_embed
Is It Time To Put Your Pet Kubernetes Down
Explores how Kubernetes is the new pet and the consequences that presents.
Chris Nesbitt-Smith
true
themes/esynergy
lead
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/W-FYK8sgSKo" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Is it time to put your pet Kubernetes down?
🐶☸️🔫⁉

🤔

Chris Nesbitt-Smith

UK Gov | esynergy | Control Plane | LearnK8s | lots of open source


👋
Hello


bg right

Chris Nesbitt-Smith

  • Learnk8s & Control Plane Instructor + Consultant
  • esynergy - Digital Transformation Consultant
  • Crown Prosecution Service (UK gov) - Consultant
  • Opensource

Reminder what is Pets vs Cattle?

🐕🐄🤔


The before times ⏳


bg


🦹‍♀️👏


2023(?) ⌛️


bg


<style scoped> h2 { font-size: 10em; margin:0 } </style>

☸️ Kubernetes ☸️

"duh, we're doing Kubernetes"

🦸‍♀️


☸️ Kubernetes: Nodes (naming)

$ kubectl get nodes
NAME                                         STATUS   ROLES    AGE   VERSION
ip-10-170-7-102.eu-west-2.compute.internal   Ready    <none>   24h   v1.21.5-eks-9017834
ip-10-170-7-99.eu-west-2.compute.internal    Ready    <none>   24h   v1.21.5-eks-9017834

☸️ Kubernetes: Pods (naming)

$ kubectl get pods -A
NAMESPACE           NAME                                                  READY   STATUS    RESTARTS   AGE
cert-manager        cert-manager-6d99c7965c-c9q92                         1/1     Running   0          24h
cert-manager        cert-manager-cainjector-748dc889c5-ljv8c              1/1     Running   0          24h
cert-manager        cert-manager-webhook-5b679f47d6-wnt2f                 1/1     Running   0          24h
kube-system         aws-node-7b7q4                                        1/1     Running   0          24h
kube-system         aws-node-vwr5m                                        1/1     Running   0          24h
kube-system         calico-node-jfndm                                     1/1     Running   0          24h
kube-system         calico-node-zhzsf                                     1/1     Running   0          24h
kube-system         calico-typha-7dd5d4b984-p52gx                         1/1     Running   0          24h
kube-system         calico-typha-horizontal-autoscaler-767b5c958c-w6pjt   1/1     Running   0          24h
kube-system         cluster-autoscaler-6c8dc687c6-pts7q                   1/1     Running   1          24h
kube-system         coredns-65ccb76b7c-8pqj6                              1/1     Running   0          24h
kube-system         coredns-65ccb76b7c-dd48d                              1/1     Running   0          24h
kube-system         kube-proxy-5vqz2                                      1/1     Running   0          24h
kube-system         kube-proxy-zlh5k                                      1/1     Running   0          24h
kube-system         metrics-server-977777f66-mvr56                        1/1     Running   0          24h
nginx-ingress       ingress-controller-5b47bfdf66-c2xj8                   1/1     Running   0          24h
nginx-ingress       ingress-controller-5b47bfdf66-g94xw                   1/1     Running   0          24h
external-dns        external-dns-689dc89999-s6mjz                         1/1     Running   0          24h

☸️ Kubernetes: Pods (checks)

livenessProbe:
  httpGet:
    path: /healthz
    port: http

🐶🐱


Don't look 🆙


eksctl create cluster

...now what?


🧐


🙀🙀🙀🙀

helm install cert-manager jetstack/cert-manager
helm install external-dns external-dns/external-dns
helm install nginx-ingress nginx-stable/nginx-ingress
helm install istiod istio/istiod
etc

So?
🤷


Well

  • ☸️ www.mycompany.com
  • ☸️ dev.notprod.mycompany.com
  • ☸️ int.notprod.mycompany.com
  • ☸️ stg.notprod.mycompany.com
  • ☸️ qa.notprod.mycompany.com

Well

  • ☸️ team[1-10].www.mycompany.com
  • ☸️ team[1-10].dev.notprod.mycompany.com
  • ☸️ team[1-10].int.notprod.mycompany.com
  • ☸️ team[1-10].stg.notprod.mycompany.com
  • ☸️ team[1-10].qa.notprod.mycompany.com

🤖


😱


📆 Day 2


❄️


❄❅❆


bg fit


🤯


🐶🐱🐕🐇🐈
🐹🐩🦮🐕‍🦺🐈‍⬛🐰


🤖
🐶🐱🐕🐇🐈
🐹🐩🦮🐕‍🦺🐈‍⬛🐰
🏭


🤕


I❤️
🐶🐱🐕🐇🐈
🐹🐩🦮🐕‍🦺🐈‍⬛🐰


🍸🛒🔫


🍸🛒🔫
☁️


🥱


😮‍💨


🍸🛒🔫
⚙️🥷🔬🪓🔩
☁️


bg


bg


bg


😜


bg


bg


bg


bg


👩‍🎓🧑‍🎓📚


💡


bg


bg


bg fit


bg


bg contain


bg contain


bg cover


bg cover


bg 40%


<style scoped>section { rotate: 10deg;}</style>

bg 50% hue-rotate:40deg


<style scoped>section { rotate: 20deg;}</style>

bg 70% hue-rotate:80deg


<style scoped>section { rotate: 30deg;}</style>

bg 90% hue-rotate:120deg brightness:1.5


<style scoped> section { rotate: 30deg; animation-name: spin; animation-duration: 40000ms; animation-iteration-count: infinite; } @keyframes spin { from {transform:rotate(0deg);} to {transform:rotate(7600deg);} } </style>

bg 100% hue-rotate:120deg brightness:2


bg cover


bg fit bg fit bg fit bg fit bg fit bg fit bg fit bg fit bg fit bg fit bg fit


bg fit


bg fit


bg fit


bg fit


bg fit


bg cover


bg cover


👷‍♀️


🤬


bg


🔥👩‍🚒📉


bg


🗑


❤️‍🔥


🍦


I ❤️ 🍦


bg


bg


KISS

Keep It Stupid Simple


KISS

Keep It Simple, Stupid


bg


💃


bg contain


🐶🔫 ?


👍


bg cover


bg fit


bg fit


<style scoped> h2 { position: absolute; bottom: 1ch; left: 2vw; width: 95% } </style>

🙏 Thanks 🙏

bg right

  • cns.me
  • talks.cns.me
  • github.com/chrisns
  • learnk8s.io
  • esynergy.co.uk
  • controlplane.io

Chris Nesbitt-Smith


<style scoped> </style>

Q&A🙋‍♀️🙋🙋‍♂️

bg opacity:0.2


cns.me
cns.me


Chris Nesbitt-Smith