Simple Python web application

There is a new application available under Applications > Request or HERE. It will take the ip address of the person looking at it and find out what device you’re using to look at it (also known as a useragent).

This is a simple web application written in python using Flask the main things demonstrated are

  • HTTP Request handling and basic data processing with Python and Flask.
  • How to automatically deploy that code to kubernetes using gitlab CI
  • Using helm and gruntworks k8s service template to take a lot of the work out of writing kubernetes manifests.
  • Navigating IP address forwarding to get the source IP address from a web request (If your application is behind a load balancer then if you aren’t careful you will get the ip address of the load balancer and not the original requester)

The codebase backing this application can be found HERE