Kubernetes in Practice – Services

This entry is part 9 of 11 in the series Kubernetes and everything else

In the last article Kubernetes in Practice – Pods, we started two pods (sa-frontend and sa-frontend2) and we were left with two requirements, which will be the topic of this article: Exposing the services (running in the pods) externally, and Load balancing between them. The Kubernetes Service resource acts as the entry point to a set of

Read More

Kubernetes in Practice – Pods

This entry is part 8 of 11 in the series Kubernetes and everything else

We covered how to run the Microservices in separate containers in these two articles Container-ization of the Services and Container-ization of everything else, and it was a cumbersome process, but it worked (see fig. 1.). Additionally, we mentioned that this solution is not scalable or resilient and that Kubernetes will resolve these issues. So in this article

Read More

Setting up the Python Application

This entry is part 4 of 11 in the series Kubernetes and everything else

To start the Python application we need to have Python3 and Pip installed (their environment variables need to be set up as well). Installing Dependencies Navigate in the CMD to the directory sa-logic/sa (repo) and type the following command: $ python -m pip install -r requirements.txt $ python -m textblob.download_corpora Starting the app Pip installs the dependencies

Read More