Use NetScaler MAS as an Ingress Controller for the Kubernetes Environment

NetScaler Management and Analytics System (MAS) integrates with Kubernetes cluster to automate the configuration and management of NetScaler services. Also, NetScaler MAS enables you to get visibility into the application environment and provides you with rich analytics from NetScaler devices for insights and troubleshooting.

In a Kubernetes environment, to load balance Ingress traffic for Kubernetes services you need an Ingress resource and an Ingress controller. An Ingress resource is a Kubernetes resource with which you can configure a load balancer for your Kubernetes services. The load balancer exposes the services to clients outside your Kubernetes cluster by providing externally-reachable URLs for the services, and load balances the traffic sent to those URLs.

NetScaler ADC instances such as, NetScaler MPX appliance, NetScaler VPX appliance, or NetScaler CPX can be used an Ingress load balancer in a Kubernetes environment, to load balance the ingress traffic to your Kubernetes services by clients outside the Kubernetes cluster.

An Ingress Controller integrates the load balancer with Kubernetes. It monitors the Ingress resource through the Kubernetes API and updates the configurations of the load balancer if any of the services are changed by scaling, rolling updates, or metadata changes. The NetScaler Management and Analytics System (MAS) includes a NetScaler Ingress Controller for the Kubernetes environment. The NetScaler Ingress Controller with the NetScaler ADC instances enable you to handle Ingress traffic in a Kubernetes environment.

To use NetScaler MAS as an Ingress controller for a Kubernetes environment, you must integrate NetScaler MAS and the Kubernetes cluster by configuring the Kubernetes cluster details in NetScaler MAS.

To integrate a Kubernetes cluster and NetScaler MAS:

  1. Log on to the NetScaler MAS server GUI by using the administrator credentials. The default administrator credentials are nsroot/nsroot.

  2. Navigate to Orchestration > Container Orchestration.

  3. In the Container Orchestration pane, select Kubernetes Configuration and click Continue.

    localized image

  4. In the Kubernetes Configuration dialog box, do the following:

    localized image

    1. In the API Server URL field, enter the kube-apiserver URL.

    2. In the Token field, enter the token.

    3. If you are using a digital certificate for communication, Select the Server certificate Validation check box, and enter the certificate passcode in the CA field.

    4. Click OK.

    After you have configured the Kubernetes details, you can view them at: Orchestration > Container Orchestration.

    localized image

Use NetScaler MAS as an Ingress Controller for the Kubernetes Environment

In this article