This is a review request for the Livepatch’s K8s charm. Please note the following:
- The machine version of this charm is already listed, but this one is not.
- The repository also includes a bundle, under the
bundle
subdirectory. The bundle is meant to be used for on-prem installations and provides both machine and K8s charms on via separate channels.
Summary
The Livepatch K8s charm is the easiest and the recommended way to deploy the Livepatch server on K8s. This charm configures and runs the Livepatch server, which serves Livepatch-es and metadata attached to them to the clients. Canonical Livepatch patches high and critical linux kernel vulnerabilities, removing the immediate need to reboot to upgrade the kernel, instead allowing the downtime to be scheduled. It is a part of the Ubuntu Pro offering.
Review PR
You can find the charm review PR at:
https://github.com/canonical/livepatch-k8s-operator/pull/22
(Due to branch protection rules some CI workflows might not run/pass for the above PR. In the summary below I’ve put the links to the latest runs.)
Metadata links
- charmhub.io:
(charm:) Charmhub | Deploy Canonical Livepatch Server K8S using Charmhub - The Open Operator Collection
(bundle:) Charmhub | Deploy Canonical Livepatch Onprem using Charmhub - The Open Operator Collection - project repository:
GitHub - canonical/livepatch-k8s-operator: Livepatch server K8s Charmed Operator
CI Links
- Code linting or-style checks:
livepatch-k8s-operator/.github/workflows/test.yaml at main · canonical/livepatch-k8s-operator · GitHub - Release automation:
(charm:) livepatch-k8s-operator/.github/workflows/publish_charm.yaml at main · canonical/livepatch-k8s-operator · GitHub
(bundle:) livepatch-k8s-operator/.github/workflows/publish_bundle.yaml at main · canonical/livepatch-k8s-operator · GitHub - Unit test implementation:
(CI:) livepatch-k8s-operator/.github/workflows/test.yaml at main · canonical/livepatch-k8s-operator · GitHub
(Code:) livepatch-k8s-operator/tests/unit/test_charm.py at main · canonical/livepatch-k8s-operator · GitHub
(Code:) https://github.com/canonical/livepatch-k8s-operator/tree/main/tests/unit/test_unit.py - Unit test results:
Use `charming-actions/upload-charm` to publish charm · canonical/livepatch-k8s-operator@2d6d6c3 · GitHub - Integration test implementation:
(CI:) livepatch-k8s-operator/.github/workflows/integration_test.yaml at main · canonical/livepatch-k8s-operator · GitHub
(Code:) livepatch-k8s-operator/tests/integration/test_charm.py at main · canonical/livepatch-k8s-operator · GitHub
(Code:) livepatch-k8s-operator/tests/integration/test_upgrade.py at main · canonical/livepatch-k8s-operator · GitHub - Integration test results:
Use `charming-actions/upload-charm` to publish charm · canonical/livepatch-k8s-operator@2d6d6c3 · GitHub
Documentation Links
- Usage:
Charmhub | Deploy Canonical Livepatch Server K8S using Charmhub - The Open Operator Collection - Contribution:
livepatch-k8s-operator/CONTRIBUTING.md at main · canonical/livepatch-k8s-operator · GitHub - Licensing:
livepatch-k8s-operator/LICENSE at main · canonical/livepatch-k8s-operator · GitHub - Publisher:
Commercial Systems