|latest/stable||5||5||19 Mar 2021|
juju deploy llama-charmers-next-canonical-livepatch
Ubuntu Linux Livepatching Utility and Daemon Read more
Discuss this charm
Share your thoughts on this charm with the community on discourse.
This subordinate charm provides live kernel updates to its unit via the Canonical Livepatch Service.
The canonical-livepatch software is automatically installed from the Snap Store.
You will need to supply your key from https://ubuntu.com/livepatch via juju set (1.x) or juju config (2.x)
Nagios checks are automatically deployed if you add an appropriate nrpe-external-master relation.
This is a subordinate charm, so must be related to your primary service(s):
juju deploy canonical-livepatch juju add-relation <your_primary_charm_name> canonical-livepatch
You will need to supply your key from https://ubuntu.com/livepatch via juju set (Juju 1.x):
juju set canonical-livepatch livepatch_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Or via juju config (Juju 2.x)
juju config canonical-livepatch livepatch_key=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
The livepatch_key setting must be configured in order for the software to function correctly - see above.
By default, the livepatch software will attempt to retrieve its patch data directly over the network. If you'd like to use a proxy for this traffic instead, you can set the livepatch_proxy value to the address of your proxy server.
Likewise, if you need to use a proxy server to access the Snap Store, snap_proxy can also be set to the address of your proxy server.
Alternatively, if you've configured a proxy for all applications in your environment via juju model-config, the charm will detect this and automatically do the right thing. It'll use http-proxy or https-proxy if either are set, with the latter being preferred.
If two different proxies are set via model config and charm config, the latter will be preferred.
To run tests use:
Note: functional tests are not available on trusty.
This charm is maintained here, by the llama-charmers team: