Kubernetes version: 1.16.3
Cloud being used: bare-metal
Installation method: manual
Host OS: CoreOS
This is my first post on the forum. I hope I get to give back some of what I will gain here.
I work at a place where we are moving away from Swarm and going to Kubernetes (k8s). We find ourselves stuck, not in the k8s implementation but rather in how to structure our code. We started putting all our code in one repo (k8s + apps) but quickly realised that it would be unmanageable. The right would have to be a repo per app.
The problem we are facing is this:
How can we “auto deploy” an app if we need to say, add a file to a container? That would mean, having to add a file in the app’s repo but also adding a reference in the k8s Deployment yams definition. What is the missing link that eludes us and allows us to change something in an app that would require a change in k8s and have the app not fail because k8s is unaware of the new file requirement in the app?
I hope this is clear enough.
Anyway, any help or pointers to documentation, apps, etc are welcome.
Thanks for your help.