

sync: the folders that will be synchronized between your local machine and the development container.For example, this is useful to persist the Go cache. volumes: a list of paths in your development container to be mounted as persistent volumes.securit圜ontext: SYS_PTRACE is a capability required by the Go debugger.command: the start command of the development container.More information on development images here.


name: the name of the Kubernetes deployment you want to put on development mode.
#Goland debug how to
This file defines how to activate a development container for the Go Sample App: Securit圜ontext : capabilities : add : - SYS_PTRACE Get a local version of the Go Sample App by executing the following commands: ) while developing your application directly on Kubernetes. You will be able to take full advantage of tools like go build, dependency caching, or IDE debuggers (VS Code, GoLand, Atom. On this blog post, we will show you how Okteto improves the developer experience in Kubernetes for Go developers. Okteto was created to solve this problem. This flow is not only slow, but it also prevents us from benefiting from standard features of Go tools such as fast incremental builds, hot reloaders or debuggers. The typical development workflow looks like this: write code, build a Docker image, push it to the registry, redeploy, validate your changes and repeat. It has rapidly become the standard to run production workloads and the community around it is just great!īut developing on Kubernetes presents some challenges. Kubernetes is an open-source project for automating deployment, scaling, and management of containers.
