Enum gapi_grpc::google::container::v1beta1::workload_metadata_config::NodeMetadata[][src]

[]
#[repr(i32)]pub enum NodeMetadata {
    Unspecified,
    Secure,
    Expose,
    GkeMetadataServer,
}
[]

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

Variants

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.

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
[]

Expose all VM metadata to pods.

GkeMetadataServer
[]

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.

Implementations

impl NodeMetadata[src][]

pub fn is_valid(value: i32) -> bool[src][]

Returns true if value is a variant of NodeMetadata.

pub fn from_i32(value: i32) -> Option<NodeMetadata>[src][]

Converts an i32 to a NodeMetadata, or None if value is not a valid variant.

Trait Implementations

impl Clone for NodeMetadata[src][+]

impl Copy for NodeMetadata[src]

impl Debug for NodeMetadata[src][+]

impl Default for NodeMetadata[src][+]

impl Eq for NodeMetadata[src]

impl From<NodeMetadata> for i32[src][+]

impl Hash for NodeMetadata[src][+]

impl Ord for NodeMetadata[src][+]

impl PartialEq<NodeMetadata> for NodeMetadata[src][+]

impl PartialOrd<NodeMetadata> for NodeMetadata[src][+]

impl StructuralEq for NodeMetadata[src]

impl StructuralPartialEq for NodeMetadata[src]

Auto Trait Implementations

impl RefUnwindSafe for NodeMetadata

impl Send for NodeMetadata

impl Sync for NodeMetadata

impl Unpin for NodeMetadata

impl UnwindSafe for NodeMetadata

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src][+]

impl<T> Borrow<T> for T where
    T: ?Sized
[src][+]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src][+]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src][+]

impl<T> From<T> for T[src][+]

impl<T> Instrument for T[src][+]

impl<T> Instrument for T[src][+]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src][+]

impl<T> IntoRequest<T> for T[src][+]

impl<T> ToOwned for T where
    T: Clone
[src][+]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src][+]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src][+]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src][+]

impl<T> WithSubscriber for T[src][+]