Hyperledger Fabric on GKE built with Terraform
- Setup your GCP project and establish your JSON credentials.
- Navigate to
deployments/development/us-west2/compute/kubernetes-engine/fabric-cluster/
. - Update
config.tf
to point to your project JSON credentials file. - Run
make plan
to prove Terraform will work. - Run
make apply
to deploy the GKE cluster and node pools. - Access the GCP Kubernetes Engine console to view your cluster.
- Click the
Connect
button beside your cluster name, and copy the gcloud command. - Paste the gcloud command into your terminal to establish the kubectl configuration for the cluster.
- Test cluster access by running
kubectl cluster-info
. - Run the
deploy-resources.sh
script to deploy all namespaces, deployments, services, etc.