WorkloadMetadataConfigNodeMetadata

enum WorkloadMetadataConfigNodeMetadata : Enum<WorkloadMetadataConfigNodeMetadata> , ConvertibleToJava<WorkloadMetadataConfigNodeMetadata>

NodeMetadata is the configuration for how to expose metadata to the workloads running on the node.

Entries

Link copied to clipboard

Not set.

Link copied to clipboard

Prevent workloads not in hostNetwork from accessing certain VM metadata, specifically kube-env, which contains Kubelet credentials, and the instance identity token. 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.

Link copied to clipboard

Expose all VM metadata to pods.

Link copied to clipboard

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.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun toJava(): WorkloadMetadataConfigNodeMetadata
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val javaValue: WorkloadMetadataConfigNodeMetadata
Link copied to clipboard
Link copied to clipboard