Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tibordp committed May 7, 2023
1 parent fb2863d commit 396c664
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ module "cluster" {
hcloud_ssh_key = hcloud_ssh_key.key.id
hcloud_token = var.hetzner_token
location = "hel1"
server_type = "cx31"
kubernetes_version = "1.27.1"
}
module "worker_nodes" {
Expand All @@ -54,8 +50,6 @@ module "worker_nodes" {
name = "k8s-worker-${count.index}"
hcloud_ssh_key = hcloud_ssh_key.key.id
location = "hel1"
server_type = "cx31"
}
output "kubeconfig" {
Expand Down Expand Up @@ -148,7 +142,7 @@ First control plane node is special in that it is used by the provisioning proce
```hcl
module "k8s" {
source = "tibordp/dualstack-k8s/hcloud"
version = "1.1.0"
version = "2.0.0"
...
Expand Down
3 changes: 3 additions & 0 deletions modules/worker-node/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Worker node module

This module provisions a single worker node in a Kubernetes cluster.
2 changes: 0 additions & 2 deletions test/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ module "simple_cluster" {
hcloud_token = var.hetzner_token
location = "hel1"
server_type = "cx21"

worker_count = 1
}

module "simple_worker_node" {
Expand Down

0 comments on commit 396c664

Please sign in to comment.