openshift/chaguar.yaml¶
chaguar.yaml is the default OpenShift sample. It deploys a complete Chaguar network with Fabric CA, PostgreSQL, TLS, mTLS, and OpenShift Route exposure.
Use it as the baseline when validating OpenShift workloads, services, storage, and externally reachable endpoints. Fabric CA servers are exposed via OpenShift Routes instead of Kubernetes NodePorts.
Network Diagram¶
The diagram below summarizes this inventory's Chaguar services and how they fit together.

Inventory Details¶
Fabric CA, CA databases, orderer, committer, PostgreSQL, load generator, node exporter, Prometheus, Grafana, Loki, and Alloy use OpenShift task paths. Ansible still runs from the control node, but inventory hosts represent OpenShift resources rather than SSH machines.
This inventory deploys these logical services as OpenShift workloads, services, and routes:
- 5 Fabric CA servers and 5 PostgreSQL databases for Fabric CA state.
- 4 orderer groups. Each group has 1 router, 1 consenter, 1 assembler, and 1 batcher.
- 1 committer with validator, verifier, coordinator, sidecar, query service, and PostgreSQL storage.
- 1 Block Explorer server and UI with PostgreSQL storage, streaming blocks from the committer sidecar and exposed through an OpenShift Route.
- 1 load generator.
- Monitoring with node exporter, PostgreSQL exporter, Prometheus, Grafana, Loki, and Alloy.
Note
If OpenShift routes map to 127.0.0.1, binary CLIs can still work, but containerized binaries may fail because 127.0.0.1 is resolved inside the container network namespace. Run make oc-config-hosts (requires sudo) to setup the routes in /etc/hosts before starting Chaguar.
flowchart TD
all --> network
all --> fabric_cas
network --> chaguar
all --> load_generators
all --> monitoring
monitoring --> prometheus
monitoring --> grafana
monitoring --> loki
monitoring --> alloy
monitoring --> node_exporter
monitoring --> postgres_exporter
grafana --> prometheus
grafana --> loki
alloy --> loki
prometheus --> node_exporter
prometheus --> postgres_exporter
fabric_cas --> fabric_ca_servers
fabric_cas --> fabric_ca_dbs
chaguar --> chaguar_orderers
chaguar --> chaguar_committers
chaguar --> chaguar_block_explorer
chaguar_committers --> chaguar_committer
chaguar_orderers --> chaguar_orderer_1
chaguar_orderers --> chaguar_orderer_2
chaguar_orderers --> chaguar_orderer_3
chaguar_orderers --> chaguar_orderer_4
This is the OpenShift equivalent of the default Kubernetes inventory. External-facing services use OpenShift Routes, while internal services stay behind ClusterIP services.