0

We have a k8s job scheduled by jenkins to a specific namespace, which runs for a few seconds.

This job has specified memory resource limits which have turned out to be too low, so it typically gets OOMKilled.

We don't have access to modify the yaml for this job, to increase it's memory limit.

I tried applying a limitrange, with a higher minimum memory, but this didn't work: it just prevented the pod from being scheduled as it was outside policy.

Is there any mechanism to increase memory limits for an upcoming job?

toolkit
  • 402
  • 6
  • 10
  • Reviewing the [official documentation](https://kubernetes.io/docs/tasks/configure-pod-container/assign-memory-resource/), I didn't find any reference on how to modify the limit range of a scheduled job without modifying the yaml file. – Ismael Clemente Aguirre Jul 07 '22 at 23:04

0 Answers0