Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for podresources (0.14 sec)

  1. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    			result.Fail(errResize)
    			return
    		}
    	}
    	if len(podContainerChanges.ContainersToUpdate[v1.ResourceCPU]) > 0 || podContainerChanges.UpdatePodResources {
    		if podResources.CPUQuota == nil || podResources.CPUShares == nil {
    			klog.ErrorS(nil, "podResources.CPUQuota or podResources.CPUShares is nil", "pod", pod.Name)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  2. plugin/pkg/admission/noderestriction/admission_test.go

    			err:        "",
    		},
    		{
    			name:       "forbid update of mirror pod bound to self",
    			podsGetter: existingPods,
    			attributes: admission.NewAttributesRecord(coremymirrorpod, coremymirrorpod, podKind, coremymirrorpod.Namespace, coremymirrorpod.Name, podResource, "", admission.Update, &metav1.UpdateOptions{}, false, mynode),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 73.2K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    	"k8s.io/kubernetes/pkg/scheduler/framework/plugins/interpodaffinity"
    	"k8s.io/kubernetes/pkg/scheduler/framework/plugins/names"
    	"k8s.io/kubernetes/pkg/scheduler/framework/plugins/noderesources"
    	"k8s.io/kubernetes/pkg/scheduler/framework/plugins/podtopologyspread"
    	"k8s.io/kubernetes/pkg/scheduler/framework/plugins/queuesort"
    	"k8s.io/kubernetes/pkg/scheduler/framework/plugins/tainttoleration"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  4. pkg/controller/disruption/disruption_test.go

    	// Evict simulates the visible effects of eviction in our fake client.
    	evict := func(podNames ...string) {
    		// These GVRs are copied from the generated fake code because they are not exported.
    		var (
    			podsResource                 = schema.GroupVersionResource{Group: "", Version: "v1", Resource: "pods"}
    			poddisruptionbudgetsResource = schema.GroupVersionResource{Group: "policy", Version: "v1", Resource: "poddisruptionbudgets"}
    		)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package noderesources
    
    import (
    	"context"
    	"fmt"
    	"reflect"
    	"testing"
    
    	"github.com/google/go-cmp/cmp"
    	"github.com/stretchr/testify/require"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/api/resource"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
Back to top