Open devopsschool opened 2 years ago
I have never used Kubernetes so maybe others can help. There are plenty of MeshCentral Docker images available.
Frankly; it's just a nodejs app. As long as you use an external db (mongo) and shared persistent storage it will work and scale out of the box. Read the documentation on reverse proxy to configure your load balancer accordingly.
P.S. I don't run this on k8s, but I run it in docker. Hardware requirements are really low and my IaaS is High Availability already so no point for me to run this on k8s.
I have created both Kubernetes deployment and helm chart for meshcentral if @Ylianst is interested, I can add one of them to this repository. The helm chart is especially easy to install and configure with 1 line. The config.json is abstracted as-is into a configmap for easy rolling config updates.
I have created both Kubernetes deployment and helm chart for meshcentral if @Ylianst is interested, I can add one of them to this repository. The helm chart is especially easy to install and configure with 1 line. The config.json is abstracted as-is into a configmap for easy rolling config updates.
I have read the server peering
part in the document. It seems that all server addr is static set in config.json
. So how to configure this part in k8s? I think we need to use service discovery here.
The helm chart reads the server's FQDN from the config.json and does the substitution automatically.
I see. But it seems that we can't use HPA after install.
The helm chart was not designed for server peering. I can make one if requested.
@sharifm-informatica if you are happy to share ur helm chart, we could include it in the repo as an offical one along side the official docker images!
Need help in kubernetes deployment