Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Keeping up with Kubernetes cluster upgrades

Tasdik Rahman
September 24, 2022

Keeping up with Kubernetes cluster upgrades

Was given as part of the talk lineup in Bangalore k8s meetup September 2022

https://www.meetup.com/kubernetes-openshift-india-meetup/events/288277755/

Tasdik Rahman

September 24, 2022
Tweet

More Decks by Tasdik Rahman

Other Decks in Technology

Transcript

  1. Why should you upgrade, any way API deprecations New API’s

    serve you better Security patches for CVEs
  2. Why should you upgrade, any way API deprecations New API’s

    serve you better Security patches for CVEs Version deprecations by the provider
  3. Why should you upgrade, any way API deprecations New API’s

    serve you better Security patches for CVEs Version deprecations by the provider Incremental changes introduced
  4. Why should you upgrade, any way API deprecations New API’s

    serve you better Security patches for CVEs Version deprecations by the provider Incremental changes introduced Bottomline: Upgrade to prevent infrastructure rot
  5. Is this specific to k8s? • Compute layer upgrades are

    not new • Inventory of what version of OS/language stack is running on compute instances.
  6. Is this specific to k8s? • Compute layer upgrades are

    not new • Inventory of what version of OS/language stack is running on compute instances. • Handling of deprecation of support of OS versions and language stacks
  7. Is this specific to k8s? • Compute layer upgrades are

    not new • Inventory of what version of OS/language stack is running on compute instances. • Handling of deprecation of support of OS versions and language stacks • Fixing CVE fix patches on these machines.
  8. Is this specific to k8s? • Compute layer upgrades are

    not new • Inventory of what version of OS/language stack is running on compute instances. • Handling of deprecation of support of OS versions and language stacks • Fixing CVE fix patches on these machines. • Manage via golden AMI’s, blue green replacements, upgrade in place.
  9. self hosting your own k8s cluster Of course not! avoid

    unless having a very special case
  10. Opinionated take: Avoid shell scripts, use one of the k8s

    clients if writing something from scratch
  11. GKE EKS • Stable and rapid release channels for standard

    deployments • Avoid static channels if you can • If you can, evaluate autopilot mode • Managed node groups • Cluster addons ◦ Coredns ◦ Kube-proxy etc