Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
titleRoles of nodes
# Note the "ROLES" column
$ kubectl get node
NAME                     STATUS   ROLES     AGE     VERSION
mycentos-0.novalocal     Ready    master    70d     v1.19.1
mycentos-1.novalocal     Ready    worker    69d     v1.19.1
mycentos-2.novalocal     Ready    worker    69d     v1.19.1
mycentos-ing.novalocal   Ready    ingress   4d19h   v1.19.1

Ingress Controller

As said previously, you must have an Ingress controller to satisfy an Ingress. Only creating an Ingress resource has no effect. There are several input controllers, here we will use one of the most used. Let's go, therefore, on the installation guide of the Nginx Ingress Controller for Kubernetes (an installation with Heml is also available on the same site).

Before continuing with step 2 of the guide, let's stop for a moment, because we need to make some small changes to the files in the folder we just cloned from the GitHub repo.

Ingress resource