Skip to content

Two-microservices environment using Kubernetes, Helm, and Docker, hosting an application composed of Flask.

License

Notifications You must be signed in to change notification settings

Tomer20/devops-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DevOps Workshop: Helm

In this workshop we will simulate an operation of two python services, on Kubernetes, using Helm and Docker.

Prerequisites

  • kubectl (tested on v1.14)

  • helm cli (tested on v2.12)

  • docker engine

  • Kubernetes environment (local, cloud, managed, on-prem, whatever v1.14) with nginx ingress controller

Docs:

Accessing the endpoint

After deployed, curl the ingress host you configured in auth helm chart (devops-ws.example.io):

$ # get human time
$ curl -X GET http://devops-ws.example.io/datetime/asia/jerusalem -H "k8s-ws: user_a"
{"body": {"datetime": "2020-06-22T21:15:11.804696+03:00"}}

$ # get epochtime time
$ curl -X GET http://devops-ws.example.io/epochtime/asia/jerusalem -H "k8s-ws: user_a"
{"body": {"epochtime": 1592849876}}

About

Two-microservices environment using Kubernetes, Helm, and Docker, hosting an application composed of Flask.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published