Kubernetes Engine V1 API - Class Google::Cloud::Container::V1::PrivateClusterConfig (v0.33.0)

Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::PrivateClusterConfig.

Configuration options for private clusters.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#enable_private_endpoint

def enable_private_endpoint() -> ::Boolean
Returns
  • (::Boolean) — Whether the master's internal IP address is used as the cluster endpoint.

#enable_private_endpoint=

def enable_private_endpoint=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether the master's internal IP address is used as the cluster endpoint.
Returns
  • (::Boolean) — Whether the master's internal IP address is used as the cluster endpoint.

#enable_private_nodes

def enable_private_nodes() -> ::Boolean
Returns
  • (::Boolean) — Whether nodes have internal IP addresses only. If enabled, all nodes are given only RFC 1918 private addresses and communicate with the master via private networking.

#enable_private_nodes=

def enable_private_nodes=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether nodes have internal IP addresses only. If enabled, all nodes are given only RFC 1918 private addresses and communicate with the master via private networking.
Returns
  • (::Boolean) — Whether nodes have internal IP addresses only. If enabled, all nodes are given only RFC 1918 private addresses and communicate with the master via private networking.

#master_global_access_config

def master_global_access_config() -> ::Google::Cloud::Container::V1::PrivateClusterMasterGlobalAccessConfig
Returns

#master_global_access_config=

def master_global_access_config=(value) -> ::Google::Cloud::Container::V1::PrivateClusterMasterGlobalAccessConfig
Parameter
Returns

#master_ipv4_cidr_block

def master_ipv4_cidr_block() -> ::String
Returns
  • (::String) — The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning internal IP addresses to the master or set of masters, as well as the ILB VIP. This range must not overlap with any other ranges in use within the cluster's network.

#master_ipv4_cidr_block=

def master_ipv4_cidr_block=(value) -> ::String
Parameter
  • value (::String) — The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning internal IP addresses to the master or set of masters, as well as the ILB VIP. This range must not overlap with any other ranges in use within the cluster's network.
Returns
  • (::String) — The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning internal IP addresses to the master or set of masters, as well as the ILB VIP. This range must not overlap with any other ranges in use within the cluster's network.

#peering_name

def peering_name() -> ::String
Returns
  • (::String) — Output only. The peering name in the customer VPC used by this cluster.

#peering_name=

def peering_name=(value) -> ::String
Parameter
  • value (::String) — Output only. The peering name in the customer VPC used by this cluster.
Returns
  • (::String) — Output only. The peering name in the customer VPC used by this cluster.

#private_endpoint

def private_endpoint() -> ::String
Returns
  • (::String) — Output only. The internal IP address of this cluster's master endpoint.

#private_endpoint=

def private_endpoint=(value) -> ::String
Parameter
  • value (::String) — Output only. The internal IP address of this cluster's master endpoint.
Returns
  • (::String) — Output only. The internal IP address of this cluster's master endpoint.

#private_endpoint_subnetwork

def private_endpoint_subnetwork() -> ::String
Returns
  • (::String) — Subnet to provision the master's private endpoint during cluster creation. Specified in projects//regions//subnetworks/* format.

#private_endpoint_subnetwork=

def private_endpoint_subnetwork=(value) -> ::String
Parameter
  • value (::String) — Subnet to provision the master's private endpoint during cluster creation. Specified in projects//regions//subnetworks/* format.
Returns
  • (::String) — Subnet to provision the master's private endpoint during cluster creation. Specified in projects//regions//subnetworks/* format.

#public_endpoint

def public_endpoint() -> ::String
Returns
  • (::String) — Output only. The external IP address of this cluster's master endpoint.

#public_endpoint=

def public_endpoint=(value) -> ::String
Parameter
  • value (::String) — Output only. The external IP address of this cluster's master endpoint.
Returns
  • (::String) — Output only. The external IP address of this cluster's master endpoint.