KOP Airgap - Requirements
Here are the pre-requisites for installation of the self hosted Controller in Amazon EKS environments.
Jump Server Requirements¶
- Operating System: Centos/Ubuntu
- Number of instances: 1
- System Size(Minimum): 2 CPU/4 GB Memory
- Root Disk(Minimum): 100 GB
- Temp directory (/tmp) Minimum 30G, if it's not part of the root disk
- Allow outbound 443/tcp to reach AWS API
- Disabled firewall
Execute the below commands in the Jump server created above (Run as both root and local user).
Install Binaries¶
Kubectl CLI¶
cd /root
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
sudo install -o root -g root -m 0755 kubectl /usr/bin/kubectl
AWS CLI¶
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
./aws/install --bin-dir /usr/bin --install-dir /usr/aws-cli
aws --version
Configure AWS user account¶
The user has to configure his own credentials
aws configure
aws sts get-caller-identity
mkdir -p $HOME/.kube
touch $HOME/.kube/config
chown $(id -u):$(id -g) $HOME/.kube/config
Disable the firewall when it is running¶
For CentOS/RHEL:
sudo systemctl stop firewalld.service
sudo systemctl disable firewalld.service
For UBUNTU/DEBIAN:
sudo systemctl stop ufw.service
sudo systemctl disable ufw.service
Install and helm binaries¶
Download and install Helm
curl -LO https://get.helm.sh/helm-v3.8.0-linux-amd64.tar.gz
tar -zxvf helm-v3.8.0-linux-amd64.tar.gz
mv linux-amd64/helm /usr/local/bin/helm
Install Git Packages¶
For CentOS/RHEL:
sudo yum install git
sudo git --version
For UBUNTU/DEBIAN:
sudo apt-get update
sudo apt-get install git-all
Install terraform binaries¶
For CentOS/RHEL:
sudo yum install -y yum-utils
sudo yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo
sudo yum -y install terraform
For UBUNTU/DEBIAN:
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
sudo apt-get update && sudo apt-get install terraform