ResourceFieldRef
ResourceFieldRef is a component of the Kubernetes Downward API that enables a container to expose its resource values, such as CPU and memory requests or limits, to the Pod at runtime. It allows these resource quantities to be injected into environment variables or consumed by downward API projections, facilitating dynamic configuration based on the container’s defined resources.
Usage and structure: ResourceFieldRef is used in the Pod specification where a container defines environment variables
Supported resources and behavior: The resource field generally supports the standard container resource names such as
Limitations and notes: ResourceFieldRef is part of the downward API and is primarily intended for configuration