---
title: Kubectl and friends as a snap
description: Canonical provides Kubernetes components such as kubectl, kubeadm, kubefed,
  kube-apiserver and more as individually packaged snaps.
url: https://canonical.com/blog/kubectl-and-friends-as-a-snap?format=md
---

1. [Blog](https://canonical.com/blog)
2. Article

---

[anaqvi](https://canonical.com/blog/author/anaqvi "More about anaqvi")

9 October 2019

# Kubectl and friends as a snap

[kubectl](https://canonical.com/blog/tag/kubectl)
[kubernetes](https://canonical.com/blog/tag/kubernetes)

---

Share the article

At Canonical, we build solutions to simplify the lives of our users. We want to reduce complexity, costs, and barriers to entry. When we built the [Canonical Distribution of Kubernetes](https://www.ubuntu.com/kubernetes) (CDK) and [MicroK8s](https://microk8s.io/), we made sure it aligned with our mission. We built snaps like kubectl for various Kubernetes clients and services to ensure a harmonious ecosystem.

From user feedback, requests and going over the exciting use cases our users and partners are experimenting with, sometimes you just need to get up and running. [*Kubernetes on a Raspberry Pi anyone*](https://ubuntu.com/blog/single-node-kubernetes-on-raspberry-pi-microk8s-ubuntu)*?* This is why we provide Kubernetes components such as kubectl, kubefed, kubeadm, etc. as snaps and open to use for your use cases.

## How to install Kubectl

A single-line command is all you need; you can just snap install these use them right away:

`$ sudo snap install kubectl --classic`

`kubectl 1.16.0 from 'canonical' installed`

`$ kubectl version --clientClient Version: version.Infoversion.Info{Major:"1", Minor:"16", GitVersion:"v1.16.0", GitCommit:"2bd9643cee5b3b3a5ecbd3af49d09018f0773c77", GitTreeState:"clean", BuildDate:"2019-09-19T05:14:01Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}`

The installation for kubefed and kubeadm is the same:

`sudo snap install kubefed --classic`
`sudo snap install kubeadm --classic`

## What’s next?

Check these out and let us know what you think! The source code for these Kubernetes snaps can be found on our [Github repo](https://github.com/juju-solutions/release/tree/rye/snaps/snap) if you’d like to contribute or report an issue. For feedback or requests chat with us on the [Kubernetes Slack](http://slack.kubernetes.io/), in the #microk8s channel, [Kubernetes Forum](https://discuss.kubernetes.io/tags/microk8s) or tag us [@canonical](https://twitter.com/Canonical), [@ubuntu](https://twitter.com/Ubuntu) on Twitter (#MicroK8s). We are excited to hear from you!

## Sign up for our newsletter

Get the latest Canonical news and updates in your inbox.

Work email:

\*I agree to receive information about Canonical's
products and services.

By submitting this form, I confirm that I have read and agree to [Canonical's Privacy Policy](https://canonical.com/legal/dataprivacy).

Sign up

## Share on

---

## Related posts

[### How to set up a micro lab: four principles for a reliable homelab](https://canonical.com/blog/how-to-set-up-a-reliable-homelab)

After over a decade of running a homelab, I have learned a few difficult lessons. Although it begins as a “lab,” you inevitably end up with something you want to keep. If a...

[Jake Nabasny](https://canonical.com/blog/author/slapcat)

17 March 2026

[### Deploy your Spring Boot application to production](https://canonical.com/blog/deploy-spring-application-to-production)

In this article we walk through the steps required to deploy a Spring Boot application to production using Juju and Kubernetes. The goal is to showcase the integration of the...

[Javier de la Puente](https://canonical.com/blog/author/javierdelapuente)

13 January 2026

[### Harnessing the potential of 5G with Kubernetes: a cloud-native telco transformation perspective](https://canonical.com/blog/harnessing-the-potential-of-5g-with-kubernetes-a-cloud-native-telco-transformation-perspective)

Telecommunications networks are undergoing a cloud-native revolution. 5G promises ultra-fast connectivity and real-time services, but achieving those benefits requires an...

[Benjamin Ryzman](https://canonical.com/blog/author/benjaminryzman)

10 December 2025

[### Canonical releases FIPS-enabled Kubernetes](https://canonical.com/blog/canonical-releases-fips-enabled-kubernetes)

Today at KubeCon North America, Canonical, the publisher of Ubuntu, released support to enable FIPS mode in its Kubernetes distribution, providing everything needed to create...

[Canonical](https://canonical.com/blog/author/canonical)

11 November 2025
