Skip to content

KubeArmor Bottlerocket OS deployment guide

Barun Acharya edited this page Jul 14, 2022 · 4 revisions

1. Prerequisite for the deployment

  • Set up AWS credentials on your system

    Follow the Getting started with Amazon EKS guide

  • Install eksctl

    Install eksctl on your local system

    curl --silent --location "https://github.com/weaveworks/eksctl/releases/latest/download/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp
    sudo mv /tmp/eksctl /usr/local/bin
    eksctl version
    

2. Create EKS Cluster with BottleRocket

Follow the quickstart guide at Using a Bottlerocket AMI with Amazon EKS

eksctl create cluster -f ./bottlerocket.yaml

Once you have your cluster created, you can check out your cluster using kubectl

~$ kubectl get nodes -owide
NAME                             STATUS   ROLES    AGE     VERSION               INTERNAL-IP      EXTERNAL-IP    OS-IMAGE                               KERNEL-VERSION   CONTAINER-RUNTIME
ip-192-168-18-137.ec2.internal   Ready    <none>   9m57s   v1.22.9-eks-0857b39   192.168.18.137   3.238.78.182   Bottlerocket OS 1.8.0 (aws-k8s-1.22)   5.10.118         containerd://1.6.6+bottlerocket

3. Deploying KubeArmor

  • Follow the deployment guide to install KubeArmor in the cluster.
  • karmor install image image
Clone this wiki locally