From the course: Kubernetes: Your First Project (2021)
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Solution: Deleting kind clusters with make - Kubernetes Tutorial
From the course: Kubernetes: Your First Project (2021)
Solution: Deleting kind clusters with make
(upbeat music) - All right. Another day, another challenge. Let's delete this kind cluster with me. First, I'm going to run kind dash dash help to see what options I have available for deleting clusters. As we can see, there's the delete option in plain sight. So let's rerun that with kind delete dash dash help to see what options we have and just like kind create, we can delete a single cluster. So with that information, I'm going to go into my make file and I'm going create a new rule called delete kind cluster. Now make sure that that target is also a phony target that way, if you created a file called delete client cluster somehow, this rule would still work. So now that we have our rule here, let's go ahead and put in kind delete cluster dash dash name, explorecalifornia.com. Really simple. Let's go ahead and save it. But wait, we also created a docker registry for this cluster, right? So we want to…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
What is kind?1m 49s
-
(Locked)
Installing kind4m 32s
-
(Locked)
Creating the kind cluster3m 32s
-
(Locked)
Creating the kind cluster with make2m 10s
-
(Locked)
Creating a local Docker Registry3m 15s
-
(Locked)
Creating the local Docker Registry with make4m 52s
-
(Locked)
Linking the local Docker Registry to the kind cluster3m 34s
-
(Locked)
Linking the kind registry with make6m
-
(Locked)
Challenge: Deleting kind clusters with make27s
-
(Locked)
Solution: Deleting kind clusters with make2m 20s
-
-
-
-
-