This project has the aim to aggregate all best practice and standard patterns in describing Kubernetes cluster in the form of well written and concise manifests.
This collection of recipes, examples and useful articles should help to define a balanced, reliable Kubernetes environment.
For hands-on exercises the real application is needed. In our case this is a simple Flask microservice which can generate random number on each request (Randomizer). The source code is here It's already published at docker.io, so not other work is needed
One can test manifests either on local env (minikube), in the cloud (EKS or GKE) or using free sandboxes (see below)
-
K8s fundamentals
-
K8s patterns
- Predictable Demands
- Declarative Deployment
- Health Probe
- Managed Lifecycle
- Automated Placement
- Batch Job
- Periodic Job
- Daemon Service
- Singleton Service
- Stateless Service
- Stateful Service
- Service Discovery
- Self Awareness
- Init Container
- Sidecar
- Adapter
- Ambassador
- Env variables configuration
- External configuration
- Immutable configuration
- Configuration template
- Process containment
- Network segmentation
- Secure configuration
- Controller
- Operator
- Elastic scaling/Auto-scaling
- Image builder
-
Playground/Free cloud sandbox
Current status of the project: WIP (not all manifests were checked and validated, especially when it comes to advanced topics like CRDs and Operators)
The format most likely will change significantly in the future.