Skip to content

Latest commit

 

History

History

README.md

Kubernetes in Action, 2nd Edition

Chapter 5. Running applications in Pods

Deploying resources

  • ../scripts/apply.sh - helper script to deploy resource yaml files and update prefix values. Resource files should be specified as arguments.

Creating the pod manifest for the Kiada application

Modifying the application to read from standard input

Building the kiada: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 kiada pod

Building the kiada-ssl-proxy:0.1 image:

Deploying the pod:

Creating a pod with init containers

Building the init-demo:0.1 image:

Building the network-connectivity-checker:0.1 image:

Deploying the pod: