-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
change local dev to use k8s #109
Comments
One challenge is that while Kubernetes can bind-mount a local directory into a volume, you must specify an absolute path to the directory to be mounted. You can't have it be relative to the config file, as we can with docker compose. Which means that we can't just bind-mount the GIt repo into the backend and/or frontend containers and run |
There may be a solution. It would involve running the backend and frontend locally with the We start with backend (api) and frontend (ui) containers that have an init container defined. That init container will check the There will be a task in our Taskfile.yml that does the following:
Then you set up a Git remote called Then when you want to see your code running in the dev k8s boxes, you check your changes into a commit and run Additionally, we will create a Git That all sounds complicated, but it should be straightforward to write a task that will do all that for you. So all you'll need to do is run SUMMARYThere will be a task in our Taskfile.yml that sets up the dev environment. You will run the backend and frontend locally using |
No description provided.
The text was updated successfully, but these errors were encountered: