Skip to content

Requirements

Here are the pre-requisites for installation of the self hosted controller in Azure AKS.

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 Azure API
  • Access to switch as root user
  • All Environment variables must be specified in the same terminal where terraform is to be executed

Install Binaries

Execute the below commands in the Jump server created above

Install Kubectl

cd /root
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
install -o root -g root -m 0755 kubectl /usr/bin/kubectl

Install Azure CLI

curl -L https://aka.ms/InstallAzureCli | bash
exec -l $SHELL # restart your shell.
az --version

Configure Azure user account

The user has to configure his own credentials

az login

On running the az login, you will get an azure device login link and a code. Access the link and enter the code which is provided in the link.

To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code RYBSQXMY9 to authenticate

Azure Login

Install Helm

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

yum update
yum install git
git --version

For UBUNTU/DEBIAN

apt-get update
apt-get install git-all
git --version

Install Terraform

For CentOS/RHEL

yum install -y yum-utils

yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo

yum -y install terraform

For UBUNTU/DEBIAN

curl -fsSL https://apt.releases.hashicorp.com/gpg | apt-key add -

apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"

apt-get update && apt-get install terraform