Professional Documents
Culture Documents
Neil Peterson
@nepeters
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
Session Topics
- Quick primer on containers
- Container mgmt solutions
- Kubernetes basics
- Kubernetes deeper dive
- Kubernetes beyond containers
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
Quick Container Primer
What is a container
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
Demo – Container
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
Container Management Solutions
Why do we need additional solutions to manage
containers
- Abstract hardware
- Manage state / health / lifecycle
- Manage networking, discoverability, etc.
- Manage sensitive data
- Manage scale
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
Kubernetes
A very popular option for managing containers (and
potentially other things).
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
Kubernetes Infrastructure
Kubernetes Master Kubernetes Master
etcd etcd
api server api server
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
Pods
The primary primitive for running containerized
workload.
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
Pods Cont.
What does a pod look like?
Container Container
File System
Network
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
Kubernetes Deployments
Pod scheduling abstract.
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
Kubernetes Services
Kubernetes object expressing pod networking
endpoint (internal / external IP address).
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
Kubernetes Manifest
YAML file to declare desired state of Kubernetes object
types.
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
Kubernetes Dashboard
Graphical user interface for interacting with a
Kubernetes cluster.
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
Demo – Kubernetes
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
Node Scaling
Provide more or less computer infrastructure for the
cluster.
- Manually scale
- Auto scale (depending on provider)
- Take care to provide stateless workload
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
Pod Scaling
Provide more or less processing power for an
application.
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
Rolling Deployments
Zero downtime application updates.
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
Demo – Kubernetes Scale and App
Updates
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
Kubernetes Governance
Like all systems, security and governance should be a
concern.
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
Namespaces
Unit of multi-tenancy cluster isolation.
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
Role Based Access Control
Provide granular access to resources and operations.
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
Demo – Governance
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
Extending Kubernetes
Kubernetes is extensible to provide additional
capability.
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
Extending Kubernetes (CRD)
Custom Resource Definitions define a new Kuberntes
object type (API Object).
- No code necessary *
- Instances of a CRD contain structured data
- Provides identical kubectl operational capibilities
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
Extending Kubernetes (Operator)
Operators (controller) provide custom resource logic.
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
Demo – Extending Kubernetes
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM