anomaly / lab-python-server

A template for building containerised web applications in Python with a recommended set o f dependencies and tooling
Apache License 2.0
11 stars 2 forks source link

Migrate to Kubernetes for development #78

Open devraj opened 1 year ago

devraj commented 1 year ago

Is your feature request related to a problem? Please describe. At present we use docker compose for our development experience. While this is completely fine, this is far removed from any of our deployment scenarios (which all use Kubernetes), further more integration of tools like parseable pose different issues where volumes are mounted differently in compose than what it would have been in K8s.

Given the major aim of containerised environments is consistency, the change suggestion here is to move away from using docker compose in development to align the stack closer to being in production.

Describe the solution you'd like Initially propose and develop what a Kubernetes stack looks like? Points to consider here are:

Describe alternatives you've considered This is a migration process and at some point we did consider docker swarm but eventually settled for Kubernetes.

Additional context Post the development of this, we will cease to use compose for any future projects.

See if kompose can do the trick as described in the documentation