Skip to content

Commit

Permalink
Merge pull request #1463 from Seesbastian/master
Browse files Browse the repository at this point in the history
autoscaler formatting documentation fix
  • Loading branch information
mysticaltech authored Sep 22, 2024
2 parents 035e823 + bbdf9f9 commit 22142a7
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions kube.tf.example
Original file line number Diff line number Diff line change
Expand Up @@ -321,23 +321,24 @@ module "kube-hetzner" {
#
# * Example below:
# autoscaler_nodepools = [
# {
# name = "autoscaled-small"
# server_type = "cx32"
# location = "fsn1"
# min_nodes = 0
# max_nodes = 5
# labels = {
# "node.kubernetes.io/role": "peak-workloads"
# }
# taints =
# [{
# key: "node.kubernetes.io/role"
# value: "peak-workloads"
# effect: "NoExecute"
# }]
# # kubelet_args = ["kube-reserved=cpu=250m,memory=1500Mi,ephemeral-storage=1Gi", "system-reserved=cpu=250m,memory=300Mi"]
# }
# {
# name = "autoscaled-small"
# server_type = "cx32"
# location = "fsn1"
# min_nodes = 0
# max_nodes = 5
# labels = {
# "node.kubernetes.io/role": "peak-workloads"
# }
# taints = [
# {
# key= "node.kubernetes.io/role"
# value= "peak-workloads"
# effect= "NoExecute"
# }
# ]
# # kubelet_args = ["kube-reserved=cpu=250m,memory=1500Mi,ephemeral-storage=1Gi", "system-reserved=cpu=250m,memory=300Mi"]
# }
# ]

# ⚠️ Deprecated, will be removed after a new Cluster Autoscaler version has been released which support the new way of setting labels and taints. See above.
Expand Down

0 comments on commit 22142a7

Please sign in to comment.