Kubernetes in Practice – Services

This entry is part 9 of 12 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 12 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 12 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

Setting up the React Application

This entry is part 2 of 12 in the series Kubernetes and everything else

Setting up React for Local Development To start up the React application we need to have NodeJS and NPM installed on our computer. After installing those navigate with your Terminal to the directory sa-frontend (clone the repo) and type the following command: $ npm install This downloads all the Javascript libraries required by the React Application and

Read More

Introduction and Application Architecture

This entry is part 1 of 12 in the series Kubernetes and everything else

Foreword This series is created from my notes and small projects that I used to introduce clients to Kubernetes. After browsing the web I was puzzled that there are no good beginner-friendly resources online. To be more accurate: There are great resources for learning Kubernetes concepts and commands (The Interactive Tutorial) and A myriad of resources for

Read More