Skip to content

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

Notifications You must be signed in to change notification settings

evilnick/k8s-snap

 
 

Repository files navigation

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

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 80.5%
  • Python 13.2%
  • Shell 5.9%
  • Other 0.4%