AbdelbassetKABOU / Kube_Sentiment

Python RESTful APIs with backend DB in MySql, deployed using Kubernetes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kube_Sentiment

Using Kubernetes to deploy a data API composed of two services : a RESTful APIs in Python (simulating sentiment analysis) and a backend DB in MySql.

The first part is wrapped into a docker container (inside the docker dir). The second is retrieved from dockerhub (datascientest/mysql-k8s:1.0.0).

Other files are organized as follows :

  • my-deployment-eval.yml : details on the pods
  • my-service-eval.yml : networking stuff (Service)
  • my-ingress-eval.yml : Kubernetes Ingress
  • my-secret-eval.yml : Data needed for DB access (used through env variable)

About

Python RESTful APIs with backend DB in MySql, deployed using Kubernetes


Languages

Language:Python 91.2%Language:Dockerfile 8.8%