Enum WorkloadMetadataConfig.NodeMetadata (2.6.0)

public enum WorkloadMetadataConfig.NodeMetadata extends Enum<WorkloadMetadataConfig.NodeMetadata> implements ProtocolMessageEnum

NodeMetadata is the configuration for if and how to expose the node metadata to the workload running on the node.

Protobuf enum google.container.v1beta1.WorkloadMetadataConfig.NodeMetadata

Implements

ProtocolMessageEnum

Static Fields

NameDescription
EXPOSE

Expose all VM metadata to pods.

EXPOSE = 2;

EXPOSE_VALUE

Expose all VM metadata to pods.

EXPOSE = 2;

GKE_METADATA_SERVER

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.

GKE_METADATA_SERVER = 3;

GKE_METADATA_SERVER_VALUE

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.

GKE_METADATA_SERVER = 3;

SECURE

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.

SECURE = 1;

SECURE_VALUE

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.

SECURE = 1;

UNRECOGNIZED
UNSPECIFIED

Not set.

UNSPECIFIED = 0;

UNSPECIFIED_VALUE

Not set.

UNSPECIFIED = 0;

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()