From the course: Kubernetes: Your First Project
Unlock the full course today
Join today to access over 23,400 courses taught by industry experts.
Creating the kind cluster with make - Kubernetes Tutorial
From the course: Kubernetes: Your First Project
Creating the kind cluster with make
- Let's create a make recipe to install this cluster. So let's start by opening, make file in your editor. Next we're going to create a new make file rule. Let's call it target, create kind cluster with underscores. We're going to put our cluster creation command underneath it kind Create cluster dash dash name explore california.com. Also remember since we don't want this to fail unexpectedly, let's make it a phony command up here. After we put the name of the command here, I'm going to put two ampersands and then a slash to denote that we have another command on another line incoming, and then I'm going to put kubectl, get nodes to check that our nodes are healthy. You might be thinking Carlos, wouldn't it be cool if we can ensure that kind and kubectl are installed before running this, if you thought this that's an awesome idea. And it's also a great example of target dependencies. So first let's make, create kind…
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
-
-
-
-
-