Marketplace
BrowsePublish
Marketplace
crossplane-contrib/provider-gcp@v0.22.0
Cluster
container.gcp.crossplane.io
Cluster
crossplane-contrib/provider-gcp@v0.22.0container.gcp.crossplane.io

A Cluster is a managed resource that represents a Google Kubernetes Engine cluster.

Type

CRD

Group

container.gcp.crossplane.io

Version

v1beta2

apiVersion: container.gcp.crossplane.io/v1beta2

kind: Cluster

API Documentation
apiVersion
string
kind
string
metadata
object
spec
object
object

A ClusterSpec defines the desired state of a Cluster.

forProvider
requiredobject
requiredobject

ClusterParameters define the desired state of a Google Kubernetes Engine cluster. Most of its fields are direct mirror of GCP Cluster object. See https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters#Cluster

object

AddonsConfig: Configurations for the various addons available to run in the cluster.

object

CloudRunConfig: Configuration for the Cloud Run addon. The IstioConfig addon must be enabled in order to enable Cloud Run addon. This option can only be enabled at cluster creation time.

disabled
requiredboolean
object

ConfigConnectorConfig: Configuration for the ConfigConnector add-on, a Kubernetes extension to manage hosted GCP services through the Kubernetes API

enabled
requiredboolean
object

DNSCacheConfig: Configuration for NodeLocalDNS, a dns cache running on cluster nodes

enabled
requiredboolean
object

GCEPersistentDiskCSIDriverConfig: Configuration for the GCP Compute Persistent Disk CSI driver.

enabled
requiredboolean
object

HorizontalPodAutoscaling: Configuration for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods.

disabled
requiredboolean
object

HTTpLoadBalancing: Configuration for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.

disabled
requiredboolean
object

KubernetesDashboard: Configuration for the Kubernetes Dashboard. This addon is deprecated, and will be disabled in 1.15. It is recommended to use the Cloud Console to manage and monitor your Kubernetes clusters, workloads and applications. For more information, see: https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards

disabled
requiredboolean
object

NetworkPolicyConfig: Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes.

disabled
requiredboolean
object

AuthenticatorGroupsConfig: Configuration controlling RBAC group membership information.

autopilot
object
object

Autopilot: Autopilot configuration for the cluster.

enabled
requiredboolean
object

Autoscaling: Cluster-level autoscaling configuration.

array

AutoprovisioningLocations: The list of Google Compute Engine zones in which the NodePool's nodes can be created by NAP.

object

AutoprovisioningNodePoolDefaults: AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.

diskSizeGb
integer
diskType
string
object

Management: Specifies the node management options for NAP created node-pools.

autoRepair
boolean
array

OauthScopes: Scopes that are used by NAP when creating node pools. If oauth_scopes are specified, service_account should be empty.

object

ShieldedInstanceConfig: Shielded Instance options.

object

UpgradeSettings: Specifies the upgrade settings for NAP created node pools

array

ResourceLimits: Contains global constraints regarding minimum and maximum amount of resources in the cluster.

maximum
integer
minimum
integer
object

BinaryAuthorization: Configuration for Binary Authorization.

enabled
requiredboolean
object

ConfidentialNodes: Configuration of Confidential Nodes

enabled
requiredboolean
object

DatabaseEncryption: Configuration of etcd encryption.

keyName
string
state
string
object

DefaultMaxPodsConstraint: The default constraint on the maximum number of pods that can be run simultaneously on a node in the node pool of this cluster. Only honored if cluster created with IP Alias support.

maxPodsPerNode
requiredinteger
enableTpu
boolean
object

IPAllocationPolicy: Configuration for cluster IP allocation.

object

LegacyAbac: Configuration for the legacy ABAC authorization mode.

enabled
requiredboolean
location
requiredstring
array

Locations: The list of Google Compute Engine zones in which the cluster's nodes should be located.

object

MaintenancePolicy: Configure the maintenance policy for this cluster.

window
requiredobject
requiredobject

Window: Specifies the maintenance window in which maintenance may be performed.

object

DailyMaintenanceWindow: DailyMaintenanceWindow specifies a daily maintenance operation window.

startTime
requiredstring
object

RecurringWindow: RecurringWindow specifies some number of recurring time periods for maintenance to occur. The time windows may be overlapping. If no maintenance windows are set, maintenance can occur at any time.

window
object
object

Window: The window of the first recurrence.

endTime
string
startTime
string
object

MasterAuth: The authentication information for accessing the master endpoint. If unspecified, the defaults are used: For clusters before v1.12, if master_auth is unspecified, username will be set to "admin", a random password will be generated, and a client certificate will be issued.

object

ClientCertificateConfig: Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued.

issueClientCertificate
requiredboolean
username
string
object

MasterAuthorizedNetworksConfig: The configuration options for master authorized networks feature.

array

CidrBlocks: cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.

cidrBlock
requiredstring
enabled
boolean
network
string
object

NetworkConfig: Configuration for cluster networking.

object

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.

disabled
requiredboolean
dnsConfig
object
object

DNSConfig contains the desired set of options for configuring clusterDNS.

object

NetworkPolicy: Configuration options for the NetworkPolicy feature.

enabled
boolean
provider
string
object

NetworkRef references to a Network and retrieves its URI

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

NetworkSelector selects a reference to a Network and retrieves its URI

policy
object
object

Policies for selection.

resolve
string
object

NotificationConfig: Notification configuration of the cluster.

pubsub
requiredobject
requiredobject

Pubsub: Notification config for Pub/Sub.

enabled
requiredboolean
topic
requiredstring
object

PrivateClusterConfig: Configuration for private cluster.

object

MasterGlobalAccessConfig: Controls master global access settings.

enabled
requiredboolean
object

ReleaseChannel: Release channel configuration.

channel
requiredstring
object

ResourceUsageExportConfig: Configuration for exporting resource usages. Resource usage export is disabled when this config is unspecified.

object

BigqueryDestination: Configuration to use BigQuery as usage export destination.

datasetId
requiredstring
object

ConsumptionMeteringConfig: Configuration to enable resource consumption metering.

enabled
requiredboolean
object

SubnetworkRef references to a Subnetwork and retrieves its URI

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

SubnetworkSelector selects a reference to a Subnetwork and retrieves its URI

policy
object
object

Policies for selection.

resolve
string
object

VerticalPodAutoscaling: Cluster-level Vertical Pod Autoscaling configuration.

enabled
requiredboolean
object

WorkloadIdentityConfig: Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.

object

ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
object

PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.

configRef
object
object

SecretStoreConfigRef specifies which secret store config should be used for this ConnectionSecret.

name
requiredstring
policy
object
object

Policies for referencing.

resolve
string
metadata
object
object

Metadata is the metadata for connection secret.

labels
object
type
string
name
requiredstring
object

WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.

name
requiredstring
namespace
requiredstring
status
object
object

A ClusterStatus represents the observed state of a Cluster.

object

ClusterObservation is used to show the observed state of the GKE cluster resource on GCP.

array

Conditions: Which conditions caused the current cluster state.

code
string
message
string
endpoint
string
location
requiredstring
object

MaintenancePolicy: Configure the maintenance policy for this cluster.

window
object
object

Window: Specifies the maintenance window in which maintenance may be performed.

object

DailyMaintenanceWindow: DailyMaintenanceWindow specifies a daily maintenance operation window.

duration
string
object

NetworkConfig: Configuration for cluster networking.

network
string
array

NodePools: The node pools associated with this cluster. This field should not be set if "node_config" or "initial_node_count" are specified.

object

Autoscaling: Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.

array

Conditions: Which conditions caused the current node pool state.

code
string
message
string
config
object
object

Config: The node configuration of the pool.

array

Accelerators: A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.

diskSizeGb
integer
diskType
string
imageType
string
labels
object
metadata
object
array

OauthScopes: The set of Google API scopes to be made available on all of the node VMs under the "default" service account. The following scopes are recommended, but not required, and by default are not included:

  • https://www.googleapis.com/auth/compute is required for mounting persistent storage on your nodes. * https://www.googleapis.com/auth/devstorage.read_only is required for communicating with gcr.io (the Google Container Registry). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
object

SandboxConfig: Sandbox configuration for this node.

type
string
object

ShieldedInstanceConfig: Shielded Instance options.

tags
array
array

Tags: 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 or node pool creation. Each tag within the list must comply with RFC1035.

taints
array
array

Taints: List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toler ation/

effect
string
key
string
value
string
array

InstanceGroupUrls: The resource URLs of the managed instance groups associated with this node pool.

array

Locations: The list of Google Compute Engine zones in which the NodePool's nodes should be located.

object

Management: NodeManagement configuration for this NodePool.

autoRepair
boolean
object

UpgradeOptions: Specifies the Auto Upgrade knobs for the node pool.

object

MaxPodsConstraint: The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.

maxPodsPerNode
requiredinteger
name
string
selfLink
string
status
string
version
string
object

PrivateClusterConfig: Configuration for private cluster.

selfLink
string
status
string
zone
string
array

Conditions of the resource.

lastTransitionTime
requiredstring
message
string
reason
requiredstring
status
requiredstring
type
requiredstring
Marketplace

Discover the building blocks for your internal cloud platform.

© 2022 Upbound, Inc.

SolutionsProvidersConfigurations
LearnDocumentationTry for Free
MorePrivacy PolicyTerms & Conditions
Marketplace

© 2022 Upbound, Inc.

Marketplace

Discover the building blocksfor your internal cloud platform.