Canonical Kubernetes is the fastest, easiest way to deploy a fully-conformant Kubernetes cluster. Harnessing pure upstream Kubernetes, this distribution adds the missing pieces (e.g. ingress, dns, networking) for a zero-ops experience.
For more information and instructions, please see the official documentation at: https://documentation.ubuntu.com/canonical-kubernetes
Install Canonical Kubernetes and initialise the cluster with:
sudo snap install k8s --channel=1.30-classic/beta --classic
sudo k8s bootstrapConfirm the installation was successful:
sudo k8s statusUse kubectl to interact with k8s:
sudo k8s kubectl get pods -ARemove the snap with:
sudo snap remove k8s --purgeTo build the Kubernetes snap on an Ubuntu machine you need Snapcraft.
sudo snap install snapcraft --classicBuilding the project by running snapcraft in the root of this repository. Snapcraft spawns a VM managed by Multipass and builds the snap inside it. If you don’t have Multipass installed, snapcraft will first prompt for its automatic installation.
After snapcraft completes, you can install the newly compiled snap:
sudo snap install k8s_*.snap --classic --dangerous