Skip to content

Commit 86c749b

Browse files
committed
Fix typo in cluster-autoscaler template (#1981)
(cherry picked from commit 18e447e)
1 parent b8d7f90 commit 86c749b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manager/manifests/cluster-autoscaler.yaml.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ spec:
205205
- --node-group-auto-discovery=asg:tag=k8s.io/cluster-autoscaler/enabled,k8s.io/cluster-autoscaler/{{ config['cluster_name'] }}
206206
{% else %}
207207
{% for np in config['node_pools'] %}
208-
{% if np['preemptile'] %}
208+
{% if np['preemptible'] %}
209209
- --node-group-auto-discovery=mig:namePrefix=gke-{{ config['cluster_name'] }}-cx-ws-{{ np['name'] }},min={{ np['min_instances'] }},max={{ np['max_instances'] }}
210210
{% else %}
211211
- --node-group-auto-discovery=mig:namePrefix=gke-{{ config['cluster_name'] }}-cx-wd-{{ np['name'] }},min={{ np['min_instances'] }},max={{ np['max_instances'] }}

0 commit comments

Comments
 (0)