This folder contains the deployment files for the Go language server.
You can enable it by:
-
Append the
kubectl apply
command for the Go language server deployment tokubectl-apply-all.sh
.echo kubectl apply --prune -l deploy=xlang-go -f configure/xlang/go/ --recursive >> kubectl-apply-all.sh
-
Add the following environment variables to the
lsp-proxy
deployment to make it aware of the Go language server's existence.# base/lsp-proxy/lsp-proxy.Deployment.yaml env: - name: LANGSERVER_GO value: tcp://xlang-go:4389 - name: LANGSERVER_GO_BG value: tcp://xlang-go-bg:4389
-
Apply your changes to
lsp-proxy
and the Go language server to the cluster../kubectl-apply-all.sh