Skip to content

k8s/chaguar-cryptogen.yaml

chaguar-cryptogen.yaml deploys the Kubernetes sample without Fabric CA services. Crypto material is generated on the control node with cryptogen.

Use it for repeatable Kubernetes tests that should not exercise Fabric CA enrollment.

Warning

This inventory is intended for debugging and repeatable test runs. For production-style deployments, start from the Fabric CA based k8s/chaguar.yaml inventory instead.

Network Diagram

The diagram below summarizes this inventory's Chaguar services and how they fit together.

Kubernetes Chaguar cryptogen inventory

Inventory Details

Orderer, committer, PostgreSQL, load generator, node exporter, Prometheus, Grafana, Loki, and Alloy use Kubernetes task paths. cryptogen runs on the control node and writes artifacts below cryptogen_artifacts_dir.

This inventory deploys these logical services as Kubernetes workloads and services:

  • No Fabric CA servers or Fabric CA databases.
  • 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 NodePort.
  • 1 load generator.
  • Monitoring with node exporter, PostgreSQL exporter, Prometheus, Grafana, Loki, and Alloy.
flowchart TD
  all --> network
  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
  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

Fabric CA is omitted entirely. Certificates and keys are generated centrally before Kubernetes-backed component configuration consumes them.