Kubernetes+SonarQube use case

Hi all,

I would just like to get everyone’s opinion on this matter.

Is it possible or best use case to setup a k8s cluster to create sonar scanner containers with specific specs based on different projects?

To elaborate more on this, I want to setup a cluster specifically for sonarqube use, since some projects are very large and can take up a lot of resources, my company wants to centralize the code scan process. Their initial thought is to setup a cluster, and for example if project A needs to be scanned, then k8s will create a pod based on the specs required to do the scan, and after the scan is complete, the pod will be gone. This way so that we can allocate a server’s resources so that it can scan multiple projects at the same time.

Does this sound like a good use for k8s?

1 Like

Sure, it sounds like a good use case. You might check into the Jobs interface: Jobs | Kubernetes