---
title: Charmhub | Deploy Kubernetes Core using Charmhub - The Open Operator Collection
description: Deploy the latest version of Kubernetes Core on any cloud.
url: https://charmhub.io/kubernetes-core/configurations/etcd
---

##### We've discontinued the registration of new Bundles

New Bundle registrations are no longer accepted. Existing bundles remain functional. We recommend using the Juju Terraform Provider for new deployments.

[Learn more](https://discourse.charmhub.io/t/discontinuing-new-charmhub-bundle-registrations/15344)

# Kubernetes Core

[Canonical Kubernetes](https://charmhub.io/publisher/containers "View all packages from Canonical Kubernetes")
| bundle

* [Canonical Kubernetes](https://charmhub.io/publisher/containers "View all packages from Canonical Kubernetes")
  | bundle
* [Cloud](https://charmhub.io/?filter=cloud)

Platform:

stable 1886

```
juju deploy kubernetes-core
```

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

* [Calico](https://charmhub.io/kubernetes-core/configurations/calico)
* [Containerd](https://charmhub.io/kubernetes-core/configurations/containerd)
* [Easyrsa](https://charmhub.io/kubernetes-core/configurations/easyrsa)
* [Etcd](https://charmhub.io/kubernetes-core/configurations/etcd)
* [Kubernetes Control Plane](https://charmhub.io/kubernetes-core/configurations/kubernetes-control-plane)
* [Kubernetes Worker](https://charmhub.io/kubernetes-core/configurations/kubernetes-worker)

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

* bind\_to\_all\_interfaces | boolean

  Default: True

  The service binds to all network interfaces if true. The service binds
  only to the first found bind address of each relation if false
* bind\_with\_insecure\_http | boolean

  The service binds to localhost:4001 with http if true. This exposes an insecure
  endpoint for the service and is not recommended in production environments.
* channel | string

  Default: auto

  The snap channel from which to install etcd (e.g. '3.3/stable'), or 'auto'
  to accept the charm default. Choosing 'auto' will install the latest
  supported version of etcd at deploy time, but will not automatically upgrade
  to a newer version thereafter.
* election\_timeout | int

  Default: 1000

  How long a follower node will go without hearing a heartbeat before
  attempting to become leader itself.
  By default, etcd uses a 1000ms election timeout.
* heartbeat\_interval | int

  Default: 100

  The frequency with which the leader will notify followers that it is
  still the leader. By default, etcd uses a 100ms heartbeat interval.
* management\_port | int

  Default: 2380

  Port to run the ETCD Management service
* 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
* port | int

  Default: 2379

  Port to run the public ETCD service on
* snapd\_refresh | string

  Default: max

  How often snapd handles updates for installed snaps. Set to an empty
  string to check 4x per day. Set to "max" (the default) 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
* snapshot\_count | string

  Default: auto

  Creating snapshots with the V2 backend can be expensive,
  so snapshots are only created after a given number of changes to etcd.
  The value could be an integer number or auto.
  if auto, the channel version is checked.
  Any channel grather than 3.2, use 100000 as value otherwhise 10000 is set
  If etcd’s memory usage and disk usage are too high,
  try lowering the snapshot threshold.
* tls\_cipher\_suites | string

  Applies to etcd 3.x+ only.
  A comma-separated list of cipher suites to use for communication between
  the client/server and peers. Ciphers are prioritized by the order provided.
  If empty, the cipher suites will be auto-populated based on Mozilla's
  "intermediate" cipher list:
  https://wiki.mozilla.org/Security/Server\_Side\_TLS
