Star0
5
代码介绍
代码
Issues1
Pull Requests2
流水线
Actions
讨论
Wiki
项目成员342
分析
项目设置
Star0
5
  1. kubevirt
  2. /
  3. pkg
  4. /
  5. virt-controller
Ddsionovvm controller: Clear RestartRequired when no restart is needed
51399e81创建于 2月4日历史提交
文件最后提交记录最后更新时间
leaderelectionconfig
Consistent copyright notice under pkg Red Hat is willing to mark these files as copyrighted by the KubeVirt Authors. If accepted, a similar sed PR would follow to the reset of the code based. sed -i 's/\(20.., \)*20.. Red Hat, Inc./The KubeVirt Authors./' git grep -l '20.. Red Hat, Inc.' Signed-off-by: Dan Kenigsberg <danken@redhat.com>1 年前
services
unit test: apply overcommit memory only whenever necessary Signed-off-by: Itamar Holder <iholder@redhat.com> Signed-off-by: Jed Lejosne <jed@redhat.com>7 个月前
watch
vm controller: Clear RestartRequired when no restart is needed The RestartRequired condition is set when non-live-updatable fields in the VM spec differ from the spec used to start the VMI. However, the condition was never cleared when the specs become equal again. This caused issues where VMs with a previously set RestartRequired condition would keep it indefinitely, blocking hotplug operations for CPU, memory, and volumes, even when no restart was actually needed. This commit refactors addRestartRequiredIfNeeded into syncRestartRequired, which now both adds and removes the RestartRequired condition as needed. The condition is cleared when specs match after neutralizing live-updatable fields. Signed-off-by: Daniel Sionov <dsionov@redhat.com> Assisted-By: Claude <noreply@anthropic.com>4 个月前