|
| 1 | +## Prerequisites |
| 2 | + |
| 3 | +- Kubernetes 1.9+ |
| 4 | +- A running Hyperledger Fabric network on kubernetes. |
| 5 | + |
| 6 | +## Installing the Chart |
| 7 | + |
| 8 | +To install the chart with the release name `explorer`: |
| 9 | + |
| 10 | +```bash |
| 11 | +$ helm install explorer/ --name explorer |
| 12 | +``` |
| 13 | + |
| 14 | +The command deploys the Blockchain Explorer & Explorer-DB on the Kubernetes cluster in the default configuration. The [Configuration](#configuration) section lists the parameters that can be configured during installation. |
| 15 | + |
| 16 | +## Test the Chart |
| 17 | + |
| 18 | +To test the chart with the release name `explorer`: |
| 19 | + |
| 20 | +```bash |
| 21 | +$ helm test explorer |
| 22 | +``` |
| 23 | + |
| 24 | +The command tests the Blockchain Explorer & Explorer-DB on the Kubernetes cluster. |
| 25 | + |
| 26 | +## Uninstalling the Chart |
| 27 | + |
| 28 | +To uninstall/delete the `explorer` deployment: |
| 29 | + |
| 30 | +```bash |
| 31 | +$ helm delete explorer |
| 32 | +``` |
| 33 | + |
| 34 | +The command removes all the Kubernetes components associated with the chart and deletes the release. |
| 35 | + |
| 36 | +## Configuration |
| 37 | + |
| 38 | +The following table lists the configurable parameters of the Blockchain Explorer & Explorer-DB chart and default values. |
| 39 | + |
| 40 | +| Parameter | Description | Default | |
| 41 | +| --------------------------------- | ------------------------------------------------- | ------------------------- | |
| 42 | +| `explorer.image.repository` | `explorer` image repository | `hyperledger/explorer` | |
| 43 | +| `explorer.image.tag` | `explorer` image tag | `latest` | |
| 44 | +| `explorer.username` | `explorer` username | ` ` | |
| 45 | +| `explorer.password` | `explorer` password | ` ` | |
| 46 | +| `image.pullPolicy` | Image pull policy | `IfNotPresent` | |
| 47 | +| `db.image.repository` | `explorer-db` image repository | `hyperledger/explorer-db` | |
| 48 | +| `db.image.tag` | `explorer-db` image tag | `latest` | |
| 49 | +| `db.DATABASE_DATABASE` | `explorer-db` DATABASE_DATABASE name | ` ` | |
| 50 | +| `db.DATABASE_USERNAME` | `explorer-db` DATABASE_USERNAME name | ` ` | |
| 51 | +| `db.DATABASE_PASSWORD` | `explorer-db` DATABASE_PASSWORD name | ` ` | |
| 52 | +| `explorer.service.port` | TCP port for requests to explorer | `8080` | |
| 53 | +| `explorer.service.type` | K8S service type exposing ports, e.g. `ClusterIP` | `ClusterIP` | |
| 54 | +| `explorer.ingress.enabled` | If true, Ingress will be created | `false` | |
| 55 | +| `explorer.ingress.annotations` | Ingress annotations | `{}` | |
| 56 | +| `explorer.ingress.path` | Ingress path | `/` | |
| 57 | +| `explorer.ingress.hosts` | Ingress hostnames | ` ` | |
| 58 | +| `db.service.port` | TCP port for requests to explorer-db | `5432` | |
| 59 | +| `db.service.type` | K8S service type exposing ports, e.g. `ClusterIP` | `ClusterIP` | |
| 60 | +| `resources` | CPU/Memory resource requests/limits | `{}` | |
| 61 | +| `replicaCount` | Replicacount of pods | `1` | |
| 62 | +| `network.channel` | HLF network channel name | ` ` | |
| 63 | +| `network.mspid` | HLF network peer org mspid | ` ` | |
| 64 | +| `network.peername` | HLF network peername | ` ` | |
| 65 | +| `network.peerurl` | HLF network peerurl | ` ` | |
| 66 | +| `network.adminPrivateKey` | HLF network peer adminPrivateKey | ` ` | |
| 67 | +| `network.signedCert` | HLF network peer signedCert | ` ` | |
| 68 | +| `network.tlsCACerts` | HLF network peer tlsCACerts | ` ` | |
0 commit comments