Difference between revisions of "Kubernetes Downward API"
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
** <code>metadata.labels['<KEY>']</code> | ** <code>metadata.labels['<KEY>']</code> | ||
** <code>[[spec.serviceAccountName]]</code> | ** <code>[[spec.serviceAccountName]]</code> | ||
+ | ** <code>[[spec.nodeName]]</code> | ||
+ | |||
* <code>[[resourceFieldRef]]</code> | * <code>[[resourceFieldRef]]</code> |
Revision as of 11:11, 8 December 2022
fieldRef:
metadata.name
metadata.namespace
metadata.uid
metadata.annotations['<KEY>']
metadata.labels['<KEY>']
spec.serviceAccountName
spec.nodeName
Related
- Read Expose Pod Information to Containers Through Files, https://kubernetes.io/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information/
- Kubernetes, env:
See also
- Kubernetes: distributions, tools, CKA, CKS, Kubernetes interfaces: CSI, CNI, installation, workloads, networking,
kubeadm
,Kubernetes API
, Kubernetes API Server,kubectl, kubeadm, kubelet, kube-proxy
, Cloud services: EKS, GKE, TKE, DKS, Helm, Kubernetes RBAC, Kubernetes deployments, Minikube, Rancher, OpenShift, Charmed Kubernetes, Ingress, Kubernetes scheduler, Kubernetes Finalizers, logging, Kubernetes operator, Orka,kind:
, Kubernetes namespaces, Kubernetes dashboard, Kubernetes Metrics Server, Field Selectors, CoreDNS, CRI, Kubernetes Topology Manager, Kubernetes governance: (SIG, KEP), Kustomize, controllers,ReadinessProbe, LivenessProbe
, KOPS, K9s, Kui, k3s, ImagePullBackOff, PDB, EndPoints, Kots, metadata, Karpenter, Replicated.com, Kubernetes Authenticating, Kubernetes timeline, Changelog/Versions, service accounts, Kubernetes Pod Lifecycle, Kubernetes Conformance Certified, Kubernetes backup, Kubernetes Pod Security Admission, tEKS, Kubernetes events, Kubernetes ports, Kubernetes policies, Connect, addons, DoKC, Kubernetes control plane, Kubernetes Federation, Kubernetes info, Kubetest2, Sidecar (Kubernetes)
Advertising: