One CLI to rule them all, One CLI to find them, One CLI to bring them all and in the cluster deploy them.
Welcome, fellow travelers! If you're here, chances are you're embarking on a journey to forge The One CLI.
As Gandalf once said, "All we have to decide is what to do with the time that is given us". So let's get started on this epic adventure!
This branch contains the final version of The One CLI! If you want to follow along with the workshop and build the CLI step-by-step, make sure to start from the step-0 branch.
To get started with The One CLI, you'll need:
- Go (stable)
kubectlgit- kind (for testing)
Throughout this workshop, we'll be building The One CLI together, one step at a time. Each step will add new features and functionalities to the CLI, until we have a simple, functioning tool for interacting with Kubernetes.
To get started, clone the repository and checkout to step-0!
Impatient to know what we are going to implement? Here's a sneak peek for you:
- Step 0: Cobra initialization,
initcommand - Step 1:
add-contextcommand - Step 2: create K8s resources from YAML manifests, and initialize K8s clients
- Step 3:
deploycommand - Step 4: multi-cluster deployment
If you have any suggestions for improving the One CLI or this workshop, feel free to open an issue or submit a pull request. We're always looking for ways to make this workshop better for everyone involved.
If you have any questions or feedback, feel free to reach out to me on Twitter: @feeskafoo.
Thanks for joining me on this journey to build The One CLI!