-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add LiveMigrateIfPossible to cluster level EvictionStrategy (#2423)
Add `LiveMigrateIfPossible` as a valid option for cluster level EvictionStrategy. `LiveMigrateIfPossible` will cause a VM to be live migrated, if possible, otherwise it will be directly evicted in order to complete the node drain with no manual actions. Since in general we privilege business continuity of our workload over simplicity of platform upgrades, `LiveMigrate` will continue being our default value. This will be consistent with the default value on /spec/workloadUpdateStrategy/workloadUpdateMethods where we currently have `{"LiveMigrate"}` as our default and not `{"LiveMigrate", "Evict"}` exactly in order to prevent unexpected implicit shutdown due to our upgrades. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=2219785 Signed-off-by: Simone Tiraboschi <stirabos@redhat.com>
- Loading branch information
1 parent
a3414f3
commit fc4613c
Showing
11 changed files
with
64 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 8 additions & 2 deletions
10
...r/github.com/kubevirt/hyperconverged-cluster-operator/api/v1beta1/hyperconverged_types.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...r/github.com/kubevirt/hyperconverged-cluster-operator/api/v1beta1/zz_generated.openapi.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.