Jump to main content

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 1 year, 5 months ago. Help improve this document in the forum.