Kubernetes for Python developers - 2024

"Kubernetes for Python Developers" is the essential guide for developers new to Kubernetes, focusing on a step

374 234

English Pages 440 Year 2024

Report DMCA / Copyright

DOWNLOAD FILE

Kubernetes for Python developers - 2024

Table of contents :
1. The meta stuff
The audience of the book
Why developers should learn Kubernetes
What we will build
What prerequisites you need
2. Containers recap
Intro to containers
How containers work
Container networking
Isolating processes
Docker compose
Docker registry
Other container engines
3. Kubernetes 101
Why Kubernetes?
How Kubernetes works
Components of a Kubernetes cluster
Setting up your first cluster
4. Pods 101
Kubectl, kubeconfig
How to interact with your cluster
Pods, events
working with pods
5. Pods 201
Getting inside a pod
Pod probes
Namespaces
Pod networking
Deploying your first application
6. Beyond pods
Replicasets
Deployments
Services
Full fledged Flask app with Redis
7. Going a notch further
Config maps
Secrets
Init containers
Storing persistent data
8. A more robust setup
Stateful sets
Service accounts and RBAC
Ingress
annotations
9. Closing thoughts
Setting up a CD pipeline in Github
Github actions
Where to go from here
Appendix A: Troubleshooting common scenarios
Pod not coming up
Correct labels
Exposing ports
Resource constraints
Unauthorized
Appendix B: Solutions to exercises

Polecaj historie