This is an example of how to configure and deploy a development environment for a go microservice that uses ko
to build the container image and deploy it to Kubernetes.
ko
is a simple, fast container image builder for Go applications. You can learn more about ko here.
- Okteto CLI 2.21 or newer
- An Okteto account (Sign-up for 30 day, self-hosted free trial)
Once this is configured, anyone with access to your Okteto instance will be able to deploy an development environment automatically,
$ git clone https://github.com/okteto/go-with-ko
$ cd go-with-ko
$ okteto context use $OKTETO_URL
$ okteto deploy
$ okteto up todo