Difference between revisions of "Kubernetes Downward API"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
 
* https://kubernetes.io/docs/concepts/workloads/pods/downward-api/#available-fields
 
* https://kubernetes.io/docs/concepts/workloads/pods/downward-api/#available-fields
 
 
 
 
  
 
* <code>[[fieldRef:]]</code>
 
* <code>[[fieldRef:]]</code>
Line 14: Line 9:
 
** <code>[[spec.serviceAccountName]]</code>
 
** <code>[[spec.serviceAccountName]]</code>
 
** <code>[[spec.nodeName]]</code>
 
** <code>[[spec.nodeName]]</code>
 +
** <code>[[status.hostIP]]</code>
 +
** <code>[[status.podIP]]</code>
 +
** <code>[[metadata.labels]]</code>
 +
** <code>[[metadata.annotations]]</code>
  
  
 
* <code>[[resourceFieldRef]]</code>
 
* <code>[[resourceFieldRef]]</code>
** [[resource: limits.cpu]]
+
** <code>[[resource: limits.cpu]]</code>
 +
** <code>[[resource: requests.cpu]]</code>
 +
** <code>[[resource: limits.memory]]</code>
 +
** <code>[[resource: requests.memory]]</code>
 +
** <code>[[resource: limits.hugepages-*]]</code>
 +
** <code>[[resource: requests.hugepages-*]]</code>
 +
 
  
  
Line 28: Line 33:
  
 
== See also ==
 
== See also ==
* {{K8s}}
+
* {{K8s API}}
  
 
[[Category:K8s]]
 
[[Category:K8s]]

Latest revision as of 18:29, 21 October 2023

Advertising: