Kubernetes GKE';s群集自动缩放器在初始化状态下受阻

Kubernetes GKE';s群集自动缩放器在初始化状态下受阻,kubernetes,google-kubernetes-engine,autoscaling,Kubernetes,Google Kubernetes Engine,Autoscaling,我最近在优化集群(GKE)利用率,两天前我注意到我的节点没有放大或缩小。自动缩放配置映射处于初始化模式: kubectl describe -n kube-system configmap cluster-autoscaler-status Name: cluster-autoscaler-status Namespace: kube-system Labels: <none> Annotations: cluster-autoscaler.kub

我最近在优化集群(GKE)利用率,两天前我注意到我的节点没有放大或缩小。自动缩放配置映射处于初始化模式:

kubectl describe -n kube-system configmap cluster-autoscaler-status
Name:         cluster-autoscaler-status
Namespace:    kube-system
Labels:       <none>
Annotations:  cluster-autoscaler.kubernetes.io/last-updated: 2020-04-29 14:44:54.363091383 +0000 UTC

Data
====
status:
----
Cluster-autoscaler status at 2020-04-29 14:44:54.363091383 +0000 UTC:
Initializing
Events:  <none>
其他信息:

  • 当它关闭自动缩放并在每个节点池中打开时,
    kubectl descripe-n kube system configmap cluster autoscaler status的输出已更改
  • 我想当我更改:scalability-stable-2-cpu的设置时可能会发生这种情况

  • 3天后恢复正常

    你的k8s版本是什么?事情发生前你有没有采取行动?此外,节点池和主节点在同一个k8s版本中?@KoopaKiller我发布了一些更新。
    default  OK 1.14.10-gke.27  4 (2 per zone) custom-8-45056   Container-Optimized OS (cos)    0 - 8 nodes per zone    
    preemptible8-2   OK 1.14.10-gke.27  10 (5 per zone) n1-standard-8   Container-Optimized OS (cos)    0 - 20 nodes per zone   
    scalability-stable-2-cpu     OK 1.14.10-gke.27 1 (0 - 1 per zone) n1-standard-2 Container-Optimized OS (cos)    0 - 4 nodes per zone