Ylianst / MeshCentral

A complete web-based remote monitoring and management web site. Once setup you can install agents and perform remote desktop session to devices on the local network or over the Internet.
https://meshcentral.com
Apache License 2.0
3.68k stars 511 forks source link

kubernetes deployment #3542

Open devopsschool opened 2 years ago

devopsschool commented 2 years ago

Need help in kubernetes deployment

Ylianst commented 2 years ago

I have never used Kubernetes so maybe others can help. There are plenty of MeshCentral Docker images available.

rallisf1 commented 2 years ago

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.

sharifm-informatica commented 1 year ago

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.

YiuTerran commented 1 year ago

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.

sharifm-informatica commented 1 year ago

The helm chart reads the server's FQDN from the config.json and does the substitution automatically.

YiuTerran commented 1 year ago

I see. But it seems that we can't use HPA after install.

sharifm-informatica commented 1 year ago

The helm chart was not designed for server peering. I can make one if requested.

si458 commented 9 months ago

@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!