Writing Kubernetes Operator in Python without frameworks and SDK

Click for: original source

An article by flant.com about how to create a solid operator using one of the most popular programming languages that almost every DevOps engineer is familiar with – Python.

Authors make things easy and practical, guiding you through creation of ea simple operator designed to copy ConfigMap when a new namespace shows up or when one of the following two objects – ConfigMap or Secret – changes its state.

The article describes:

  • Please welcome Copyrator – the copy operator!
  • CRD
  • Environment variables or flags? Both!
  • The operating logic of the operator
  • Docker and Helm

.. plus plenty oif code to go with this article. All code is available in their public repository so you could get acquainted with it. Nice one for any lovers of Python!

[Read More]

Tags devops python kubernetes miscellaneous agile