Releases: canonical/microk8s
MicroK8s v1.25 released!
Most important features
Strict confinement goes into general availability
MicroK8s is delivered through Snaps and enjoys the benefits of updates and security features.
Now we’re stepping even further in direction by implementing strict confinement as a new availability channel. We’re delighted to now offer our users a confined Kubernetes experience that has restricted host system access and a more restrictive security posture. Try it out with:
snap install microk8s --channel=1.25-strict/stable
Shrinking snap size
We’re constantly striving to improve our user experience and as part of this we want to give you MicroK8s in the fastest way possible. As part of this we’ve reduced our snap size by up to 25% to help you get your Kubernetes up and running faster than ever.
Addons go from strength to strength
With the introduction of core & community addon repositories, there are new observability, networking and security addons that are generally available in this release.
Image side-loading support
In order to facilitate offline deployments, faster start up times and local development; we have introduced image sideloading support into MicroK8s 1.25.
Power9 architecture support
You asked for it and we listened. For our community that uses Power9 based machines for acceleration, security and data-intensive workloads; MicroK8s can now be operated on these systems.
Updates since last release
Most important updates since the last release:
-
Kubernetes core services
- Kubernetes v1.25
- Support for new architecture, Power9 (ppc64el)
- Containerd upgraded to v1.6.6
- Runc upgraded to v1.1.2
- CoreDNS upgraded to v1.9.3
- Dqlite upgraded to v1.11.1
- CNI tools upgraded to v0.9.1
- Helm v3.9.1 is now bundled as part of the snap
- Flannel upgraded to v0.15.1
- Calico updated to v3.23
- Streamlined build process, resulting in a reduced size by about 60MB (230MB -> 170MB)
-
Usability Improvements
- New
microk8s images import
andmicrok8s images export-local
commands, allowing side-loading of OCI images across the whole cluster. - Extend the microk8s CLI with binaries found under $SNAP_COMMON/plugins/
- New
microk8s version
command - The ingress addon creates an ingress class with name “nginx”, thank you @Orzelius
- Hostpath provisioner updated to v1.4.0, now allows for setting the reclaim policy, courtesy of @jkosik, as well as specifying StorageClasses to point to configurable host paths, thank you @balchua
- Support using a custom storage class for the registry addon, thank you @sudeephb
- The dashboard addon creates a token for accessing it (microk8s-dashboard-token)
- Check the correct file for AppArmor confinement, thank you @MFAshby
- Improved kubelet token search, thank you @ortegarenzy
- New
-
Addon updates
- Prometheus addon is deprecated and replaced with observability addon
- New addon: kube-ovn, try it with
microk8s enable kube-ovn
- New community addon: nfs, try it with
microk8s enable nfs
, thank you @jkosik - New community addon for open source mesh, try it with
microk8s enable osm-edge
, thank you @naqvis - Dashboard updated to v2.6.0, thank you @dud225
- Updated tests for inaccel addon, thank you @eliaskoromilas
- Portainer addon updated, thank you @balasu
- NVIDIA GPU operator updated to v1.11.0
- ArgoCD updated to v4.6.3, thank you @jkosik
- Upgrade Multus CNI to 3.9.0 and support for arm64 architectures, thank you @dud225
- Registry addon updated to 2.8.1, adding support for s390x and ppc64le architectures.
- Updated Linkerd to v2.12.0, thank you @balchua
- Updated Jaeger to v1.36, thank you @balchua
- Updated Keda to v2.8.0, thank you @balchua
- Updated MetalLB to v0.13.3, adding support for configuring address pools via CRD, thank you @balchua
- Updated Knative to v1.6.0 available on arm64, s390x and ppc64el, thank you @csantanapr
Users following the latest stable MicroK8s track will be automatically upgraded to v1.25 in the next few days. Those who want to upgrade their existing clusters can follow the instructions in our docs. Remember, to call sudo microk8s addons repo update <repo_name>
on the addon repositories you would like to fetch updates for.
For more information on MicroK8s consult the official docs, and to contribute to the project, check out the repo at https://github.com/ubuntu/microk8s, or chat with us on the Kubernetes Slack, in the #microk8s channel!
MicroK8s v1.24 released!
Most important updates since the last release:
-
Kubernetes core services
- Kubernetes v1.24
- Containerd v1.5.12, runc v1.0.3
- Calico upgraded to v3.21.4
- Read only kubelet port 10255 closed by default
- Nginx Ingress controller updated to v1.2.0, thank you @balchua
- CoreDNS updated to v1.9.0, thank you @balchua
- Dqlite updated to v1.10.0, improved memory management
-
Usability Improvements
- The control plane will not start automatically in low memory systems (less than 512MB of RAM)
- Hostname resolution is now checked when nodes join a cluster
- The
microk8a add-node
command now has optional yaml or json output - Updated LXD profile to work on the latest OS releases. Thank you @caleblloyd
- Mayastor HA-storage option available with
microk8s enable mayastor
microk8s reset
refactored with improved output- Allow repositories with addons to be added at runtime
- Addons can now be edited before they are enabled
-
Addon updates
- Helm upgraded to v3.8.0, thank you @balchua
- KEDA upgraded to v2.6.0, thanks to @balchua
- Dashboard upgraded to v2.3.0, thank you @hryyan
- Traefik updated to v2.5, thank you @miro-balaz
- Install traefik via Helm, thank you @balasu
- Install portainer via Helm, thank you @balasu
- Updated hostpath-provisioner version. Please
microk8s disable hostpath-storage
andmicrok8s enable hostpath-storage
if you run an old version of the hostpath provisioner.- Remove reliance on selfLink, which has been removed for Kubernetes 1.24+, thank you @chris-hamper
- Fix non-root containers being unable to write to volumes
- Ensure NodeAffinity rules are set for all PersistentVolumes
- Support for s390x architecture
- The Kubeflow and Juju addons have been removed. To install Kubeflow on MicroK8s, please see the Charmed Kubeflow docs.
- The Ambassador addon has been removed.
- New addon: ArgoCD. Try it with
microk8s enable community; microk8s enable argocd
. Thank you @dirien - New addon: StarBoard. Try it with
microk8s enable community; microk8s enable starboard
. Thank you @AnaisUrlichs
Users following the latest stable MicroK8s track will be automatically upgraded to v1.24 in the next few days. Those who want to upgrade their existing clusters can follow the instructions in our docs.
Note: In this release selfLink is removed from upstream Kubernetes, therefore if you run an old hostpath-provisioner (version 1.0.0) its pod will start crashlooping. If this is the case please reenable the hostpath-storage addon with microk8s disable hostpath-storage
and microk8s enable hostpath-storage
. When disabling the addon you will be asked if you want to keep the already provisioned persistence volume claims.
For more information on MicroK8s consult the official docs or talk to us on the Kubernetes Slack, in the #microk8s channel!
MicroK8s v1.23 released!
Most important updates since last release:
- Kubernetes core services
- Kubernetes 1.23
- Kubernetes services profiling disabled by default
- Events TTL set to 5 minutes
- Improved dqlite stability and performance
- For deployments on lxc conntrack limits are not set to improve compatibility
- Usability Improvements
- Option to add worker only nodes. Use
--worker
in themicrok8s join
command - Improved
microk8s join
output, thanks @gkarthiks - Options to format the output of
add-node
, thanks @jlettman - Ignore unroutable DHCP failure addresses, thanks @erulabs
- Fix warnings in build process and the addons dns and dashboard, thank you @MichaelCduBois
- Pull introspection report out of the multipass VM when running
microk8s inspect
on Windows and Mac, thanks @farazmd - Registry configuration in containerd configuration now follows the new format described in the upstream docs. Thank you @BabisK
- Fix typo in the output of MicroK8s installer, thanks @sfstpala
- Option to add worker only nodes. Use
- Addon updates
- Nginx Ingress controller updated to v1.0.5
- Metrics server updated to v0.5.2, thanks @balchua
- Portainer will maintain its state while enabling/disabling it, thank you @balasu
- The NVIDIA operator upgraded to v1.8.2, with enhanced MIG support.
- Local registry updated to the latest upstream
- Linkerd upgraded to v2.11.1, thanks @tobiasmuehl
- Keda upgraded to v2.4.0, thanks @balchua
- Jaeger operator upgrade to v1.28.0, thanks @balchua
- OpenEBS v3.0 released, thanks @niladrih
- New addons:
- microk8s enable dashboard-ingress, thanks @jlettman
- inaccel addon targeting FPGA acceleration. Thank you @eliaskoromilas
For more information on MicroK8s consult the official docs or talk to us on the Kubernetes Slack, in the #microk8s channel!
installer-v2.2.1
Installer 2.2.1 release (#2705)
installer-v2.2.0
Update microk8s.nsi (#2587) Actually bump version number
MicroK8s v1.22 released!
Most important updates since the last release:
- Kubernetes core services
- Kubernetes v1.22
- Improve the performance and stability of dqlite
- S390x support. Check out the 1.22/edge channel.
- cgroupV2 support, courtesy of @tbertenshaw
- Upgrade calico to v3.19.1. Thank you @balchua
- New kata containers addon. Try it with
microk8s enable kata
. - Addon updates:
- Nvidia operator v1.7.0 can now detect pre-installed drivers.
- Kube-prometheus upgraded to v0.8.0. Thank you @balchua
- Kubernetes dashboard upgraded to v2.2.0, thanks to @nbraquart
- Upgrade linkerd to v2.10.2. Thank you @balchua
- Upgrade the metrics-server to v0.5.0. Courtesy of @balchua
- knative updated to v0.24, thanks to @saikiran2603
- Cilium CNI updated to v1.10
- Jaeger addon updated to v1.24, thanks @balchua
- Istio addon updated to v1.10.3
- New Elasticsearch and Kibana version, v7.10. Thanks @s12v
- OpenEBS addon for ARM64. Thank you @balchua
- Usability improvements
- Use ClusterFirstWithHostNet as DNS policy for Traefik. Thank you @AlexGustafsson
- Guards in Cilium clustering thanks to @Jorgeewa
- OpenFaaS bug fixes, thank you @dsbibby
- MicroK8s status yaml fixes. Thank you @krichter722
- Improvements in micrk8s wrapper, thank you @shoce
- Attempt to configure UFW for calico CNI
- Seamless snap refreshes. Containers do not restart on snap upgrades.
Users following the latest stable MicroK8s track will be automatically upgraded to v1.22 in the next few days.
For more information on MicroK8s consult the official docs, and chat with us on the Kubernetes Slack, in the #microk8s channel!
MicroK8s v1.21 released!
Most important updates since the last release:
- Kubernetes core services
- Kubernetes v1.21!
- Major stability and performance dqlite fixes
- Kubelite, single go binary for all Kubernetes services
- Containerd updated to v1.4.4, thanks @tbertenshaw
- CNI plugins updated to v0.8.7, thanks @angelnu
- Storage support for multi-node clusters
- New OpenEBS addon, try it with
microk8s enable openebs
, courtesy of @balchua - CSI storage plugins improved support
- New OpenEBS addon, try it with
- New OpenFaaS addon courtesy of @LucasRoesler. Try it with
microk8s enable openfaas
- Addon updates:
- GPU support is now offered via the NVidia operator, make sure you checkout the known issues.
- Linkerd updated to v2.9.4. Thank you @balchua
- CoreDNS updated to v1.8.0. Thank you @balchua
- KEDA updated to v2.1.0. Thank you @balchua
- Jaeger updated to v1.21.3. Thank you @balchua
- Prometheus updated to v0.7.0. Thank you @balchua and @tbertenshaw
- Ingress updated to v0.44.0. Thank you @balchua
- Fluentd updated to v3.1.0. Thank you @balchua
- Knative updated to v0.21
- Helm upgraded to 3.5.0
- Usability improvements
- Joining nodes will now verify the peer they contact before forming the cluster
microk8s kubectl apply -f
now works with local files on Windows and MacOS
- Other noteworthy enhancements
- Inspection script detects vxlan.calico UFW rule, thank you @petermetz
- Fix in traefik RBAC rules, courtesy of @lazyoldbear
- Update to support distributions with iptables-nft
- Dashboard and metrics server fixes for multi-os clusters. Thank you @luciimon
- Remote builds are now supported. Try building the snap with
snapcraft remote-build --build-on=amd64,arm64
. Thank you @angelnu - Improved error messaging and build instructions. Thank you @galgalesh
- Improvements in the installation path. Thank you @balchua and @barosl
Users following the latest stable MicroK8s track will be automatically upgraded to 1.21 in the next few days.
For more information on MicroK8s consult the official docs, and chat with us on the Kubernetes Slack, in the #microk8s channel!
installer-v2.1.0
Update Kubeflow bundles to latest stable (#1906) Also installs new packages in github actions for testing with pytest. Also includes password fix.
installer-v2.0.3
Remove jsonschema
installer-v2.0.2
GitHub Actions: Find typos via codespell (#1875) https://github.com/codespell-project/codespell