Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::NetworkConfig.
NetworkConfig reports the relative names of network & subnetwork.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#datapath_provider
def datapath_provider() -> ::Google::Cloud::Container::V1::DatapathProvider
Returns
- (::Google::Cloud::Container::V1::DatapathProvider) — The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation.
#datapath_provider=
def datapath_provider=(value) -> ::Google::Cloud::Container::V1::DatapathProvider
Parameter
- value (::Google::Cloud::Container::V1::DatapathProvider) — The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation.
Returns
- (::Google::Cloud::Container::V1::DatapathProvider) — The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation.
#default_enable_private_nodes
def default_enable_private_nodes() -> ::Boolean
Returns
- (::Boolean) — Controls whether by default nodes have private IP addresses only. It is invalid to specify both [PrivateClusterConfig.enablePrivateNodes][] and this field at the same time. To update the default setting, use ClusterUpdate.desired_default_enable_private_nodes
#default_enable_private_nodes=
def default_enable_private_nodes=(value) -> ::Boolean
Parameter
- value (::Boolean) — Controls whether by default nodes have private IP addresses only. It is invalid to specify both [PrivateClusterConfig.enablePrivateNodes][] and this field at the same time. To update the default setting, use ClusterUpdate.desired_default_enable_private_nodes
Returns
- (::Boolean) — Controls whether by default nodes have private IP addresses only. It is invalid to specify both [PrivateClusterConfig.enablePrivateNodes][] and this field at the same time. To update the default setting, use ClusterUpdate.desired_default_enable_private_nodes
#default_snat_status
def default_snat_status() -> ::Google::Cloud::Container::V1::DefaultSnatStatus
Returns
- (::Google::Cloud::Container::V1::DefaultSnatStatus) — Whether the cluster disables default in-node sNAT rules. In-node sNAT rules will be disabled when default_snat_status is disabled. When disabled is set to false, default IP masquerade rules will be applied to the nodes to prevent sNAT on cluster internal traffic.
#default_snat_status=
def default_snat_status=(value) -> ::Google::Cloud::Container::V1::DefaultSnatStatus
Parameter
- value (::Google::Cloud::Container::V1::DefaultSnatStatus) — Whether the cluster disables default in-node sNAT rules. In-node sNAT rules will be disabled when default_snat_status is disabled. When disabled is set to false, default IP masquerade rules will be applied to the nodes to prevent sNAT on cluster internal traffic.
Returns
- (::Google::Cloud::Container::V1::DefaultSnatStatus) — Whether the cluster disables default in-node sNAT rules. In-node sNAT rules will be disabled when default_snat_status is disabled. When disabled is set to false, default IP masquerade rules will be applied to the nodes to prevent sNAT on cluster internal traffic.
#dns_config
def dns_config() -> ::Google::Cloud::Container::V1::DNSConfig
Returns
- (::Google::Cloud::Container::V1::DNSConfig) — DNSConfig contains clusterDNS config for this cluster.
#dns_config=
def dns_config=(value) -> ::Google::Cloud::Container::V1::DNSConfig
Parameter
- value (::Google::Cloud::Container::V1::DNSConfig) — DNSConfig contains clusterDNS config for this cluster.
Returns
- (::Google::Cloud::Container::V1::DNSConfig) — DNSConfig contains clusterDNS config for this cluster.
#enable_cilium_clusterwide_network_policy
def enable_cilium_clusterwide_network_policy() -> ::Boolean
Returns
- (::Boolean) — Whether CiliumClusterwideNetworkPolicy is enabled on this cluster.
#enable_cilium_clusterwide_network_policy=
def enable_cilium_clusterwide_network_policy=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether CiliumClusterwideNetworkPolicy is enabled on this cluster.
Returns
- (::Boolean) — Whether CiliumClusterwideNetworkPolicy is enabled on this cluster.
#enable_fqdn_network_policy
def enable_fqdn_network_policy() -> ::Boolean
Returns
- (::Boolean) — Whether FQDN Network Policy is enabled on this cluster.
#enable_fqdn_network_policy=
def enable_fqdn_network_policy=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether FQDN Network Policy is enabled on this cluster.
Returns
- (::Boolean) — Whether FQDN Network Policy is enabled on this cluster.
#enable_intra_node_visibility
def enable_intra_node_visibility() -> ::Boolean
Returns
- (::Boolean) — Whether Intra-node visibility is enabled for this cluster. This makes same node pod to pod traffic visible for VPC network.
#enable_intra_node_visibility=
def enable_intra_node_visibility=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether Intra-node visibility is enabled for this cluster. This makes same node pod to pod traffic visible for VPC network.
Returns
- (::Boolean) — Whether Intra-node visibility is enabled for this cluster. This makes same node pod to pod traffic visible for VPC network.
#enable_l4ilb_subsetting
def enable_l4ilb_subsetting() -> ::Boolean
Returns
- (::Boolean) — Whether L4ILB Subsetting is enabled for this cluster.
#enable_l4ilb_subsetting=
def enable_l4ilb_subsetting=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether L4ILB Subsetting is enabled for this cluster.
Returns
- (::Boolean) — Whether L4ILB Subsetting is enabled for this cluster.
#enable_multi_networking
def enable_multi_networking() -> ::Boolean
Returns
- (::Boolean) — Whether multi-networking is enabled for this cluster.
#enable_multi_networking=
def enable_multi_networking=(value) -> ::Boolean
Parameter
- value (::Boolean) — Whether multi-networking is enabled for this cluster.
Returns
- (::Boolean) — Whether multi-networking is enabled for this cluster.
#gateway_api_config
def gateway_api_config() -> ::Google::Cloud::Container::V1::GatewayAPIConfig
Returns
- (::Google::Cloud::Container::V1::GatewayAPIConfig) — GatewayAPIConfig contains the desired config of Gateway API on this cluster.
#gateway_api_config=
def gateway_api_config=(value) -> ::Google::Cloud::Container::V1::GatewayAPIConfig
Parameter
- value (::Google::Cloud::Container::V1::GatewayAPIConfig) — GatewayAPIConfig contains the desired config of Gateway API on this cluster.
Returns
- (::Google::Cloud::Container::V1::GatewayAPIConfig) — GatewayAPIConfig contains the desired config of Gateway API on this cluster.
#in_transit_encryption_config
def in_transit_encryption_config() -> ::Google::Cloud::Container::V1::InTransitEncryptionConfig
Returns
- (::Google::Cloud::Container::V1::InTransitEncryptionConfig) — Specify the details of in-transit encryption. Now named inter-node transparent encryption.
#in_transit_encryption_config=
def in_transit_encryption_config=(value) -> ::Google::Cloud::Container::V1::InTransitEncryptionConfig
Parameter
- value (::Google::Cloud::Container::V1::InTransitEncryptionConfig) — Specify the details of in-transit encryption. Now named inter-node transparent encryption.
Returns
- (::Google::Cloud::Container::V1::InTransitEncryptionConfig) — Specify the details of in-transit encryption. Now named inter-node transparent encryption.
#network
def network() -> ::String
Returns
- (::String) — Output only. The relative name of the Google Compute Engine network(https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. Example: projects/my-project/global/networks/my-network
#network_performance_config
def network_performance_config() -> ::Google::Cloud::Container::V1::NetworkConfig::ClusterNetworkPerformanceConfig
Returns
- (::Google::Cloud::Container::V1::NetworkConfig::ClusterNetworkPerformanceConfig) — Network bandwidth tier configuration.
#network_performance_config=
def network_performance_config=(value) -> ::Google::Cloud::Container::V1::NetworkConfig::ClusterNetworkPerformanceConfig
Parameter
- value (::Google::Cloud::Container::V1::NetworkConfig::ClusterNetworkPerformanceConfig) — Network bandwidth tier configuration.
Returns
- (::Google::Cloud::Container::V1::NetworkConfig::ClusterNetworkPerformanceConfig) — Network bandwidth tier configuration.
#private_ipv6_google_access
def private_ipv6_google_access() -> ::Google::Cloud::Container::V1::PrivateIPv6GoogleAccess
Returns
- (::Google::Cloud::Container::V1::PrivateIPv6GoogleAccess) — The desired state of IPv6 connectivity to Google Services. By default, no private IPv6 access to or from Google Services (all access will be via IPv4)
#private_ipv6_google_access=
def private_ipv6_google_access=(value) -> ::Google::Cloud::Container::V1::PrivateIPv6GoogleAccess
Parameter
- value (::Google::Cloud::Container::V1::PrivateIPv6GoogleAccess) — The desired state of IPv6 connectivity to Google Services. By default, no private IPv6 access to or from Google Services (all access will be via IPv4)
Returns
- (::Google::Cloud::Container::V1::PrivateIPv6GoogleAccess) — The desired state of IPv6 connectivity to Google Services. By default, no private IPv6 access to or from Google Services (all access will be via IPv4)
#service_external_ips_config
def service_external_ips_config() -> ::Google::Cloud::Container::V1::ServiceExternalIPsConfig
Returns
- (::Google::Cloud::Container::V1::ServiceExternalIPsConfig) — ServiceExternalIPsConfig specifies if services with externalIPs field are blocked or not.
#service_external_ips_config=
def service_external_ips_config=(value) -> ::Google::Cloud::Container::V1::ServiceExternalIPsConfig
Parameter
- value (::Google::Cloud::Container::V1::ServiceExternalIPsConfig) — ServiceExternalIPsConfig specifies if services with externalIPs field are blocked or not.
Returns
- (::Google::Cloud::Container::V1::ServiceExternalIPsConfig) — ServiceExternalIPsConfig specifies if services with externalIPs field are blocked or not.
#subnetwork
def subnetwork() -> ::String
Returns
- (::String) — Output only. The relative name of the Google Compute Engine subnetwork to which the cluster is connected. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet