kube-hetzner / terraform-hcloud-kube-hetzner

Optimized and Maintenance-free Kubernetes on Hetzner Cloud in one command!
MIT License
2.42k stars 371 forks source link

[Bug]: exec ./cluster-autoscaler: argument list too long #1456

Closed lpellegr closed 2 months ago

lpellegr commented 3 months ago

Description

Defining a kube.tf with too many entries makes the cluster auto scaler crash:

$ kubectl logs cluster-autoscaler-78948d4cb7-c5hs8 -n kube-system exec ./cluster-autoscaler: argument list too long

Kube.tf file

A standard kube.tf with 

>  autoscaler_nodepools = [...]

defining 26 entries

Screenshots

Screenshot from 2024-08-21 21-23-10

Platform

Linux

mysticaltech commented 2 months ago

@lpellegr In order to debug, please include the object that was too long. Tag me when you do so and I will reopen this if necessary.