Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 568 for podIps (0.11 sec)

  1. pkg/kubelet/kubelet_volumes_test.go

    				},
    			},
    		},
    	}
    
    	stopCh := runVolumeManager(kubelet)
    	defer close(stopCh)
    
    	kubelet.podManager.SetPods(pods)
    	for _, pod := range pods {
    		err := kubelet.volumeManager.WaitForAttachAndMount(context.Background(), pod)
    		assert.NoError(t, err)
    	}
    
    	for _, pod := range pods {
    		podVolumesExist := kubelet.podVolumesExist(pod.UID)
    		assert.True(t, podVolumesExist, "pod %q", pod.UID)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 17 16:53:28 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  2. istioctl/pkg/kubeinject/kubeinject.go

    	podList, err := client.Pods(namespace).List(context.TODO(), options)
    	if err != nil {
    		return nil, err
    	}
    	pods := make([]*corev1.Pod, 0, len(podList.Items))
    	for i := range podList.Items {
    		pod := podList.Items[i]
    		pods = append(pods, &pod)
    	}
    	if len(pods) > 0 {
    		sort.Sort(sortBy(pods))
    		return pods[0], nil
    	}
    	return nil, fmt.Errorf("no pods matching selector %q found in namespace %q", selector, namespace)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  3. pkg/kubelet/nodeshutdown/nodeshutdown_manager_linux_test.go

    		pods                             []*v1.Pod
    	}
    	tests := []struct {
    		name string
    		args args
    		want []podShutdownGroup
    	}{
    		{
    			name: "migrate config",
    			args: args{
    				shutdownGracePeriodByPodPriority: migrateConfig(300*time.Second /* shutdownGracePeriodRequested */, 120*time.Second /* shutdownGracePeriodCriticalPods */),
    				pods: []*v1.Pod{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/preemption/preemption_test.go

    			},
    			expected: [][]Candidate{
    				{
    					&candidate{
    						victims: &extenderv1.Victims{
    							Pods: []*v1.Pod{st.MakePod().Name("p1").UID("p1").Node("node1").Priority(midPriority).Obj()},
    						},
    						name: "node1",
    					},
    					&candidate{
    						victims: &extenderv1.Victims{
    							Pods: []*v1.Pod{st.MakePod().Name("p2").UID("p2").Node("node2").Priority(midPriority).Obj()},
    						},
    						name: "node2",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/storage/etcd3/watcher_test.go

    		{
    			name:            "None of the current objects match watchKey: sync with empty page",
    			watchKey:        "/pods/test/",
    			watcherMaxLimit: 1,
    			expectGetCount:  1,
    		},
    		{
    			name:             "The number of current objects is less than defaultWatcherMaxLimit: sync with one page",
    			watchKey:         "/pods/",
    			watcherMaxLimit:  3,
    			expectEventCount: 2,
    			expectGetCount:   1,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 12.3K bytes
    - Viewed (1)
  6. istioctl/pkg/multixds/gather.go

    )
    
    const (
    	// Service account to create tokens in
    	tokenServiceAccount = "default"
    	// Get the pods with limit = 500.
    	kubeClientGetPodLimit = 500
    )
    
    type ControlPlaneNotFoundError struct {
    	Namespace string
    }
    
    func (c ControlPlaneNotFoundError) Error() string {
    	return fmt.Sprintf("no running Istio pods in %q", c.Namespace)
    }
    
    var _ error = ControlPlaneNotFoundError{}
    
    type Options struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 08 08:38:19 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/audit/policy/checker_test.go

    			APIVersion:      "v1",
    			Resource:        "pods",
    			Subresource:     "log",
    			Name:            "busybox",
    			ResourceRequest: true,
    			Path:            "/api/v1/namespaces/default/pods/busybox",
    		},
    		"Unauthorized": &authorizer.AttributesRecord{
    			Verb:            "get",
    			Namespace:       "default",
    			APIGroup:        "", // Core
    			APIVersion:      "v1",
    			Resource:        "pods",
    			Name:            "busybox",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 12 15:06:14 UTC 2021
    - 15.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache_test.go

          apiserver_watch_cache_read_wait_seconds_bucket{resource="pods",le="0.6"} 1
          apiserver_watch_cache_read_wait_seconds_bucket{resource="pods",le="0.8"} 1
          apiserver_watch_cache_read_wait_seconds_bucket{resource="pods",le="1"} 1
          apiserver_watch_cache_read_wait_seconds_bucket{resource="pods",le="1.25"} 1
          apiserver_watch_cache_read_wait_seconds_bucket{resource="pods",le="1.5"} 1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/storage/v1/generated.proto

    // in future we may allow also inline volumes in pods.
    // Exactly one member can be set.
    message VolumeAttachmentSource {
      // persistentVolumeName represents the name of the persistent volume to attach.
      // +optional
      optional string persistentVolumeName = 1;
    
      // inlineVolumeSpec contains all the information necessary to attach
      // a persistent volume defined by a pod's inline VolumeSource. This field
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  10. pkg/scheduler/scheduler.go

    	durationToExpireAssumedPod time.Duration = 0
    )
    
    // ErrNoNodesAvailable is used to describe the error that no nodes available to schedule pods.
    var ErrNoNodesAvailable = fmt.Errorf("no nodes available to schedule pods")
    
    // Scheduler watches for new unscheduled pods. It attempts to find
    // nodes that they fit on and writes bindings back to the api server.
    type Scheduler struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 20.8K bytes
    - Viewed (0)
Back to top