Configuring a Tanzu Community Edition Bootstrap Client

I’m still continuing to find my feet with creating YouTube videos. I am, though, enjoying the new medium to share knowledge through. In this YouTube video I start with the basics of preparing a bootstrap client to install Tanzu Community Edition (TCE), VMware’s free and open source distribution of Kubernetes.

In the video I use a fresh install of Rocky Linux. I start with the prerequisites and install Docker CE. I then install Homebrew and use that to install the Tanzu Community Edition Installer. Please watch for a walkthrough on how I did it.

Configuring a Tanzu Community Edition bootstrap client

All the commands I used to configure the bootstrap client can be found below broken down into sections.

Install Docker CE

sudo dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo

sudo dnf install docker-ce --allowerasing -y

sudo systemctl start docker

sudo systemctl status docker

sudo groupadd docker

sudo usermod -aGdocker $USER

newgrp docker 

docker --version

docker run hello-world

Install Docker Compose (Optional)

# If not installed
sudo dnf install -y curl

sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

docker-compose --version

Install Homebrew

sudo dnf groups mark install "Development Tools" -y

sudo dnf groupinstall "Development Tools" -y

sudo yum install git -y

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# Extract following two commands from brew install output
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> /home/mark/.bash_profile

eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"

Install Tanzu Community Edition

brew install vmware-tanzu/tanzu/tanzu-community-edition

# Extract command from TCE install output
/home/linuxbrew/.linuxbrew/Cellar/tanzu-community-edition/v0.12.1/libexec/configure-tce.sh

Install Kubectl

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/local/bin/kubectl

kubectl version --client

Run the Tanzu Community Edition Installer

tanzu management-cluster create --ui

Leave a Reply

Your email address will not be published. Required fields are marked *