「CITA-Cloud」- 安装部署

  CREATED BY JENKINSBOT

快速入门 — CITA-Cloud 文档

快速部署

cita-cloud/charts at v6.2.0
https://cita-cloud-docs.readthedocs.io/zh_CN/latest/getting-start.html

git clone https://github.com/cita-cloud/charts.git
git checkout v6.2.0

# kubectl create namespace cita-cloud
# kubectl config set-context --current --namespace cita-cloud

helm --namespace cita-cloud install \
    test-chain-pvc ./cita-cloud-pvc/ --set scName=nas-client-provisioner

helm --namespace cita-cloud install              \
    test-chain ./cita-cloud-local-cluster        \
    --set pvcName=test-chain-pvc                 \
    --set replicaCount=4                         \
    --set service.nodePort=31004                 \
    --set service.vmPort=31005

通过 Chart 仓库

$ helm repo add cita-cloud https://cita-cloud.github.io/charts
$ helm repo update
$ helm search repo cita-cloud/
...

$ kubectl create namespace cita-cloud
$ kubectl config set-context --current --namespace cita-cloud

$ helm install local-pvc cita-cloud/cita-cloud-pvc     \
   --set scName=nas-client-provisioner                 \
   --set size=1000Gi
   
$ kubectl get pvc
...

$ helm install test-chain cita-cloud/cita-cloud-local-cluster  \
   --set pvcName=local-pvc                                     \
   --set service.nodePort=32204                                \
   --set service.vmPort=32205                                  \
   --set config.superAdmin=0xc8ca9cc77a7f822fdd0baef7a7740f9dba493455