Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Kubernetes in Action, 2nd Edition

Chapter 6. Managing the lifecycle of the Pod's containers

Deploying resources

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

Adding a liveness probe

Adding a startup probe

Adding lifecycle hooks

Setting the termination grace period

Handling the TERM signal in the Kiada application

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