---
title: Charmhub | Deploy Canonical Livepatch using Charmhub - The Open Operator Collection
description: Deploy the latest version of Canonical Livepatch on any cloud.
url: https://charmhub.io/canonical-livepatch/configurations
---

# Canonical Livepatch

[Canonical BootStack Charmers](https://charmhub.io/publisher/bootstack-charmers "View all packages from Canonical BootStack Charmers")

* [Canonical BootStack Charmers](https://charmhub.io/publisher/bootstack-charmers "View all packages from Canonical BootStack Charmers")
* [Security](https://charmhub.io/?filter=security)

Platform:

20.04

18.04

16.04

14.04

stable f1e83ae

```
juju deploy canonical-livepatch
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

* [enable\_container](https://charmhub.io/canonical-livepatch/configurations#enable_container)
* [livepatch\_key](https://charmhub.io/canonical-livepatch/configurations#livepatch_key)
* [livepatch\_proxy](https://charmhub.io/canonical-livepatch/configurations#livepatch_proxy)
* [nagios\_context](https://charmhub.io/canonical-livepatch/configurations#nagios_context)
* [nagios\_servicegroups](https://charmhub.io/canonical-livepatch/configurations#nagios_servicegroups)
* [snap\_channel](https://charmhub.io/canonical-livepatch/configurations#snap_channel)
* [snapd\_refresh](https://charmhub.io/canonical-livepatch/configurations#snapd_refresh)

[Learn about configurations >](https://juju.is/docs/juju/configuration#heading--application-configuration)

* enable\_container | boolean

  Enable installation on container for testing purpose.
* livepatch\_key | string

  In order to get started please login and generate a key from:
  https://ubuntu.com/livepatch

  You can then use that value here to activate canonical-livepatch
* livepatch\_proxy | string

  The address of a proxy server to use for livepatch traffic
  e.g. http://proxy.example.com:3128
* nagios\_context | string

  Default: juju

  Used by the nrpe subordinate charms.
  A string that will be prepended to instance name to set the host name
  in nagios. So for instance the hostname would be something like:
  juju-myservice-0
  If you're running multiple environments with the same services in them
  this allows you to differentiate between them.
* nagios\_servicegroups | string

  A comma-separated list of nagios servicegroups.
  If left empty, the nagios\_context will be used as the servicegroup
* snap\_channel | string

  Default: stable

  Snap Store channel from which to install the Canonical Livepatch snap.
  Most people will not need to change this.
* snapd\_refresh | string

  How often snapd handles updates for installed snaps. The default (an empty string) is 4x per day. Set to "max" to check once per month based on the charm deployment date. You may also set a custom string as described in the 'refresh.timer' section here:
  https://forum.snapcraft.io/t/system-options/87
