Class NodeMetadata (2.65.0)
Stay organized with collections
Save and categorize content based on your preferences.
NodeMetadata(value)
NodeMetadata is the configuration for if and how to expose
the node metadata to the workload running on the node.
Metadata concealment is a temporary security
solution available while the bootstrapping
process for cluster nodes is being redesigned
with significant security improvements. This
feature is scheduled to be deprecated in the
future and later removed.
EXPOSE (2):
Expose all VM metadata to pods.
GKE_METADATA_SERVER (3):
Run the GKE Metadata Server on this node. The
GKE Metadata Server exposes a metadata API to
workloads that is compatible with the V1 Compute
Metadata APIs exposed by the Compute Engine and
App Engine Metadata Servers. This feature can
only be enabled if Workload Identity is enabled
at the cluster level.
Enums
Name
Description
UNSPECIFIED
Not set.
SECURE
Prevent workloads not in hostNetwork from accessing certain VM metadata, specifically kube-env, which contains Kubelet credentials, and the instance identity token.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-03 UTC."],[],[]]