Move the DNS quickstart section into the prereqs

Signed-off-by: Josh Kneubuhl <jkneubuh@us.ibm.com>
This commit is contained in:
Josh Kneubuhl 2022-05-03 11:04:21 -04:00 committed by Dave Enyeart
parent 49fa452864
commit a02320e1cc

View file

@ -22,22 +22,7 @@ _Fabric, Ahoy!_
- K8s: [kind](https://kind.sigs.k8s.io/docs/user/quick-start/#installation) or [Rancher / k3s](https://rancherdesktop.io)
- [jq](https://stedolan.github.io/jq/)
- [envsubst](https://www.gnu.org/software/gettext/manual/html_node/envsubst-Invocation.html) (`brew install gettext` on OSX)
## Quickstart
Create a KIND Kubernetes:
```shell
./network kind
```
For environments running [Rancher k3s](docs/KUBERNETES.md#rancher-desktop-and-k3s):
```shell
export TEST_NETWORK_CLUSTER_RUNTIME=k3s
./network cluster-init
```
Fabric services are exposed by Kubernetes Ingress at the fictitious DNS domain `*.local.fabric`. Add the
- DNS domain alias: Fabric services are exposed by Kubernetes Ingress at the fictitious DNS domain `*.local.fabric`. Add the
following aliases to your /etc/hosts file:
```
127.0.0.1 org0-ca.local.fabric
@ -52,6 +37,19 @@ following aliases to your /etc/hosts file:
127.0.0.1 org2-peer2.local.fabric
```
## Quickstart
Create a KIND Kubernetes:
```shell
./network kind
```
For environments running [Rancher k3s](docs/KUBERNETES.md#rancher-desktop-and-k3s):
```shell
export TEST_NETWORK_CLUSTER_RUNTIME=k3s
./network cluster-init
```
Launch the network, create a channel, and deploy the [basic-asset-transfer](../asset-transfer-basic) smart contract:
```shell
./network up