# Test SKE Module This module is designed to quickly spin up an SKE cluster. Internally, we use it to debug network connectivity and deploy test applications in a simple, frictionless manner. It automatically selects the latest SKE and node pool machine versions. ## Requirements | Name | Version | | ------------------------------------------------------------------ | -------- | | [random](#requirement_random) | 3.9.0 | | [stackit](#requirement_stackit) | >=0.95.0 | ## Providers | Name | Version | | ------------------------------------------------------------ | -------- | | [random](#provider_random) | 3.9.0 | | [stackit](#provider_stackit) | >=0.95.0 | ## Modules No modules. ## Resources | Name | Type | | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- | | [random_string.this](https://registry.terraform.io/providers/hashicorp/random/3.9.0/docs/resources/string) | resource | | [stackit_ske_cluster.this](https://registry.terraform.io/providers/stackitcloud/stackit/latest/docs/resources/ske_cluster) | resource | | [stackit_ske_kubeconfig.this](https://registry.terraform.io/providers/stackitcloud/stackit/latest/docs/resources/ske_kubeconfig) | resource | | [stackit_ske_kubernetes_versions.this](https://registry.terraform.io/providers/stackitcloud/stackit/latest/docs/data-sources/ske_kubernetes_versions) | data source | | [stackit_ske_machine_image_versions.this](https://registry.terraform.io/providers/stackitcloud/stackit/latest/docs/data-sources/ske_machine_image_versions) | data source | ## Inputs | Name | Description | Type | Default | Required | | --------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :------: | | [cluster_name](#input_cluster_name) | The name of the Kubernetes cluster | `string` | `null` | no | | [maintenance](#input_maintenance) | Maintenance window configuration for the cluster |
object({
enable_kubernetes_version_updates = bool
enable_machine_image_version_updates = bool
start = string
end = string
}) | {
"enable_kubernetes_version_updates": true,
"enable_machine_image_version_updates": true,
"end": "02:00:00Z",
"start": "01:00:00Z"
} | no |
| [network_id](#input_network_id) | The ID of the STACKIT network in which the SKE cluster will be deployed. If not provided, the cluster will automatically create a network on demand. Specifying a network ID is only supported in SNA setups | `string` | `null` | no |
| [node_pools](#input_node_pools) | Configuration for the cluster node pools | `any` | [| no | | [project_id](#input_project_id) | The STACKIT project ID | `string` | n/a | yes | ## Outputs | Name | Description | | ----------------------------------------------------------------------- | --------------------------------------------- | | [cluster_name](#output_cluster_name) | The name of the provisioned SKE cluster | | [kubeconfig](#output_kubeconfig) | The kubeconfig contents to access the cluster |
{
"availability_zones": [
"eu01-1",
"eu01-2",
"eu01-3"
],
"machine_type": "g2i.4",
"max_surge": 3,
"maximum": 3,
"minimum": 1,
"name": "standard",
"os_name": "flatcar",
"volume_size": 20,
"volume_type": "storage_premium_perf6"
}
]