The Charmed etcd Operator deploys and operates the etcd software on VMs and machine clusters. This charm is a Python project that installs etcd from the charmed-etcd snap, and provides life cycle management and event handling.
Charmed etcd is equipped with several features to securely store and scale complicated data workloads, including TLS encryption, horizontal scaling, password rotation, and easy integration with client applications.
Bootstrap an lxd controller and create a new Juju model:
juju add-model sample-modelTo deploy a single unit of charmed etcd, run the following command:
juju deploy charmed-etcdTo deploy charmed etcd with multiple units, specify the number of desired units with the -n option:
juju deploy charmed-etcd -n 3Charmed etcd can be scaled out using the juju add-unit command:
juju add-unit charmed-etcd -n <num_of_desired_units>For example, to scale a deployment with three etcd units to five, run:
juju add-unit charmed-etcd -n 2Even when scaling multiple units at the same time, the charmed operator uses a rolling restart sequence to make sure the cluster stays available and healthy during the operation.
Charmed etcd is shipped in the track 3.6/beta: Charmed etcd 3.6
It is based on the following platform:
- Noble (Ubuntu 24.04)
- Supported architectures:
amd64andarm64.
The charmed etcd documentation provides a tutorial for basic usage, multiple how-to guides about operational topics, and detailed information about supported interfaces and integrations.
The charmed etcd operator is an open-source project that welcomes community contributions, suggestions, fixes and constructive feedback.
- Report issues
- Contact us on Matrix
- Explore Canonical Data & AI solutions
Charmed etcd is covered by the Ubuntu Code of Conduct.
Please see the Juju docs for guidelines and best practices, and the contribution guide for developer guidance.
Charmed etcd is free software, distributed under the Apache Software License, version 2.0. See LICENSE for more information.