Archive for the ‘kubernetes’ Category

Deploy Any Python Project to Kubernetes

April 16, 2020 Leave a comment

As your project grows, it might get to the point that it becomes too hard to handle with just single VM or some simple SaaS solution. You can solve that by switching to more robust solution like Kubernetes. That might however, be little too complex if you are not familiar with it’s concepts or if just never used it before. So, to help you out – in this article – we will go over all you need to get yourself started and have your Python project deployed on cluster – including cluster setup, all the Kubernetes manifests and some extra automation to make your life easier down the road!

This is a follow up to previous article(s) about Automating Every Aspect of Your Python Project, so you might want check that out before reading this one.

TL;DR: Here is my repository with full source code and docs:

Python Weekly

Categories: Interesting, kubernetes, python Tags:

Reinstalling minikube

December 5, 2018 Leave a comment

How to reinstall minikube


1. Stop it if it was running

$ minikube stop

2. Delete the VM in Virtualbox
3. Delete the .minikube folder

$ rm -rf ~/.minikube

4. Reinstall it if need be. Follow install instructions ->

Troubleshooting annoying issues with minikube

Categories: kubernetes Tags:

Kubernetes for Python Developers: Part 1

November 29, 2018 Leave a comment

Kubernetes is an open-source container-orchestration system for automating deployment, scaling and management of containerised apps.

Kubernetes helps you to run, track and monitor containers at scale. It has become the de facto tool for container management.

Kubernetes is the largest and fastest growing open-source container orchestration software.

This blog post is the first part of a series: Kubernetes for Python developers.

Our goal is to migrate a Celery app app we developed in a previous blog post from Docker Compose to Kubernetes.

You do not need any Kubernetes knowlegde to follow this blog post. You should have some experience with Docker.

In this first part of the series, you will learn how to set up RabbitMQ as your Celery message broker on Kubernetes.

You will learn about kubectl, the Kubernetes command line interface. And by the end of this article you will know how to deploy a self-healing RabbitMQ application with a stable IP address and DNS name into the cluster.

Categories: Interesting, kubernetes Tags: ,