File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
cluster-autoscaler/utils/taints Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ limitations under the License.
1717package taints
1818
1919import (
20- "k8s.io/autoscaler/cluster-autoscaler/utils/kubernetes"
2120 "strings"
2221
2322 apiv1 "k8s.io/api/core/v1"
2423 "k8s.io/autoscaler/cluster-autoscaler/utils/deletetaint"
24+ "k8s.io/autoscaler/cluster-autoscaler/utils/kubernetes"
2525 cloudproviderapi "k8s.io/cloud-provider/api"
2626
2727 klog "k8s.io/klog/v2"
@@ -34,6 +34,9 @@ const (
3434 IgnoreTaintPrefix = "ignore-taint.cluster-autoscaler.kubernetes.io/"
3535
3636 gkeNodeTerminationHandlerTaint = "cloud.google.com/impending-node-termination"
37+
38+ // AWS: Indicates that a node has volumes stuck in attaching state and hence it is not fit for scheduling more pods
39+ awsNodeWithImpairedVolumesTaint = "NodeWithImpairedVolumes"
3740)
3841
3942// TaintKeySet is a set of taint key
5255 cloudproviderapi .TaintExternalCloudProvider : true ,
5356 cloudproviderapi .TaintNodeShutdown : true ,
5457 gkeNodeTerminationHandlerTaint : true ,
58+ awsNodeWithImpairedVolumesTaint : true ,
5559 }
5660)
5761
You can’t perform that action at this time.
0 commit comments