Vault agent: disable cpuLimit

I know that the default value for agentDefaults.cpuLimit is set to 500m, however I need to disable this limit. Would setting this to 0m remove the limit, or it would actually set the limit to zero milliseconds?
How can the limit be disabled?

One way to disable the cpu limit is to set the annotations on the pod to an empty string: Agent Sidecar Injector Annotations | Vault by HashiCorp. And there’s more info and examples in the PR where this was added: Allow to skip resources on agent images through annotations by sarahhenkens · Pull Request #174 · hashicorp/vault-k8s · GitHub

1 Like