Getting a token to auth Kubernetes in Jenkins

eksctl utils write-kubeconfig –cluster=MyEKS
kubectl create ns jenkins
kubectl create serviceaccount jenkins –namespace jenkins
kubectl create rolebinding jenkins-admin-binding –clusterrole admin –serviceaccount jenkins:jenkins –namespace jenkins
kubectl create token jenkins –namespace jenkins


Required package to create buildroot images

Buildroot is a system for creating Linux based operating systems with a fully customisable arrangement. Buildroot can be run in any Linux environment but on Ubuntu it requires a few extra packages:

sudo apt install build-essential clang flex bison g++ gawk gcc-multilib g++-multilib gettext git libncurses5-dev libssl-dev python3-distutils rsync unzip zlib1g-dev file wget