#[non_exhaustive]pub struct NodePoolAutoConfig {
pub network_tags: Option<NetworkTags>,
pub resource_manager_tags: Option<ResourceManagerTags>,
pub node_kubelet_config: Option<NodeKubeletConfig>,
pub linux_node_config: Option<LinuxNodeConfig>,
}Expand description
Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster creation. Each tag within the list must comply with RFC1035.
Resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies.
node_kubelet_config: Option<NodeKubeletConfig>NodeKubeletConfig controls the defaults for autoprovisioned node-pools.
Currently only insecure_kubelet_readonly_port_enabled can be set here.
linux_node_config: Option<LinuxNodeConfig>Output only. Configuration options for Linux nodes.
Implementations§
Source§impl NodePoolAutoConfig
impl NodePoolAutoConfig
Sets the value of network_tags.
Sets the value of resource_manager_tags.
Sourcepub fn set_node_kubelet_config<T: Into<Option<NodeKubeletConfig>>>(
self,
v: T,
) -> Self
pub fn set_node_kubelet_config<T: Into<Option<NodeKubeletConfig>>>( self, v: T, ) -> Self
Sets the value of node_kubelet_config.
Sourcepub fn set_linux_node_config<T: Into<Option<LinuxNodeConfig>>>(
self,
v: T,
) -> Self
pub fn set_linux_node_config<T: Into<Option<LinuxNodeConfig>>>( self, v: T, ) -> Self
Sets the value of linux_node_config.
Trait Implementations§
Source§impl Clone for NodePoolAutoConfig
impl Clone for NodePoolAutoConfig
Source§fn clone(&self) -> NodePoolAutoConfig
fn clone(&self) -> NodePoolAutoConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more