Greek for 'pilot' or 'helmsman'

"a system for managing containerised applications across multiple hosts"

declarative model

open source project by Google

Pods

  • Group of containers 
  • Settings in a template (repeatable, manageable)

Labels

Pod

FE

  • pod: colocated group of Docker containers that share an IP and storage volumes
  • service: provides a single, stable name for set of pods and acts as basic load balancer
  • replication controller: manages the lifecycle of pods and ensures specified number are running
  • label: used to organise and select groups of objects

Text

Example with nginx

version: v1beta1
containers:
  - name: www
    image: nginx
    ports:
      - name: http
        containerPort: 80

www

Example with nginx

version: v1beta1
containers:
  - name: www
    image: nginx
    ports:
      - name: http
        containerPort: 80
      - name: https:
        containerPort: 443

www

Example with nginx

version: v1beta1
containers:
  - name: www
    image: nginx
    ...
    volumeMounts:
      - name: data
      - path: /mnt/input
      - readOnly: true
  - name: dataLoader
      - volumeMounts:
        - name: data
        - path: /mnt/output
volumes:
  - name: dataShard

dataloader

www

datashard

deck

By sirspock

deck

  • 219