diff --git a/aula-08/cluster-autoscaler.yaml b/aula-08/cluster-autoscaler.yaml index 6f7d395..e343009 100644 --- a/aula-08/cluster-autoscaler.yaml +++ b/aula-08/cluster-autoscaler.yaml @@ -137,6 +137,10 @@ spec: # Escala 0-1 sob demanda, taint "dedicated=builds:NoSchedule" - --nodes=0:1:CAX31:nbg1:build-pool # + # draining-node-pool: Pool interno do autoscaler para nodes em drenagem + # Precisa de tipo válido (CAX11) senão o autoscaler quebra + - --nodes=0:0:CAX11:nbg1:draining-node-pool + # # CONFIGURAÇÕES DE SCALE DOWN: # - --scale-down-enabled=true diff --git a/aula-08/setup.sh b/aula-08/setup.sh index a618a7a..ff752e3 100755 --- a/aula-08/setup.sh +++ b/aula-08/setup.sh @@ -513,6 +513,9 @@ CLUSTER_CONFIG_JSON=$(cat <