Skip to content
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

Kubernetes #77

Open
dondragon2 opened this issue Feb 22, 2022 · 2 comments
Open

Kubernetes #77

dondragon2 opened this issue Feb 22, 2022 · 2 comments

Comments

@dondragon2
Copy link

I was able to deploy the business central image to a k8s deployment on EKS. In addition to this I customize the image so that it would install a post-commit hook. However, when the pod fails and restart or if I start a new pod the previous projects are not loaded in the pod. I have to manually import those projects again. Is there a way to load the projects from the remote git on startup? Or, how can I achieve this type of availability in a k8s environment?

@velprabu
Copy link

velprabu commented Mar 23, 2022

Deploy as statefulset with persistent volume and mount the local git repository to that volume.
If there are multiple pods which share this local git EFS can also be looked on.

@sahilkhandelwal12
Copy link

@dondragon2 I need do a very similar piece of modifying the image to install post-commit hook. It would be great help if you can share how you were able to customize it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants