mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 13:12:20 +00:00
Make scheduler to watch PodSpec.Host instead Status.Host
This commit is contained in:
@@ -1300,7 +1300,7 @@ func init() {
|
||||
case "name":
|
||||
return "name", value, nil
|
||||
case "DesiredState.Host":
|
||||
return "status.host", value, nil
|
||||
return "spec.host", value, nil
|
||||
case "DesiredState.Status":
|
||||
podStatus := PodStatus(value)
|
||||
var internalValue newer.PodPhase
|
||||
|
Reference in New Issue
Block a user