The Blog of Boban Acimovic
  • Blog
  • Categories
  • Tags
  • Series
  • Links
  • About
  • Contact
  • RSS
  • Terms
  • Privacy

Native

Carpe Diem

Kubernetes

Develop Kubernetes native applications in Golang with auto-recompile and auto-restart

Do you develop or plan to develop a Kubernetes native application in Golang, controller or operator? Such application strongly depends on being inside Kubernetes and development outside of Kubernetes may be a real hassle. Usually you have to build an image over and over again and restart the pod (with imagePullPolicy set to Always). This is very boring and time consuming procedure.

Two years ago I developed an image to auto-recompile and auto-restart Go application, named go-reflex , but it was intented to be used by docker-compose. Today I gave it a try with Kubernetes, namely with kind (Kubernetes in Docker) and it turned out it works like a charm. In this article I will describe how to set this up and save your time for something creative (i.e. beer drinking).

  • Boban Acimovic
Boban Acimovic 28 August 2020 • 2 min read
The Blog of Boban Acimovic © 2020
Latest Posts