Index Keywords Recent

↶ Return Home

Installing kubectl on Ubuntu

Last Updated May 3rd 2022, 12:41:16 am


This article explains how to install kubectl on systems running Ubuntu 21.10 AMD64.


I am using the following setup.

Client Setup

  • One (1) Laptop (Running Ubuntu 21.10)

Cluster Setup

  • Three (3) Raspberry Pis running Raspberry Pi OS, 64-bit (Debian 10 buster)
    • Two (2) raspberry pi model 4s, with 8gb RAM
    • One (1) Raspberry Pi 400 with 4gb RAM
    • Each Pi is using a Samsung T7 SSD connected via USB 3.0 for storage

Install Kubectl[1]

  1. Download the latest release of kubectl with the following command:
$ curl -LO "$(curl -L -s"
  1. Install kubectl:
$ sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl


  1. Install Kubectl - Linux ↩︎