Skip to content

docs: add docs on omni with external etcd#448

Open
Iheanacho-ai wants to merge 1 commit intosiderolabs:mainfrom
Iheanacho-ai:external-etcd
Open

docs: add docs on omni with external etcd#448
Iheanacho-ai wants to merge 1 commit intosiderolabs:mainfrom
Iheanacho-ai:external-etcd

Conversation

@Iheanacho-ai
Copy link
Copy Markdown
Member

fixes #307

@github-project-automation github-project-automation bot moved this to To Do in Planning Mar 20, 2026
@talos-bot talos-bot moved this from To Do to In Review in Planning Mar 20, 2026
@Iheanacho-ai Iheanacho-ai force-pushed the external-etcd branch 5 times, most recently from a4c4bf3 to a3fa826 Compare March 29, 2026 15:26
Signed-off-by: Amarachi Iheanacho <amarachi.iheanacho@siderolabs.com>
Run the following on each node that does not already have Docker installed.

```bash
sudo apt-get update
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of manual steps that only work on ubuntu I prefer

curl -fsSL https://get.docker.com | sudo bash

This works on every supported distro and automatically installs/uninstalls required dependencies.

Omni and its supporting services run as Docker containers.

```bash
sudo apt-get update
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use script here too

curl -fsSL https://get.docker.com | sudo bash


There are two easy ways to run Omni: docker-compose and a simple `docker run`. We recommend using docker-compose, but both are detailed in separate tabs below.
```bash
sudo apt-get install -y apache2-utils
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This only works on Ubuntu. We can use the apache2 docker container to run htpasswd command. There's an example in our docs already.

-v $(pwd)/omni.asc:/omni.asc:ro,Z \
-v $HOME/sqlite:/_out/sqlite:rw,Z \
ghcr.io/siderolabs/omni:${OMNI_VERSION} \
--name=onprem-omni \
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: just name it omni

-v $HOME/etcd-certs/client-key.pem:/etcd/client.key:ro,Z \
-v $HOME/sqlite:/_out/sqlite:rw,Z \
ghcr.io/siderolabs/omni:${OMNI_VERSION} \
--name=onprem-omni \
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: container name


You will need to specify some customizations for your installation. Export these variables with your information to use in the provided templates
</Tab>
<Tab title="Linux">
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ubuntu/Debian and Red Hat/centos/fedora have different commands. You'll want tabs for both. (see the air gapped guide for examples)

</Tab>
</Tabs>

### 9.4: Flush your DNS cache
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm pretty sure /etc/hosts is always read before DNS cache from a local resolver so this step shouldn't be needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

Document running Omni with an external etcd database

3 participants