What is Kubernetes?

  • What are containers?
  • What is Docker?
  • Where are my apps?
  • Why orchestrate?

Applications

  • Hosted on a server
  • Installed on the disk
  • Run as processes
  • Provide a service
  • Quality of service

A single application running on a host

Falling back to PNG as your browser does not support SVG.

Containers

  • Standardised
  • Isolated
  • Easily distributed
  • Improved security

Containers ensure standardisation for distribution and isolation for execution.


A single container running on a host

Falling back to PNG as your browser does not support SVG.

Docker

  • Docker is a container platform
  • Standard for containers
  • Not a hypervisor
  • Docker Hub is a library

Docker is not a hypervisor, but it behaves a little bit like one. It allows different workloads to be run side-by-side without interfering with each other. Docker can be installed for a variety of platforms. In production, or Production-like environments, that’s typically as a package for Linux.


Multiple containers

  • All isolated from one another
  • Managed interactions
  • Workload control
  • Security

A single host running multiple containers side-by-side

Falling back to PNG as your browser does not support SVG.

Things go wrong

  • Hosts crash
  • Goal is quality service delivery:
    • Reliability
    • Performance
    • High-availability
  • Redundant copies

Multiple Docker hosts behind a load balancer

Falling back to PNG as your browser does not support SVG.

More to manage

  • Config management
    • Networking
  • Secret distribution
  • Simplicity of load balancer
  • Identical nodes
    • Non-adaptive
  • Need help orchestrating

Kubernetes

Falling back to PNG as your browser does not support SVG.

Kubernetes

  • Container orchestration
  • Networking
  • Services
    • Load balancing
    • High availability
  • Ingress
  • Secret management

A Kubernetes pod wrapping a single container

Falling back to PNG as your browser does not support SVG.

Kubernetes entities

  • Pod
    • Wraps a container
  • Deployment
    • Defines pod and how it’s deployed to cluster
    • Multiple instances of a pod
    • Multiple different pods

Multiple Kubernetes pods deployed across multiple hosts

Falling back to PNG as your browser does not support SVG.

Kubernetes entities

  • Services
    • Routed across multiple pods
    • Hide underlying implementation

Services broker requests to an orchestrated set of pods

Falling back to PNG as your browser does not support SVG.

Help

If you’d like help organising and preparing your digital strategy, working with your team to foster a data-driven culture, or just hands-on-keyboard training in infrastructure-as-code, please get in touch.

View as a presentation

Leave a comment