Why do I care?
• DevOps is hard
• From 1 instance on your laptop to 100s in production
• Something breaks
• Requires monitoring and manual intervention
• SSH'ing into production at 3am on a Saturday night
Slide 4
Slide 4 text
Holy Grail of DevOps
• Imagine: Your server constantly monitoring for issues
• And automatically Hxing them
• You no longer hate your job and yourself
• And you can Hnally have a life (Maybe?)
Slide 5
Slide 5 text
Kubernetes
• Container automation framework
• Open-sourced by Google in 2014
• Monitors, Detects and RectiHes issues in your cluster
• Declarative, not Imperative
Slide 6
Slide 6 text
Imperative System
• Give your system explicit instructions
• It executes them to get to your desired state
• You still need to monitor for changes
• Give more instructions in case something goes
down
Slide 7
Slide 7 text
Declarative System
• Desired State
• Tell Kubernetes what you want,
not what to do
• If stuX breaks
• Kubernetes will automatically Hx it
• Will always go back to desired state
Application Health
• Pod Phases
• Pending, Running, Succeeded, Failed, etc.
• Health Checks
• Readiness:
Finished initializing and ready to accept requests
• Liveness:
Can process and respond to requests
Slide 11
Slide 11 text
Application Health
• Probes
• Exec:
Execute a command in the container
• HTTP GET:
Make a web request to check if a success response is returned
• TCP Socket:
Pe?orm a TCP check for an open poA