Repository containing exercises and examples from the book Once Upon a Time Kubernetes.
The Kubernetes cluster described in the book includes:
- 1 control-plane
- 2 workers
The cluster configurations are found in the cluster/kind-config.yaml
file.
git clone [email protected]:mmorejon/once-upon-a-time-k8s.git && \
cd once-upon-a-time-k8s && \
bash/cluster.sh create
Result
Creating cluster "book" ...
✓ Ensuring node image (kindest/node:v1.32.1) 🖼
✓ Preparing nodes 📦 📦 📦
✓ Writing configuration 📜
✓ Starting control-plane 🕹️
✓ Installing CNI 🔌
✓ Installing StorageClass 💾
✓ Joining worker nodes 🚜
Set kubectl context to "kind-book"
You can now use your cluster with:
kubectl cluster-info --context kind-book
Have a question, bug, or feature request? Let us know! https://kind.sigs.k8s.io/#community 🙂
We'd love to hear your thoughts on the book Once Upon a Time Kubernetes. Just like in fairy tales, we're here to help make your dreams come true!