howweirdistheweather / weather_app

2 stars 0 forks source link

set up rest API for data access in k8s #4

Closed mbjones closed 11 months ago

mbjones commented 1 year ago

The plan is to deliver data to the app in JSON format using a REST API. My understanding is that @jamcinnes2 has configured one. Need to add that to the kubernetes deployment as another service. This mainly involves:

So, right now, the main issue seems to be to mount the data volume and reimplement wxdata.get_wxvar() to access that data. In doing that, it would be good to:

mbjones commented 11 months ago

Rest service is up and running for delivering JSON data at https://hwitw-dev.arcticdata.io/wxapp/getwxvar?vlat=58.3&vlong=-134.4