Config maps to assign ports to services

Under [ 📁Workloads ], select:

> Config Maps

From the [ Namespace: ] dropdown, select the namespace given in the config map path used to configure data ports in ingress-nginx.

For example, select:

default

In the [ Config Maps ] list, create, if not already created, a config map with a name as used to configure data ports in ingress-nginx.

In the [ Config Maps ] list, locate and select the config map.

For example, select:

⚙(CM) tcp-services-configmap

Select the [ YAML ] tab and locate the data section:

kind: ConfigMap apiVersion: v1 metadata: name: tcp-services-configmap namespace: default data:

Append your port description giving it a desired port number as a name. As a value give it a service path followed by the port number to be used and, optionally, PROXY flags that the desired port will use Proxy Protocol in it's input and / or at the service port input.

For example, appending DNS and LDAPS port descriptions for DNS and LDAPS services:

kind: ConfigMap apiVersion: v1 metadata: name: tcp-services-configmap namespace: default data: '53': 'default/named-service:53' '636': 'default/openldap-service:636'

For example, appending MySQL port description for MySQL service that expects Proxy Protocol at the service port input, but NOT at it's input:

kind: ConfigMap apiVersion: v1 metadata: name: tcp-services-configmap namespace: default data: '53': 'default/named-service:53' '636': 'default/openldap-service:636' '3306': 'default/mariadb-service:3306::PROXY'

For example, appending NginX port description for NginX service that expects Proxy Protocol at the service port input AND at it's input:

kind: ConfigMap apiVersion: v1 metadata: name: tcp-services-configmap namespace: default data: '53': 'default/named-service:53' '636': 'default/openldap-service:636' '3306': 'default/mariadb-service:3306::PROXY' '8880': 'default/nginx-service:80:PROXY:PROXY'