はじめに

最終公開日 : Oct 02, 2026
NetScaler (MPX/VPX/BLX) および Kubernetes 環境にアクセスできるネットワーク管理者は、NetScaler Kubernetes Gateway Controller を Kubernetes に展開できます。

前提条件

  • Kubernetes クラスターがインストールされていること。
  • Helm バージョン 3.x 以降がインストールされていること。Helm のインストールについては、Helm チャートを参照してください。
  • 公式標準チャネルから Gateway API CRD がインストールされていること。

Kubernetes クラスターに NetScaler® Kubernetes Gateway Controller を展開する方法

NetScaler MPX、VPX、または BLX を構成する Kubernetes クラスターに NetScaler Kubernetes Gateway Controller を展開するには、次の手順を実行します。
  1. ユースケースに基づいて values.yaml を生成します。NetScaler Kubernetes Gateway Controller のインストール中に構成できる必須パラメーターとオプションパラメーターについては、構成を参照してください。
    netscaler:
      adcCredentialSecret: "nslogin"
      nsIP: "<nsIP>" # NetScaler Management IP or SNIP with management access enabled for HAor CLIP for
                     # NetScaler Cluster
    gatewayController:
      entityPrefix: gwy
      gatewayControllerName: "citrix.com/nsgw-controller"
    license:
      accept: yes
    Kubernetes Gateway には、NetScaler MPX または NetScaler VPX のシステムユーザーアカウントのユーザー名とパスワードが必要です。NetScaler Kubernetes Gateway Controller が NetScaler MPX または VPX を構成できるように、NetScaler に必要な権限を持つデフォルト以外のシステムユーザーアカウントがあることを確認してください。NetScaler でシステムユーザーアカウントを作成する手順については、NetScaler で NetScaler Ingress Controller のシステムユーザーアカウントを作成するを参照してください。
    ユーザー名とパスワードを直接提供するか、Kubernetes シークレットを使用できます。Kubernetes シークレットを使用するには、次のコマンドでユーザー名とパスワードのシークレットを作成します。
    kubectl create secret  generic nslogin --from-literal=username=<username> --from-literal=password=<password>
    注:
    entityPrefix と gatewayControllerName は必須であり、NetScaler Kubernetes Gateway Controller のすべての展開で一意である必要があります。
  2. Helm チャートと前の手順で生成された values.yaml を使用して、NetScaler Kubernetes Gateway Controller を展開します。詳細については、Helm チャートを使用した NetScaler Kubernetes Gateway Controller の展開を参照してください。
    helm repo add netscaler https://netscaler.github.io/netscaler-helm-charts/
    helm install gateway-controller netscaler/netscaler-kubernetes-gateway-controller -f values.yaml
  3. インストールを確認します。
    kubectl get pods
  4. (オプション) NetScaler Kubernetes Gateway Controllerポッドの概要を表示します。
    kubectl describe pod <pod name>
    例:
    kubectl describe pod netscaler-kubernetes-gateway-controller-5678d66d9b-nqp6p
  5. (オプション) NetScaler Kubernetes Gateway Controllerのログを確認します。
    kubectl logs -f <pod name>
    例:
    kubectl logs -f netscaler-kubernetes-gateway-controller-5678d66d9b-nqp6p
  6. (オプション) インストールを削除します。
    helm uninstall gateway-controller

KubernetesクラスターでNetScaler Kubernetes Gateway ControllerとNetScaler CPXをデプロイする方法

NetScaler CPXを構成するKubernetesクラスターにNetScaler Kubernetes Gateway Controllerをデプロイするには、次の手順を実行します。
  1. ユースケースに基づいてvalues.yamlを生成します。NetScaler CPXとKubernetes Gateway Controllerのインストール中に構成できる必須およびオプションのパラメーターについては、構成を参照してください。
    gatewayController:
        entityPrefix: gwy
        gatewayControllerName: "citrix.com/nscpxgw-controller"
    license:
        accept: yes
    service:
        annotations: {}
        spec:
            type: NodePort
            ports:
            - port: 80
              targetPort: 80
              protocol: TCP
              name: http
            - port: 443
              targetPort: 443
              protocol: TCP
              name: https
    注:
    entityPrefixとgatewayControllerNameは必須であり、NetScaler CPXとKubernetes Gateway Controllerのすべてのデプロイメントで一意である必要があります。
  2. Helmチャートと前のステップで生成されたvalues.yamlを使用して、NetScaler CPXとKubernetes Gateway Controllerをデプロイします。詳細については、Helmチャートを使用したNetScaler CPXとKubernetes Gateway Controllerのデプロイを参照してください。
    helm repo add netscaler https://netscaler.github.io/netscaler-helm-charts/
    helm install cpx-gateway-controller netscaler/netscaler-cpx-with-gateway-controller  -f values.yaml
  3. インストールを確認します。
    kubectl get pods
  4. (オプション) NetScaler Kubernetes Gateway Controllerポッドの概要を表示します。
    kubectl describe pod <pod name>
    例:
    kubectl describe pod cpx-gateway-controller-netscaler-cpx-with-gateway-controllz6ghg
  5. (オプション) NetScaler Kubernetes Gateway Controllerのログを確認します。
    kubectl logs -f <pod name> -c nskgwc
    例:
    kubectl logs -f cpx-gateway-controller-netscaler-cpx-with-gateway-controllz6ghg -c nskgwc
  6. (オプション) インストールを削除します。
    helm uninstall cpx-gateway-controller

次は何をしますか