Enum WorkloadMetadataConfig.Mode (2.15.0)

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

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

Protobuf enum google.container.v1.WorkloadMetadataConfig.Mode

Implements

ProtocolMessageEnum

Static Fields

NameDescription
GCE_METADATA

Expose all Compute Engine metadata to pods.

GCE_METADATA = 1;

GCE_METADATA_VALUE

Expose all Compute Engine metadata to pods.

GCE_METADATA = 1;

GKE_METADATA

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 = 2;

GKE_METADATA_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 = 2;

MODE_UNSPECIFIED

Not set.

MODE_UNSPECIFIED = 0;

MODE_UNSPECIFIED_VALUE

Not set.

MODE_UNSPECIFIED = 0;

UNRECOGNIZED

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()