1 of 52

How to Make Kubernetes

Rhyme with Prod-Readiness

Tiffany Jernigan

VMware

Matthias Häußler

Novatec

www.containerdays.io

#CDS23

2 of 52

Who we are

Tiffany Jernigan

Sr. Dev Advocate, VMware

@tiffanyfayj

Matthias Häußler

Chief Technologist, Novatec

@maeddes

@maeddes @tiffanyfayj

3 of 52

@maeddes @tiffanyfayj

4 of 52

Why this talk?

www.containerdays.io

#CDS23

@maeddes @tiffanyfayj

5 of 52

@maeddes @tiffanyfayj

6 of 52

🎉

🎉

🥰

🥰

🥳

@maeddes @tiffanyfayj

7 of 52

What is

production readiness?

www.containerdays.io

#CDS23

@maeddes @tiffanyfayj

8 of 52

🎉

🎉

🥰

🥰

🥳

@maeddes @tiffanyfayj

9 of 52

Prod readiness in detail

  • Has undergone rigorous testing and quality assurance
  • Ensured it’s reliable, stable and secure
  • Performs optimally under expected load and traffic conditions
  • Adaptive to unexpected load/traffic conditions and failures
  • Properly documented & described
  • Consistently and repeatably buildable
  • Monitored and Observable - Ability to identify and resolve issues quickly
  • "Future-proofing": Being able to upgrade to patch security issues

@maeddes @tiffanyfayj

10 of 52

What does “vanilla” Kubernetes provide?

www.containerdays.io

#CDS23

@maeddes @tiffanyfayj

11 of 52

@maeddes @tiffanyfayj

12 of 52

@maeddes @tiffanyfayj

@maeddes @tiffanyfayj

13 of 52

@maeddes @tiffanyfayj

@maeddes @tiffanyfayj

14 of 52

@maeddes @tiffanyfayj

@maeddes @tiffanyfayj

15 of 52

@maeddes @tiffanyfayj

@maeddes @tiffanyfayj

16 of 52

@maeddes @tiffanyfayj

17 of 52

@maeddes @tiffanyfayj

18 of 52

What is “vanilla” Kubernetes missing?

www.containerdays.io

#CDS23

@maeddes @tiffanyfayj

19 of 52

Summary

@maeddes @tiffanyfayj

20 of 52

Infrastructure

@maeddes @tiffanyfayj

21 of 52

Infrastructure

@maeddes @tiffanyfayj

22 of 52

Networking - Inbound traffic

@maeddes @tiffanyfayj

@maeddes @tiffanyfayj

23 of 52

Networking - Traffic control

@maeddes @tiffanyfayj

24 of 52

Networking - Traffic control

@maeddes @tiffanyfayj

25 of 52

O11y

@maeddes @tiffanyfayj

26 of 52

O11y

@maeddes @tiffanyfayj

27 of 52

Security - API Access / RBAC

@maeddes @tiffanyfayj

28 of 52

Workloads

@maeddes @tiffanyfayj

29 of 52

Workloads

@maeddes @tiffanyfayj

30 of 52

Workloads

@maeddes @tiffanyfayj

31 of 52

Workloads

@maeddes @tiffanyfayj

32 of 52

GitSecOps

@maeddes @tiffanyfayj

33 of 52

“Summary”

@maeddes @tiffanyfayj

34 of 52

Summary

@maeddes @tiffanyfayj

35 of 52

pod logs

logs

observability

kubelet logs

control plane logs

metrics-server

metrics

time series database (Prom, etc)

tracing

tracing

ingress controller

networking

service mesh

Gateway API

network policies

security

secret manager

PVC backups

infrastructure/

backups

control plane backups (if applicable)

cluster autoscaler (when applicable)

@maeddes @tiffanyfayj

36 of 52

37 of 52

Infrastructure

@maeddes @tiffanyfayj

38 of 52

Network

@maeddes @tiffanyfayj

39 of 52

Observability

@maeddes @tiffanyfayj

40 of 52

Security

@maeddes @tiffanyfayj

41 of 52

Workloads

@maeddes @tiffanyfayj

42 of 52

And now what?

www.containerdays.io

#CDS23

@maeddes @tiffanyfayj

43 of 52

44 of 52

Management

@maeddes @tiffanyfayj

45 of 52

@maeddes @tiffanyfayj

46 of 52

Novatec Training Environment

@maeddes @tiffanyfayj

47 of 52

48 of 52

Cloud vs On-Prem

@maeddes @tiffanyfayj

49 of 52

Managed vs Self-Hosted

@maeddes @tiffanyfayj

@maeddes @tiffanyfayj

50 of 52

@maeddes @tiffanyfayj

51 of 52

Summary

  • In the end there is no right or wrong,

it is more about the decision where to invest the time and money

      • Maintain the stack yourself -> Invest in the skill and have it in-house
      • Have someone done it for you -> Invest in service providers

  • In general we recommend to use the highest abstraction possible

Don’t solve problems which have already been solved!

  • Using and relying on a ready tested platform will let you focus more on higher abstractions -> your apps!

  • If there is a managed solution that suits your needs -> use it!
  • If you want to manage the stack yourself -> get enablement & consultancy

@maeddes @tiffanyfayj

52 of 52

Please reach out to us!

Tiffany Jernigan

Sr. Dev Advocate, VMware

@tiffanyfayj

Matthias Häußler

Chief Technologist, Novatec

@maeddes

@maeddes @tiffanyfayj