From the course: Kubernetes: Your First Project
Unlock the full course today
Join today to access over 24,000 courses taught by industry experts.
Creating the Ingress - Kubernetes Tutorial
From the course: Kubernetes: Your First Project
Creating the Ingress
- [Instructor] All right, creating our ingress. First I'm going to pull up the help page for kubectl create ingress. There's a lot of stuff here, but let's scroll up to the top to see the meat of it. So we can see that we have a few options since we're creating a single ingress with a simple writing rule and a simple rule that sends all traffic for the root of explorecalifornia into the explorecalifornia-SVC service that we created earlier. We're going to want something like what we see here on line four. So notice that we didn't actually have to specify an ingress controller name here. That's actually what we want. If we don't provide an ingress controller, Kubernetes will use the default one set up for the cluster. The NGINX ingress controller that we're going to create is configured to be the default for this cluster. So we don't actually have to create one or provide one here. So let's go ahead and paste that command…
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
-
-
-
-
-
-
-
(Locked)
Understanding Kubernetes manifests: Part 13m 7s
-
(Locked)
Understanding Kubernetes manifests: Part 27m 46s
-
(Locked)
Creating a Deployment3m 1s
-
(Locked)
Creating a Service5m 32s
-
(Locked)
Understanding Ingress and Ingress controllers2m 30s
-
(Locked)
Creating the Ingress3m 2s
-
(Locked)
Configuring kind to use Ingress controllers6m 41s
-
(Locked)
-
-
-