Package-level declarations

Types

Link copied to clipboard
class Cluster : KotlinCustomResource

Creates a cluster, consisting of the specified number and type of Google Compute Engine instances. By default, the cluster is created in the project's default network. One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.

Link copied to clipboard
data class ClusterArgs(val addonsConfig: Output<AddonsConfigArgs>? = null, val authenticatorGroupsConfig: Output<AuthenticatorGroupsConfigArgs>? = null, val autopilot: Output<AutopilotArgs>? = null, val autoscaling: Output<ClusterAutoscalingArgs>? = null, val binaryAuthorization: Output<BinaryAuthorizationArgs>? = null, val clusterIpv4Cidr: Output<String>? = null, val conditions: Output<List<StatusConditionArgs>>? = null, val confidentialNodes: Output<ConfidentialNodesArgs>? = null, val costManagementConfig: Output<CostManagementConfigArgs>? = null, val databaseEncryption: Output<DatabaseEncryptionArgs>? = null, val defaultMaxPodsConstraint: Output<MaxPodsConstraintArgs>? = null, val description: Output<String>? = null, val enableKubernetesAlpha: Output<Boolean>? = null, val enableTpu: Output<Boolean>? = null, val etag: Output<String>? = null, val fleet: Output<FleetArgs>? = null, val identityServiceConfig: Output<IdentityServiceConfigArgs>? = null, val initialClusterVersion: Output<String>? = null, val initialNodeCount: Output<Int>? = null, val instanceGroupUrls: Output<List<String>>? = null, val ipAllocationPolicy: Output<IPAllocationPolicyArgs>? = null, val legacyAbac: Output<LegacyAbacArgs>? = null, val location: Output<String>? = null, val locations: Output<List<String>>? = null, val loggingConfig: Output<LoggingConfigArgs>? = null, val loggingService: Output<String>? = null, val maintenancePolicy: Output<MaintenancePolicyArgs>? = null, val masterAuth: Output<MasterAuthArgs>? = null, val masterAuthorizedNetworksConfig: Output<MasterAuthorizedNetworksConfigArgs>? = null, val meshCertificates: Output<MeshCertificatesArgs>? = null, val monitoringConfig: Output<MonitoringConfigArgs>? = null, val monitoringService: Output<String>? = null, val name: Output<String>? = null, val network: Output<String>? = null, val networkConfig: Output<NetworkConfigArgs>? = null, val networkPolicy: Output<NetworkPolicyArgs>? = null, val nodeConfig: Output<NodeConfigArgs>? = null, val nodePoolAutoConfig: Output<NodePoolAutoConfigArgs>? = null, val nodePoolDefaults: Output<NodePoolDefaultsArgs>? = null, val nodePools: Output<List<NodePoolArgs>>? = null, val notificationConfig: Output<NotificationConfigArgs>? = null, val parent: Output<String>? = null, val privateClusterConfig: Output<PrivateClusterConfigArgs>? = null, val project: Output<String>? = null, val releaseChannel: Output<ReleaseChannelArgs>? = null, val resourceLabels: Output<Map<String, String>>? = null, val resourceUsageExportConfig: Output<ResourceUsageExportConfigArgs>? = null, val shieldedNodes: Output<ShieldedNodesArgs>? = null, val subnetwork: Output<String>? = null, val verticalPodAutoscaling: Output<VerticalPodAutoscalingArgs>? = null, val workloadIdentityConfig: Output<WorkloadIdentityConfigArgs>? = null, val zone: Output<String>? = null) : ConvertibleToJava<ClusterArgs>

Creates a cluster, consisting of the specified number and type of Google Compute Engine instances. By default, the cluster is created in the project's default network. One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.

Link copied to clipboard
Link copied to clipboard
object ClusterMapper : ResourceMapper<Cluster>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class NodePool : KotlinCustomResource

Creates a node pool for a cluster.

Link copied to clipboard
data class NodePoolArgs(val autoscaling: Output<NodePoolAutoscalingArgs>? = null, val clusterId: Output<String>? = null, val conditions: Output<List<StatusConditionArgs>>? = null, val config: Output<NodeConfigArgs>? = null, val etag: Output<String>? = null, val initialNodeCount: Output<Int>? = null, val location: Output<String>? = null, val locations: Output<List<String>>? = null, val management: Output<NodeManagementArgs>? = null, val maxPodsConstraint: Output<MaxPodsConstraintArgs>? = null, val name: Output<String>? = null, val networkConfig: Output<NodeNetworkConfigArgs>? = null, val parent: Output<String>? = null, val placementPolicy: Output<PlacementPolicyArgs>? = null, val project: Output<String>? = null, val upgradeSettings: Output<UpgradeSettingsArgs>? = null, val version: Output<String>? = null, val zone: Output<String>? = null) : ConvertibleToJava<NodePoolArgs>

Creates a node pool for a cluster.

Link copied to clipboard
Link copied to clipboard
object NodePoolMapper : ResourceMapper<NodePool>
Link copied to clipboard

Functions

Link copied to clipboard
fun cluster(name: String): Cluster
suspend fun cluster(name: String, block: suspend ClusterResourceBuilder.() -> Unit): Cluster
Link copied to clipboard
suspend fun nodePool(name: String, block: suspend NodePoolResourceBuilder.() -> Unit): NodePool