Skip to content

Latest commit

 

History

History
 
 

Chapter05

Kubernetes in Action, 2nd Edition

Chapter 5. Running applications in Pods

Creating the pod manifest for the kubia application

  • kubia.yaml - YAML manifest file for the kubia pod

Modifying the application to read from standard input

Building the kubia:1.0-stdin image:

  • Makefile - contains commands to build and push the image
  • Dockerfile - Docker instructions for building the image
  • app.js - application code (JavaScript)

Deploying the pod:

Adding the Envoy proxy container to the kubia pod

Building the kubia-ssl-proxy:1.0 image:

Deploying the pod:

Creating a pod with init containers

Building the init-demo:1.0 image:

Building the network-connectivity-checker:1.0 image:

Deploying the pod: