- Kubernetes 1.17+
- Helm 3.5.4
Helm is a tool for managing Kubernetes charts. Charts are packages of pre-configured Kubernetes resources.
To install Helm, refer to the Helm install guide and ensure that the helm
binary is in the PATH
of your shell.
Once you have installed the Helm client, you can deploy a Helm Chart into a Kubernetes cluster.
Please refer to the Quick Start guide if you wish to get running in just a few commands, otherwise the Using Helm Guide provides detailed instructions on how to use the Helm client to manage packages on your Kubernetes cluster.
Useful Helm Client Commands:
- Install a chart:
helm install test-chain cita-cloud-local-cluster
- List your application:
helm list
- Uninstall a chart:
helm unintall test-chain
generated by helm-docs
:
docker run --rm -v "$(pwd):/helm-docs" jnorwood/helm-docs:latest
cita-cloud-pvc - Create PVC for CITA-Cloud
helm install local-pvc ./cita-cloud-pvc
cita-cloud-local-cluster - Setup CITA-Cloud blockchain in one k8s cluster.
helm install test-chain ./cita-cloud-local-cluster
cita-cloud-config - Create a job to create/change config of CITA-Cloud blockchain in one k8s cluster
helm install increase ./cita-cloud-config --set config.action=increase --set 'config.arguments={--kms_password,123456}'
helm install decrease ./cita-cloud-config --set config.action=decrease
helm install clean ./cita-cloud-config --set config.action=clean
cita-cloud-eip - Create EIP for CITA-Cloud
$ helm install cita-cloud-eip ./cita-cloud-eip --set service.startIP=192.168.0.2 --set service.endIP=192.168.0.254
cita-cloud-porter-lb - Setup porter Loadbalancer for CITA-Cloud node
helm install test-chain-0-lb ./cita-cloud-porter-lb --set config.chainName=test-chain --set config.nodeIndex=0 --set service.port=30000 --set service.eipName=cita-cloud-eip
cita-cloud-multi-cluster-node - Setup CITA-Cloud node in multi k8s cluster
Note: You should generate and dispatch config of CITA-Cloud blockchain to multi k8s cluster at first.
helm install test-chain-0 ./cita-cloud-multi-cluster-node --set config.chainName=test-chain --set config.nodeIndex=0