In this example, we use Cloud Native Build (CNB) to package a Go+Gin project into a Docker image and update the image version of specified pods in Tencent TKE using kubectl.
# go-gin-kubernetes-kubeconfig.yml
KUBECF: |
apiVersion: v1
xxxxxx
# Run in terminal
go get -u github.com/go-delve/delve/cmd/dlv
go install -v github.com/go-delve/delve/cmd/dlv@latest
go run main.go