What Now?

This lesson discusses what we should do next with all the resources that we have accquired.

Now that you know how to create a Jenkins X cluster or how to install it inside an existing Kubernetes cluster, we’re ready to start exploring its features. But, before we get there, I’d like to share with you the commands to destroy your cluster or, if you prefer, to uninstall Jenkins X. That way, you can undo what we did, or you can take a break at the end of each chapter without paying your hosting vendor for unused resources. Each chapter will start with the instructions that will get you up and running in no time.

In other words, if you are not planning to jump into the next chapter right away, you can use the commands that follow to undo what we did (destroy the cluster or uninstall Jenkins X). If you are still full of energy and want to continue reading, jump into the next chapter right away.

Destroy the cluster and remove the Github repositories#

If you do plan to delete the cluster or to uninstall Jenkins X, you should probably remove the GitHub repositories and a few local files. When we install Jenkins X again, those repositories and files will be recreated.

⚠️ Please replace [...] with your GitHub user before executing the commands that follow.

We deleted the two repositories dedicated to environments, even though we haven’t explored them. Environments are critical, and we will go into detail about them in one of the next chapters.

The rest of the instructions depend on the Kubernetes flavor you used and whether you chose to create a cluster with jx cluster create or you installed Jenkins X in an existing cluster.


The next lesson will show how we can delete a GKE cluster and the associated unused resources.

What Did We Get?
Deleting GKE Cluster and Unused Resources
Mark as Completed
Report an Issue