Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for popd (0.05 sec)

  1. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.Pod.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 52K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/v1.29.0/core.v1.Pod.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 50.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/testdata/HEAD/core.v1.Pod.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 52.6K bytes
    - Viewed (0)
  4. pkg/controller/statefulset/stateful_set_utils_test.go

    	}
    	pod.Name = "foo"
    	if identityMatches(set, pod) {
    		t.Error("identity matches for a Pod with the wrong name")
    	}
    	pod = newStatefulSetPod(set, 1)
    	pod.Namespace = ""
    	if identityMatches(set, pod) {
    		t.Error("identity matches for a Pod with the wrong namespace")
    	}
    	pod = newStatefulSetPod(set, 1)
    	delete(pod.Labels, apps.StatefulSetPodNameLabel)
    	if identityMatches(set, pod) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 50.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go

    	key, originalPod := testPropagateStore(ctx, t, store, &example.Pod{ObjectMeta: metav1.ObjectMeta{Name: "name", Namespace: "test-ns"}})
    
    	// First update, so originalPod is outdated.
    	updatedPod := &example.Pod{}
    	if err := store.GuaranteedUpdate(ctx, key, updatedPod, false, nil,
    		storage.SimpleUpdate(func(obj runtime.Object) (runtime.Object, error) {
    			pod := obj.(*example.Pod)
    			pod.ObjectMeta.Labels = map[string]string{"foo": "bar"}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 91.4K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    		if err != nil {
    			klog.ErrorS(err, "GetPodCgroupMemoryUsage failed", "pod", pod.Name)
    			result.Fail(err)
    			return
    		}
    		if currentPodMemoryUsage >= uint64(*podResources.Memory) {
    			klog.ErrorS(nil, "Aborting attempt to set pod memory limit less than current memory usage", "pod", pod.Name)
    			result.Fail(fmt.Errorf("Aborting attempt to set pod memory limit less than current memory usage for pod %s", 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)
  7. plugin/pkg/admission/limitranger/admission_test.go

    		err := PodMutateLimitFunc(&test.limitRange, &test.pod)
    		if err != nil {
    			t.Errorf("Unexpected error for pod: %s, %v", test.pod.Name, err)
    		}
    		err = PodValidateLimitFunc(&test.limitRange, &test.pod)
    		if err == nil {
    			t.Errorf("Expected error for pod: %s", test.pod.Name)
    		}
    	}
    }
    
    func withRestartableInitContainer(requests, limits api.ResourceList, pod api.Pod) api.Pod {
    	policyAlways := api.ContainerRestartPolicyAlways
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  8. pkg/kubelet/status/status_manager_test.go

    		}
    	}
    
    	testCases := []struct {
    		name     string
    		pod      *v1.Pod
    		updateFn func(*v1.Pod)
    		expectFn func(t *testing.T, status v1.PodStatus)
    	}{
    		{pod: newPod(0, 1, func(pod *v1.Pod) { pod.Status.Phase = v1.PodFailed })},
    		{
    			pod: newPod(0, 1, func(pod *v1.Pod) {
    				pod.Status.Phase = v1.PodRunning
    			}),
    			expectFn: func(t *testing.T, status v1.PodStatus) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 68.1K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/noderesources/fit_test.go

    		})
    	}
    	return &v1.Pod{
    		Spec: v1.PodSpec{
    			Containers: containers,
    		},
    	}
    }
    
    func newResourceInitPod(pod *v1.Pod, usage ...framework.Resource) *v1.Pod {
    	pod.Spec.InitContainers = newResourcePod(usage...).Spec.Containers
    	return pod
    }
    
    func newResourceOverheadPod(pod *v1.Pod, overhead v1.ResourceList) *v1.Pod {
    	pod.Spec.Overhead = overhead
    	return pod
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    		if loggerV := logger.V(7); loggerV.Enabled() {
    			// Log more information.
    			loggerV.Info("claim for pod got modified where the pod doesn't care", "pod", klog.KObj(pod), "claim", klog.KObj(modifiedClaim), "diff", cmp.Diff(originalClaim, modifiedClaim))
    		} else {
    			logger.V(6).Info("claim for pod got modified where the pod doesn't care", "pod", klog.KObj(pod), "claim", klog.KObj(modifiedClaim))
    		}
    		return framework.QueueSkip, nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
Back to top