Skip to content

harichintala1/pyworld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PYWORLD - Python based Hello-World Microservice

Source code has a basic Python code that exposes service endpoint (port:3000) with 'Hello World' page,

Python Requirements:

  • flask
  • flask-restful

How to Deploy

You can use either of 2 methods,

Using Template

We have pyworld.yaml that consists of deployment and svc template, it deploys a pyworld program into 2 replicas (Load Balanced):

To deploy using Template,

kubectl create -f templates/pyworld.yaml

To Clean the Template Deployments,

kubectl delete -f templates/pyworld.yaml

Bash Script

You could also test this deployment by sourcing local docker image, by running bash script from the root of this repository,

./pyworld.sh

To Cleanup:

kubectl delete deployments,svc pyworld

Requirements

  • Docker
  • Minikube
  • Python

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published