prometheus operator v0.71.2

PrometheusAgent.spec.volumes[].downwardAPI.items[].resourceFieldRef

Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported.

3 fields
PrometheusAgent.spec.volumes[].downwardAPI.items[].resourceFieldRef fields and descriptions
Field / TypeDescription
containerName
string

Container name: required for volumes, optional for env vars

integer | string

Specifies the output format of the exposed resources, defaults to "1"

  • pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
  • x-kubernetes-int-or-string: true
resource
string required

Required: resource to select