AWS EKS

Instructions for K2 Agents Installation of AWS EKS.

Prerequisites:

  • Please check K2 Agent Supported components

K2 Agent Supported Components

Steps

Step 1 : Download Yaml

Go to Installation Page On K2 Portal by signing in with your username and password

Specify group policy name, add cluster name and Download the deployment yaml.

Step 2 : Kubernetes Volume/CSI setup

Perform Kubernetes Volume/CSI setup as mentioned here

  • Create a Volume in your cluster with the storage backend of your choice under name ‘k2-volume-1-10-16-PRODUCTION’. Refer https://kubernetes.io/docs/concepts/storage/volumes/ for help regarding K8s Volumes.

  • Download the collector package from the below URL :

    sudo wget -O k2-collectors.zip 'k2io.net/centralmanager/api/v1/help/installers/1.10.16/download/900/96034619811149418751983254798275494295/vm-all.zip?agent_name=all&groupName=PRODUCTION&agentDeploymentEnvironment=PRODUCTION&pullPolicyRequired=true'
  • Extract the contents of k2-collectors.zip :

    unzip k2-collectors.zip
  • Copy the contents of the k2-collectors directory into the ‘k2-volume-1-10-16-PRODUCTION’ volume.

  • (Optional) Remove the k2-collectors.zip :

    rm -f k2-collectors.zip

You need to add this volume to K2 Agent Pod at /opt/k2-ic mount point in the below yaml before install.

Step 3 :

Install the above yaml(s) along with a desired kubernetes namespace in which you want the applications to be protected by K2. The mechanism to specify namespace will vary as per your setup.

Congratulations, You have successfully installed K2 Platform on your premises.

Last updated

Was this helpful?