More

Configuring Ingress Controllers

Overview

The Ingress Controllers page contains a list of Ingress controllers created in the cluster. The Ingress controller controls the incoming traffic of the cluster namespaces.

On the Ingress Controllers page you can create, edit, delete, or view previously created Ingress Controllers.


System Ingress Controller

By default, a system Ingress Controller with the name ingress is deployed in the cluster for all namespaces. When a new namespace is added to the cluster, it is automatically included in the list of namespaces for which incoming traffic must be configured.

For the system Ingress Controller, the value * in the namespaces column means enabling all namespaces.

System ingress is not editable.

On the system Ingress Controller page, the Interface field may contain the default Ingress wildcard FQDN, for example, *.clustername.ip-10-11-14-13.shturval.link. This is a domain name used to access Ingress, not the name of a network interface on a node. The * character represents all host names in the domain, while the ip-10-11-14-13 part contains the external Ingress IP address that is also displayed in the IP address field. The FQDN is displayed in Interface when the service configuration of the system Ingress Controller does not specify an external IP address or a network interface.

Screenshot: system Ingress Controller

System Ingress Controller


Creating an Ingress Controller

To add a new Ingress Controller:

  1. Ingress Controllers → + Add Ingress Controller.
  2. On the page that opens, fill in the parameters:
    • IP address of the Ingress controller — assigned to Worker nodes in the cluster. You can set the IP address only when creating the Ingress Controller.
    • Interface — the name of a network interface in the operating system of the Worker node from which kube-vip announces the specified IP address, for example, eth0. Do not enter an IP address, the Ingress DNS name, or a node name in this field. This parameter is optional and can be set only when creating an additional Ingress Controller.
    • Namespace selector - a label of namespaces for which incoming traffic should be configured and an Ingress Controller created. Click + and set the label. After adding a label, one or more namespaces with the specified label will be displayed in the List of Namespaces section.
  3. Click Save.
Screenshot: creating Ingress Controller

Creating Ingress Controller

Once saved, the Ingress Controller will appear listed on the Ingress Controllers page. Ingress Controller is created in a new auto-generated namespace.

In the installed services, an External Connection Management Module will be added with a name corresponding to the name of the created namespace.


Configuration notes

Note: Please note:

  1. The namespace selector works on the AND logic (all labels must match). If you need to add several namespaces, assign one label to the group of these namespaces and specify it in the selector.
  2. A namespace included in an Ingress controller cannot be added to another Ingress controller.
  3. When you associate an IP address with an interface, incoming packets are routed through that interface. Outgoing packets follow routing tables on the cluster node.

View, change and delete Ingress Controller

To view an Ingress Controller, click on its line in the list.

When changing the Ingress Controller, you can update the list of namespaces. To do this, change the labels in the Namespace selector block. The updated list of namespaces will be displayed in the table of the List of namespaces section.

Note: Please note: The namespace selector works on the AND logic (all labels must match).

If a specific namespace is specified in the Ingress Controller configuration, the Namespace selector block is replaced with the name of this namespace. This namespace is not available for editing.

When you are finished making changes, click Save.

To remove an Ingress Controller, click the delete action on the item row on the Ingress Controllers page, or go to the Ingress Controller view page and click Delete, then confirm the action.