Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 69 for pod9 (0.24 sec)

  1. pkg/kubelet/server/server_test.go

    }
    
    func TestTrimURLPath(t *testing.T) {
    	tests := []struct {
    		path, expected string
    	}{
    		{"", ""},
    		{"//", ""},
    		{"/pods", "pods"},
    		{"pods", "pods"},
    		{"pods/", "pods"},
    		{"good/", "good"},
    		{"pods/probes", "pods"},
    		{"metrics", "metrics"},
    		{"metrics/resource", "metrics/resource"},
    		{"metrics/hello", "metrics/hello"},
    	}
    
    	for _, test := range tests {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  2. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    }
    
    // Populates desiredStateOfWorld cache with one volume/pod.
    // Calls Run()
    // Verifies there are attach/get map paths/setupDevice calls and
    // no detach/teardownDevice calls.
    func Test_Run_Positive_VolumeAttachAndMap(t *testing.T) {
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "pod1",
    			UID:       "pod1uid",
    			Namespace: "ns",
    		},
    		Spec: v1.PodSpec{},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K 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/apis/core/v1/defaults_test.go

    	s.InitContainers = []v1.Container{{}}
    	pod = &v1.Pod{
    		Spec: s,
    	}
    	output = roundTrip(t, runtime.Object(pod))
    	pod2 = output.(*v1.Pod)
    	defaultRequest = pod2.Spec.Containers[0].Resources.Requests
    	if requestValue := defaultRequest[v1.ResourceCPU]; requestValue.String() != "0" {
    		t.Errorf("Expected 0 request value, got: %s", requestValue.String())
    	}
    	defaultRequest = pod2.Spec.InitContainers[0].Resources.Requests
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    					Obj(),
    			},
    			initPods: []*v1.Pod{
    				st.MakePod().Name("pod-a1").UID("pod-a1").Node("node-a").Label("foo", "").Priority(midPriority).Obj(),
    				st.MakePod().Name("pod-a2").UID("pod-a2").Node("node-a").Label("foo", "").Priority(lowPriority).Obj(),
    				st.MakePod().Name("pod-b1").UID("pod-b1").Node("node-b").Label("foo", "").Priority(lowPriority).Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/extensions/v1beta1/types.go

    	// that should be running the daemon pod (i.e. status.desiredNumberScheduled)
    	// can have their a new pod created before the old pod is marked as deleted.
    	// The update starts by launching new pods on 30% of nodes. Once an updated
    	// pod is available (Ready for at least minReadySeconds) the old DaemonSet pod
    	// on that node is marked deleted. If the old pod becomes unavailable for any
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:29 UTC 2023
    - 61.3K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/memorymanager/memory_manager_test.go

    	return p.err
    }
    
    func (p *mockPolicy) Allocate(s state.State, pod *v1.Pod, container *v1.Container) error {
    	return p.err
    }
    
    func (p *mockPolicy) RemoveContainer(s state.State, podUID string, containerName string) {
    }
    
    func (p *mockPolicy) GetTopologyHints(s state.State, pod *v1.Pod, container *v1.Container) map[string][]topologymanager.TopologyHint {
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 05 13:01:40 UTC 2023
    - 70.2K bytes
    - Viewed (0)
  8. pkg/registry/core/pod/strategy_test.go

    			pod: &api.Pod{
    				ObjectMeta: metav1.ObjectMeta{Namespace: "ns", Name: "pod1"},
    				Spec:       api.PodSpec{},
    				Status:     api.PodStatus{},
    			},
    			expectedIP: "",
    		},
    		{
    			name: "empty list",
    			pod: &api.Pod{
    				ObjectMeta: metav1.ObjectMeta{Namespace: "ns", Name: "pod1"},
    				Spec:       api.PodSpec{},
    				Status: api.PodStatus{
    					PodIPs: []api.PodIP{},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  9. istioctl/pkg/describe/describe.go

    			matchingPods := make([]corev1.Pod, 0)
    			var selectedPodCount int
    			if len(labels) > 0 {
    				pods, err := client.Kube().CoreV1().Pods(ns).List(context.TODO(), metav1.ListOptions{
    					LabelSelector: strings.Join(labels, ","),
    				})
    				if err != nil {
    					return err
    				}
    				selectedPodCount = len(pods.Items)
    				for _, pod := range pods.Items {
    					if pod.Status.Phase != corev1.PodRunning {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  10. operator/pkg/apis/istio/v1alpha1/values_types.proto

      // The mode defines the action the controller will take when a pod is detected as broken.
      // If deletePods is true, the controller will delete the broken pod. The pod will then be rescheduled, hopefully onto a node that is fully ready.
      // Note this gives the DaemonSet a relatively high privilege, as it can delete any Pod.
      bool deletePods = 7;
    
      // The label key to apply to a broken pod when the controller is in labelPods mode.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 01:55:05 UTC 2024
    - 57.2K bytes
    - Viewed (0)
Back to top