Skip to main content

Your submission was sent successfully! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates from Canonical and upcoming events where you can meet our team.Close

Thank you for contacting us. A member of our team will be in touch shortly. Close

An error occurred while submitting your form. Please try again or file a bug report. Close

Build-time variables

When generating the MicroK8s snap, a number of build-time environment variables can be used to modify components or setting, as listed here:

variable use
CNI_VERSION version of CNI tools
CONTAINERD_COMMIT the commit hash from which to build containerd
ETCD_VERSION version of etcd
ISTIO_VERSION istio release
KNATIVE_EVENTING_VERSION Knative Eventing release
KNATIVE_SERVING_VERSION Knative Serving release
KUBE_TRACK Kubernetes release series (e.g., 1.10) to package. Defaults to latest stable
KUBE_VERSION Kubernetes release to package. Defaults to latest stable
KUBERNETES_COMMIT commit to be used from KUBERNETES_REPOSITORY for building the Kubernetes binaries
KUBERNETES_REPOSITORY build the Kubernetes binaries from this repository instead of getting them from upstream
RUNC_COMMIT the commit hash from which to build runc

Last updated 2 years ago. Help improve this document in the forum.