Closed tjdett closed 1 year ago
I think it would be nice to have a simpler way to specify the pod template. Otherwise it looks good
I think it would be nice to have a simpler way to specify the pod template.
@jscasca There is one of those actually: https://plugins.jenkins.io/kubernetes/#plugin-content-configuration-reference
Unfortunately it's lacking something that's fairly critical to scheduling build resources on-demand. Resource requests/limits: https://plugins.jenkins.io/kubernetes/#plugin-content-modify-cpus-and-memory-requestlimits-kubernetes-resource-api
There's actually a lot of boilerplate that's not in that YAML config, because the plugin merges its default config that contains the jnlp
container. Fortunately it's just vanilla Kubernetes pod configuration otherwise, which means there are plenty of examples out there to follow when making modifications.
Runs the build from a Node 18 container running in a K8S cluster.