Skip to content

Latest commit

 

History

History
68 lines (37 loc) · 1.75 KB

File metadata and controls

68 lines (37 loc) · 1.75 KB

Deploy a Kubernetes Cluster

PREV: Setup <==> NEXT: Deploy a Fabric Network


With cloud-native Fabric, all the components can run directly on your development workstation. In this exercise, you will configure:

  • A local kind cluster, running Kubernetes in Docker.

  • A local Ingress controller, routing traffic into the cluster at the *.localho.st virtual DNS domain.

  • A local Container Registry, allowing you to upload chaincode Docker images to the cluster.

Local KIND

Ready?

just check-setup 

Kubernetes IN Docker (KIND)

  • Set the cluster ingress domain and target k8s namespace. The localho.st domain is a public DNS wildcard resolver mapping *.localho.st to 127.0.0.1.
export WORKSHOP_INGRESS_DOMAIN=localho.st
export WORKSHOP_NAMESPACE=test-network
  • Create a kind cluster, Nginx ingress, and local container registry:
just kind
  • Open a new terminal window and observe the target namespace:
# KIND will set the current kubectl context in ~/.kube/config 
kubectl cluster-info

k9s -n test-network

Trouble?

Take it Further:


PREV: Setup <==> NEXT: Deploy a Fabric Network