Class ClusterPrivateClusterConfig


  • public final class ClusterPrivateClusterConfig
    extends java.lang.Object
    • Method Detail

      • enablePrivateEndpoint

        public java.util.Optional<java.lang.Boolean> enablePrivateEndpoint()
        Returns:
        When `true`, the cluster's private endpoint is used as the cluster endpoint and access through the public endpoint is disabled. When `false`, either endpoint can be used. This field only applies to private clusters, when `enable_private_nodes` is `true`.
      • enablePrivateNodes

        public java.util.Optional<java.lang.Boolean> enablePrivateNodes()
        Returns:
        Enables the private cluster feature, creating a private endpoint on the cluster. In a private cluster, nodes only have RFC 1918 private addresses and communicate with the master's private endpoint via private networking.
      • masterGlobalAccessConfig

        public java.util.Optional<ClusterPrivateClusterConfigMasterGlobalAccessConfig> masterGlobalAccessConfig()
        Returns:
        Controls cluster master global access settings. If unset, the provider will no longer manage this field and will not modify the previously-set value. Structure is documented below.
      • masterIpv4CidrBlock

        public java.util.Optional<java.lang.String> masterIpv4CidrBlock()
        Returns:
        The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning private IP addresses to the cluster master(s) and the ILB VIP. This range must not overlap with any other ranges in use within the cluster's network, and it must be a /28 subnet. See [Private Cluster Limitations](https://cloud.google.com/kubernetes-engine/docs/how-to/private-clusters#req_res_lim) for more details. This field only applies to private clusters, when `enable_private_nodes` is `true`.
      • peeringName

        public java.util.Optional<java.lang.String> peeringName()
        Returns:
        The name of the peering between this cluster and the Google owned VPC.
      • privateEndpoint

        public java.util.Optional<java.lang.String> privateEndpoint()
        Returns:
        The internal IP address of this cluster's master endpoint.
      • privateEndpointSubnetwork

        public java.util.Optional<java.lang.String> privateEndpointSubnetwork()
        Returns:
        Subnetwork in cluster's network where master's endpoint will be provisioned.
      • publicEndpoint

        public java.util.Optional<java.lang.String> publicEndpoint()
        Returns:
        The external IP address of this cluster's master endpoint. !> The Google provider is unable to validate certain configurations of `private_cluster_config` when `enable_private_nodes` is `false`. It's recommended that you omit the block entirely if the field is not set to `true`.