Fortinet black logo

Online Help

Deploy Kubernetes Agent

Copy Link
Copy Doc ID 73ddbf8a-9129-11ec-9fd1-fa163e15d75b:781077

Deploy Kubernetes Agent

Follow the steps below to install the new Kubernetes agent:

  1. Go to Container Protection > Configure > Kubernetes Cluster.
  2. Locate the cluster that is going to have Kubernetes Agent installed, then click on the Actions button, and select View Kubernetes Agent Deployment Commands.
  3. Copy the deploy command and execute it in Kubectl:
  4. ./fcli deploy kubernetes --token <AccessToken> --region <Region>

    The default port is "3001", you may also deploy the agent to a specific port.

    For Example, the following deploy command would deploy the Kubernetes agent to port "3002":

    ./fcli deploy kubernetes --token <AccessToken> --region <Region> --dcPort3002

  5. If the fcli command was executed successfully, run the command below to verify it:
  6. kubectl get pods -n fortinet

  7. A successful deployment should look like below with the command:

Deploy Kubernetes Agent

Follow the steps below to install the new Kubernetes agent:

  1. Go to Container Protection > Configure > Kubernetes Cluster.
  2. Locate the cluster that is going to have Kubernetes Agent installed, then click on the Actions button, and select View Kubernetes Agent Deployment Commands.
  3. Copy the deploy command and execute it in Kubectl:
  4. ./fcli deploy kubernetes --token <AccessToken> --region <Region>

    The default port is "3001", you may also deploy the agent to a specific port.

    For Example, the following deploy command would deploy the Kubernetes agent to port "3002":

    ./fcli deploy kubernetes --token <AccessToken> --region <Region> --dcPort3002

  5. If the fcli command was executed successfully, run the command below to verify it:
  6. kubectl get pods -n fortinet

  7. A successful deployment should look like below with the command: