pombredanne / k8s-snap

Canonical Kubernetes is an opinionated and CNCF conformant Kubernetes operated by Snaps and Charms, which come together to bring simplified operations and an enhanced security posture on any infrastructure.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Canonical Kubernetes Snap

End to End Tests

Get it from the Snap Store

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://ubuntu.com/kubernetes

Quickstart

Install Canonical Kubernetes and initialise the cluster with:

sudo snap install k8s --channel=1.30-classic/beta --classic
sudo k8s bootstrap

Confirm the installation was successful:

sudo k8s status

Use kubectl to interact with k8s:

sudo k8s kubectl get pods -A

Remove the snap with:

sudo snap remove k8s --purge

Build the project from source

To build the Kubernetes snap on an Ubuntu machine you need Snapcraft.

sudo snap install snapcraft --classic

Building 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

About

Canonical Kubernetes is an opinionated and CNCF conformant Kubernetes operated by Snaps and Charms, which come together to bring simplified operations and an enhanced security posture on any infrastructure.

License:GNU General Public License v3.0


Languages

Language:Go 82.6%Language:Python 12.9%Language:Shell 4.0%Language:Smarty 0.3%Language:Makefile 0.2%