# Install golang 1.21 ,ubuntu 20.04 default golang version is 1.13sudoaptinstallgolang-1.21# Set up the Golang environment, and/or consider adding it to the .bashrc or .zshrc file in the home directory.export GOROOT=/usr/lib/go-1.21/export PATH=$PATH:$GOROOT/bin
Run worker images
gitclonehttps://github.com/wetee-dao/worker&&cdworker# 1.0 Setup Envgomodtidysudochmod744/etc/rancher/k3s/k3s.yaml# 1.1 install addn docker images to k3sshhack/pre_install.sh# Wait until all the images above have been installed, and use `kubectl get pod -A` to check whether sgx-device-plugin-, sgx-pccs-api-, wetee-dapp-*, and wetee-node-* have been successfully deployed.# 1.2 and then install workershhack/install.sh# 1.3 `kubectl get pod -A` to check worker-controller-manager-* is successfully deployed.```bash$kubectlgetpod-ANAMESPACENAMEREADYSTATUSRESTARTSAGEkube-systemlocal-path-provisioner-6c86858495-cr2nz1/1Running02m22skube-systemcoredns-6799fbcd5-pjvqk1/1Running02m22skube-systemhelm-install-traefik-crd-c4vdc0/1Completed02m23skube-systemhelm-install-traefik-7m6xf0/1Completed12m23skube-systemsgx-device-plugin-ds-22p9v1/1Running0118skube-systemsvclb-traefik-17b1b422-ztq682/2Running0118skube-systemmetrics-server-67c658944b-29qp81/1Running02m22sworker-addonwetee-dapp-86b4cb47b8-m2f6k1/1Running0117sworker-addonwetee-node-5d4bf8bc57-6rfbx1/1Running0116skube-systemtraefik-f4564c4f4-p8k751/1Running0118sworker-addonsgx-pccs-api-67c56bc9d5-4lkqd1/1Running0116sworker-systemworker-controller-manager-59bccdd4c-gpt8q2/2Running082s