Getting started
Network administrators who have access to NetScaler (MPX/SDX/VPX/BLX) and Kubernetes environment can deploy NetScaler Kubernetes Gateway Controller in Kubernetes.
Prerequisites
- You have installed Kubernetes cluster.
- You have installed Helm version 3.x or later. To install Helm, see here.
- You have Installed the Gateway API CRDs from Gateway API CRDs from the official standard channel.
- You have a system user account on NetScaler. NetScaler Kubernetes Gateway Controller uses this account to push configuration to NetScaler. For more information, see Create a system user account for NetScaler Ingress Controller in NetScaler.
- You have a Kubernetes secret to store NetScaler user account credentials. See How to use Kubernetes secrets for storing NetScaler credentials.
How to deploy NetScaler Kubernetes Gateway Controller in Kubernetes cluster
-
Add the NetScaler Helm chart repository to your local registry by using the following command:
helm repo add netscaler https://netscaler.github.io/netscaler-helm-charts/
If the NetScaler Helm chart repository is already added to your local registry, use the following command to update the repository:
helm repo update netscaler
-
Install NetScaler Kubernetes Gateway Controller by using the following command.
helm install gateway-controller netscaler/netscaler-kubernetes-gateway-controller --set gatewayController.gatewayControllerName=citrix.com/nsgc-controller,license.accept=yes,gatewayController.entityPrefix=gwy
-
Verify the installation.
kubectl get pods
-
(Optional) View the summary of NetScaler Kubernetes Gateway Controller pod.
kubectl describe pod <pod name>
Example:
kubectl describe pod netscaler-kubernetes-gateway-controller-5678d66d9b-nqp6p
-
(Optional) Check the NetScaler Kubernetes Gateway Controller logs.
kubectl logs -f <pod name>
Example:
kubectl logs -f netscaler-kubernetes-gateway-controller-5678d66d9b-nqp6p
-
(Optional) Delete the installation.
helm uninstall netscaler-kubernetes-gateway-controller