-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create Flask API Kubernetes Pod #36
Comments
Committed an initial set of changes today including the Dockerfile and a baseline python file including flask and Psycopg for connecting to a local DB. Next step is the database connection on Kubernetes, then after that I'll publish the docker image, deploy it on the dev cluster, and get to working on the SQL queries for each of our MVP endpoints. |
Image is built and the pod deployment is running in K8s, but currently getting a crash backoff. Potentially a problem with loading the image, troubleshooting further. |
I'll copy this comment to the parent ticket as it's relevant for both: The API is now networked to the DB pod. I've created two endpoints, one that gets a plot via an accession code, and one that gets all plots in the database. I've also included a document about how to set up port forwarding for local testing. It's in a separate file right now, but I'm planning to move it into one condensed document tomorrow. Next steps for the API are creating the joins that will connect the plot data up to observations and the rest of the necessary tables to get a complete view of the data. |
No description provided.
The text was updated successfully, but these errors were encountered: