Config sync across k8s clusters #47
-
Hello, I assume we would have something like
How can we point the deployment to the master yaml file? Or is there a better way that I am not seeing right now? Thank you for any help |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@jakubjanousek So your goal is to deploy multiple motor-admin instances and server them under load balancer?
Regarding motor-admin.yaml - creating git repo to store admin panel configs absolutely makes sense. FROM motoradmin/motoradmin
COPY ./motor-admin.yml . Also you can sync motor-admin.yml from prod to your local git using Hope this helps, let me know if you have any questions. |
Beta Was this translation helpful? Give feedback.
@jakubjanousek So your goal is to deploy multiple motor-admin instances and server them under load balancer?
If that's the case I should warn you that motor-admin does't scale well horizontally - there might be issues with configs reload when they are applied on instance A (that processed requests from the load balancer) but not applied on B (because configs are applied on page reload in browser).
It's better to scale motor-admin vertically - just throw an instance with more ram/cpu when needed.
Regarding motor-admin.yaml - creating git repo to store admin panel configs absolutely makes sense.
You can build your custom image with …