Title: Migrate to Kubernetes for development · Issue #78 · anomaly/lab-python-server · GitHub
Open Graph Title: Migrate to Kubernetes for development · Issue #78 · anomaly/lab-python-server
X Title: Migrate to Kubernetes for development · Issue #78 · anomaly/lab-python-server
Description: 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 Kubern...
Open Graph Description: 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 de...
X Description: 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 de...
Opengraph URL: https://github.com/anomaly/lab-python-server/issues/78
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Migrate to Kubernetes for development","articleBody":"**Is your feature request related to a problem? Please describe.**\r\nAt 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`.\r\n\r\nGiven 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.\r\n\r\n**Describe the solution you'd like**\r\nInitially propose and develop what a Kubernetes stack looks like? Points to consider here are:\r\n- We have moved away from Docker Hub to GHCR and is Docker Desktop still the optimal tool for running containers on macOS?\r\n- Provide a parallel solution that provides a one for one replacement for the `docker compose` based stack, this includes running a `postgres`, `rabbitmq`, `redis`, workers for `taskiq`\r\n- Ensure that ports can be exposed so all our development tools work the same\r\n- Ensure that volumes can be mounted for hot reload of python code\r\n- Provide a transition pathway (including documentation)\r\n- Maintain `docker compose` files for legacy / alternative approach\r\n- Ability to run tools like `alembic` or `psql` in the container itself\r\n\r\n**Describe alternatives you've considered**\r\nThis is a migration process and at some point we did consider `docker swarm` but eventually settled for Kubernetes. \r\n\r\n**Additional context**\r\nPost the development of this, we will cease to use `compose` for any future projects.\r\n\r\nSee if [kompose](https://kubernetes.io/docs/tasks/configure-pod-container/translate-compose-kubernetes/) can do the trick as described in the documentation","author":{"url":"https://github.com/devraj","@type":"Person","name":"devraj"},"datePublished":"2023-05-30T01:19:24Z","url":"https://github.com/anomaly/lab-python-server/issues/78"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4858a290-638a-894e-be0f-43165e02d1a9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 88D2:1C412F:66EF1F:911D8C:6B0479DD |
| html-safe-nonce | 54f78f6bc74d7d1800a36ba5e6e8107bd895204896cc0e613013d81a4d8513ce |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OEQyOjFDNDEyRjo2NkVGMUY6OTExRDhDOjZCMDQ3OUREIiwidmlzaXRvcl9pZCI6IjIzMzIwODU5OTU2MjcxMTcwMjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8d94f374d3dafba3e53e9dc77cacf15fef6e92b8e5784d4c44617de4283bb534 |
| hovercard-subject-tag | issue:1731376245 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/anomaly/lab-python-server/78/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4d1b9076a0f228417fc0e0ad3849bec2157d9c511067e9db050b11831e345629/anomaly/lab-python-server/issues/78 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4d1b9076a0f228417fc0e0ad3849bec2157d9c511067e9db050b11831e345629/anomaly/lab-python-server/issues/78 |
| og:image:alt | 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 de... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | devraj |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9c099f1b85def81ca352464c276510dfef32deaf3c305404e65b8d270284a58b |
| turbo-cache-control | no-preview |
| go-import | github.com/anomaly/lab-python-server git https://github.com/anomaly/lab-python-server.git |
| octolytics-dimension-user_id | 3654837 |
| octolytics-dimension-user_login | anomaly |
| octolytics-dimension-repository_id | 491764445 |
| octolytics-dimension-repository_nwo | anomaly/lab-python-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 491764445 |
| octolytics-dimension-repository_network_root_nwo | anomaly/lab-python-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | cf73f57448d52b3a7b619195e182b33d3b3454ca |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width