Kubernetes configurations for smartBCH on GCE. Note that this requires cert-manager
if you use the ingress features.
- Add a new blank disk on GCE called
smartbch-data
that is 20GB. You can always expand it later. - Edit
kube/smartbch-ingress.yml
with your preferred domain name. - Run
kubectl apply -f kube/smartbch-init-job.yml
to initialize smartBCH. - Copy the required dot files onto the volume.
- wget https://github.com/smartbch/artifacts/releases/download/v0.0.3/dot.smartbchd.tgz
- tar zxvf dot.smartbchd.tgz
- cp -rf dot.smartbchd/* /root/.smartbchd/
- Run
kubectl apply -f kube/smartbch-deployment.yml
to deploy the app. - Run
kubectl apply -f kube/smartbch-srv.yml
to setup the kubernetes service. - Run
kubectl apply -f kube/smartbch-ingress.yml
to add ingress from outside the cluster. - Run
kubectl apply -f kube/smartbch-wss-ingress.yml
to add websocket ingress from outside the cluster. - Profit!