Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isInPlacePodVerticalScalingAllowed (0.74 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    	cStatus := podStatus.FindContainerStatusByName(c.Name)
    	if cStatus == nil || cStatus.State == kubecontainer.ContainerStateRunning {
    		return false
    	}
    	return cStatus.ExitCode == 0
    }
    
    func isInPlacePodVerticalScalingAllowed(pod *v1.Pod) bool {
    	if !utilfeature.DefaultFeatureGate.Enabled(features.InPlacePodVerticalScaling) {
    		return false
    	}
    	if types.IsStaticPod(pod) {
    		return false
    	}
    	return true
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
Back to top