-  name : MEMORY_LIMIT valueFrom : resourceFieldRef : container : random-generator  resource : limits.memory The environment variable  POD_IP  is set from the properties of this Pod and come into existence at Pod startup time. The environment variable  MEMORY_LIMIT  is set to the value of the memory resource limit of this container; the actual limit declaration is not shown here. In this example we use  fieldRef  to access Pod-level metadata. The keys shown in Table 13-1 are available for  fieldRef.fieldPath  both as environment variables and downwardAPI  volumes. Similarly to  fieldRef , we can use  resourceFieldRef  to access metadata specific to a container belonging to the Pod. This metadata is specific to a container which can be specified with  resourceFieldRef.container . When used as environment variable then by default the current container is used. The possible keys for  resourceFiel dRef.resource  are shown in Table 13-2. Table 13-1. Downward API information available in fieldRef.fieldPath Table 13-2. Downward API information available in resourceFieldRef.resource Name Description requests.cpu A container’s CPU request limits.cpu A container’s CPU limit limits.memory A container’s memory request requests.memory A container’s memory limit Name Description spec.nodeName Name of node hosting the Pod status.hostIP IP address of node hosting the Pod metadata.name Pod name metadata.namespace Namespace in which the Pod is running status.podIP Pod IP address spec.serviceAccountName ServiceAccount that is used for the Pod metadata.uid Unique ID of the Pod metadata.labels[' key '] Value of the Pod’s label  key metadata.annotations[' key '] Value of the Pod’s annotation  key Solution  |  119