help wantedkind/featurelifecycle/stalepriority/important-soon
倉庫指標
- Star
- (723 star)
- PR 合併指標
- (PR 指標待抓取)
描述
/kind feature /help /priority important-soon /milestone v0.7.x
Describe the solution you'd like
When using AWSMachinePool and the pool is scaled down (i.e. the ASG is scaled down) i would like to ensure that the pods running on the node are evicted gracefully and that no new pods are scheduled on the node to be terminated. Currently the instance is terminated and the pods are not shutdown gracefully.
We should use a lifecycle hook on the ASG and use the notification to cordon the node and evict the running pods.
Anything else you would like to add:
This does not apply to AWSManagedMachinePool as this is handled already by AWS.
Discussed briefly in slack
Environment:
- Cluster-api-provider-aws version: 0.6.6