I'd like to change my pod's CPU request value after a pod has started. Is this possible?
In our shared kubernetes system there is a requirement that our actual resource usage be "reasonably close" to the resource request value in the yaml, otherwise we limit a users ability to deploy further jobs until they correct their usage requests.
Therefore it's valuable to me to be able to adjust the resource request value after the job started, if that's possible. Presumably such a request would only succeed if the node has the resources (CPU, Memory) available.
I noticed there's a kubectl patch
option to made dynamic updates, but it's not clear that it could accomplish what I'm looking for.