mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-26 19:35:10 +00:00
Mark pods with restartable init containers as UnschedulableAndUnresolvable
This marks the pods with restartable init containers as `UnschedulableAndUnresolvable` if the feature gate is disabled to avoid the inconsistency in resource calculation between the scheduler and the older kubelet.
This commit is contained in:
@@ -56,6 +56,7 @@ func NewInTreeRegistry() runtime.Registry {
|
||||
EnablePodSchedulingReadiness: feature.DefaultFeatureGate.Enabled(features.PodSchedulingReadiness),
|
||||
EnablePodDisruptionConditions: feature.DefaultFeatureGate.Enabled(features.PodDisruptionConditions),
|
||||
EnableInPlacePodVerticalScaling: feature.DefaultFeatureGate.Enabled(features.InPlacePodVerticalScaling),
|
||||
EnableSidecarContainers: feature.DefaultFeatureGate.Enabled(features.SidecarContainers),
|
||||
}
|
||||
|
||||
registry := runtime.Registry{
|
||||
|
||||
Reference in New Issue
Block a user