Geth
Platform:
| Channel | Revision | Published | Runs on |
|---|---|---|---|
| latest/stable | 18 | 03 Oct 2026 | |
| latest/stable | 17 | 03 Oct 2026 | |
| latest/edge | 18 | 03 Oct 2026 | |
| latest/edge | 17 | 03 Oct 2026 |
juju deploy geth
-
binary-url | string
URL used to download the client binary. The downloaded file may be a raw executable or an archive file (
tar.gz,tgz,tar.xz,txz,tar, orzip) containing a file namedgeth.Mutually exclusive with
docker-image. -
collector-s3-credentials | secret
Name of a Juju secret containing S3 (or S3-compatible) target details and credentials used for uploading charm metadata.
The secret must be created using
juju add-secretwith the following keys:- bucket
- region
- endpoint-url
- key-prefix
- access-key-id
- secret-access-key
- session-token (optional)
Example: juju add-secret collector-s3-credential
bucket=my-bucket
region=eu-north-1
endpoint-url=https://s3.eu-north-1.amazonaws.com
key-prefix=uploads/
access-key-id=...
secret-access-key=...
session-token=...Then configure the charm with: juju config <application> collector-s3-credentials=collector-s3-credential
-
data-dir | string
Path where the charm service should write blockchain data, for example
/mnt/blockchaindata0/geth. If left empty, the charm uses Geth's default/home/geth/.gethdata directory.This setting only has an effect at deployment time and must not be changed after install.
-
docker-binary-path | string
Default: /usr/local/bin/geth
Path to the client binary inside the configured Docker image. Used only when
docker-imageis set.Example:
/usr/local/bin/geth -
docker-image | string
Full Docker image reference used to install the client binary, including tag. Example:
us-docker.pkg.dev/oplabs-tools-artifacts/images/op-geth:v1.101411.4.Mutually exclusive with
binary-url. -
enable-authrpc | boolean
Default: True
Whether the charm should render managed
--authrpc*arguments for the workload service.Disable this for Geth-derived clients that do not support the
--authrpc.addr,--authrpc.port,--authrpc.vhosts, or--authrpc.jwtsecretflags. -
enable-metrics | boolean
Default: True
Whether the charm should render managed
--metrics*arguments for the workload service.Disable this for Geth-derived clients that do not support the
--metrics,--metrics.addr, or--metrics.portflags. -
genesis-url | string
URL to a genesis file that should be used to initialize the blockchain. If this is set then the genesis file will be downloaded and used to initialize the blockchain. This is treated as an install-time setting. Changing it later with
juju configdoes not reinitialize the node. -
service-args | string
Extra arguments that Geth should run with.
Network-specific defaults are no longer derived from a
networkconfig. Operators must pass any required chain-specific flags here.Set the data directory with the
data-diroption instead of passing--datadirinservice-args. -
service-env | string
Extra environment variables that Geth should run with.
Format: provide shell-style, space-separated
KEY=valueentries. The charm writes one entry per line into/etc/default/geth.Example:
NETWORK_ID=1 GCMODE=archive SOME_VALUE="two words"