[BUG] KOPS 1.19 Seg Fault when removing an in-use instance type from a mixed instance group #10718
Labels
kind/regression
Categorizes issue or PR as related to a regression from a prior release.
Milestone
1. What
kops
version are you running? The commandkops version
, will displaythis information.
Version 1.19.0 (git-04d36d7d92c72601efd918877fc180c846129ffb)
2. What Kubernetes version are you running?
kubectl version
will print theversion if a cluster is running or provide the Kubernetes version specified as
a
kops
flag.3. What cloud provider are you using?
AWS
4. What commands did you run? What is the simplest way to reproduce this issue?
kops edit ig <instance group name>
,kops update cluster
,kops update cluster --yes
An example would be
Multiple
c5a.xlarge
instances had spawned which had insufficient ram, so I edited the instance group to remove that type.5. What happened after the commands executed?
kops gave a segfault
6. What did you expect to happen?
I expected the autoscaling group to be updated and remove the instance type specified. While it would be nice if KOPS drained in-use nodes in a similar way that a rolling-update does, I'm equally happy with having to drain the instances myself.
One of the core issues is that if I attempt to grow the mixed instance group before removing this instance type there is a good chance I'll just spawn another instance of the type I'm trying to remove as it's one of the smallest / cheapest.
7. Please provide your cluster manifest. Execute
kops get --name my.example.com -o yaml
to display your cluster manifest.You may want to remove your cluster name and other sensitive information.
8. Please run the commands with most verbose logging by adding the
-v 10
flag.Paste the logs into this report, or in a gist and provide the gist link here.
adding
-v8
to theupdate --yes
results in9. Anything else do we need to know?
Note: slight edit to remove possibly sensitive info
The text was updated successfully, but these errors were encountered: