Overview
Syllabus
Intro
Why stateful containers?
Immutable: deploy a versioned artifact
Minimal overhead: ship only* the application
A container is the unit of deployment.
A group of containers is the unit of deployment (ex. K8s pods, Swarm stack, Triton deployment )
A container can't persist data.
Problem: Service Discovery
Problem: Load Balancing
Problem: Automated Fail-over
Host volumes solve the problem of persistence in containers.
orchestrator and
3 requirements
Ability to provision containers across multiple compute nodes
Network virtualization (ex. VXLan)
IP inside the container
Infrastructure-backed discovery bootstrap
We might need some help
habitat
Know your guarantees: Asynchronous replication Unavailable for writes during failover Possible stale reads during failover . May drop client-acknowledged writes during failover Consistent between nodes after failover
Initialization
Empower development teams to operationalize their applications
Taught by
ChariotSolutions