Skip to content

mmorejon/once-upon-a-time-k8s

Repository files navigation

Once Upon a Time Kubernetes

Repository containing exercises and examples from the book Once Upon a Time Kubernetes.

Cluster Features

The Kubernetes cluster described in the book includes:

  • 1 control-plane
  • 2 workers

Prerequisites

  • Have Docker installed >= 28.1.1
  • Have Kubectl installed 1.32.1
  • Have Kind installed v0.29.0

Create Cluster

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 🙂

Suggestions and Comments

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!

About

Exercises and examples used in the book Once upon a time Kubernetes

Topics

Resources

License

Stars

Watchers

Forks

Languages