How luksa/kubernetes-in-action works
This repository is an educational collection of Kubernetes in Action examples, not a single deployable application. Its recurring workflow is to apply chapter manifests and run example containers in a Kubernetes cluster, then observe workload behavior or access services. The chapters cover workload lifecycle, networking, configuration and storage, cluster APIs and security, and stateful or extensible patterns. The README identifies the collection but does not document runtime wiring; most manifest-to-cluster relationships below are therefore dashed and unverified. Sampled application code supports the HTTP and peer-discovery links shown.
Main entry points: kubia-pet-peers-image/app.js Peer discovery server · kubia-pet-image/app.js Pet data server · Fabric8ClientTest.java Kubernetes client · kubia/app.js Kubia HTTP server
Components 20
Workloads and rollout
- Kubia HTTP server
Chapter02/kubia/app.js - Health probes
Chapter04 - Jobs and cronjobs
Chapter04 - Deployments and rollouts
Chapter09
Services and networking
- Services and ingress
Chapter05
Configuration and storage
- Fortune example
Chapter06/fortune/fortuneloop.sh - Volumes and claims
Chapter06 - Pod configuration
Chapter07
Cluster control and policy
- Kubernetes client
Chapter08/Fabric8ClientTest.java - Service accounts
Chapter12 - Security policies
Chapter13 - Resource controls
Chapter14 - Scheduling and placement
Chapter16
Stateful and extensible
- Pet data server
Chapter10/kubia-pet-image/app.js - Peer discovery server
Chapter10/kubia-pet-peers-image/app.js - Stateful workloads
Chapter10 - Container lifecycle hooks
Chapter17 - Custom resources and brokers
Chapter18
Other components
- Example operator
- Kubernetes cluster
Connections 20
- Example operator → Kubernetes cluster: applies examples
- Kubernetes cluster → Kubia HTTP server: runs workload
- Kubernetes cluster → Health probes: checks probes
- Kubernetes cluster → Jobs and cronjobs: runs jobs
- Kubernetes cluster → Deployments and rollouts: manages rollout
- Kubernetes cluster → Services and ingress: routes traffic
- Kubernetes cluster → Fortune example: runs workload
- Kubernetes cluster → Volumes and claims: mounts storage
- Kubernetes cluster → Pod configuration: provides settings
- Kubernetes client → Kubernetes cluster: manages pods
Chapter08/Fabric8ClientTest.java - Kubernetes cluster → Service accounts: enforces identity
- Kubernetes cluster → Security policies: enforces policy
- Kubernetes cluster → Resource controls: enforces limits
- Kubernetes cluster → Scheduling and placement: places workloads
- Kubernetes cluster → Pet data server: runs workload
- Kubernetes cluster → Peer discovery server: runs workload
- Peer discovery server → Pet data server: requests peer data
Chapter10/kubia-pet-peers-image/app.js - Kubernetes cluster → Stateful workloads: manages state
- Kubernetes cluster → Container lifecycle hooks: configures hooks
- Kubernetes cluster → Custom resources and brokers: hosts extensions