kubernetes-the-hard-way-on-lxd

This tutorial is based on Kelsey's tutorial to deploy Kubernetes 1.34.3 the hard way, but using LXC containers in a single host.

View on GitHub

Installing the Client Tools

In this lab you will install the command line utilities required to complete this tutorial: openssl, and kubectl.

Install OpenSSL

openssl command line utility will be used to provision a PKI Infrastructure and generate TLS certificates.

Download and install openssl from the official release binaries:

Linux

sudo apt-get install openssl

Verification

Verify openssl version 3.x or higher is installed:

openssl version

output

OpenSSL 3.6.0 1 Oct 2025 (Library: OpenSSL 3.6.0 1 Oct 2025)

Next: Provisioning Compute Resources