Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 925 for Pods (0.33 sec)

  1. staging/src/k8s.io/api/autoscaling/v1/types.go

    	// pods refers to a metric describing each pod in the current scale target
    	// (for example, transactions-processed-per-second).  The values will be
    	// averaged together before being compared to the target value.
    	// +optional
    	Pods *PodsMetricSource `json:"pods,omitempty" protobuf:"bytes,3,opt,name=pods"`
    
    	// resource refers to a resource metric (such as those specified in
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  2. istioctl/pkg/injector/injector-list.go

    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/kube/inject"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/util/sets"
    )
    
    type revisionCount struct {
    	// pods in a revision
    	pods int
    	// pods that are disabled from injection
    	disabled int
    	// pods that are enabled for injection, but whose revision doesn't match their namespace's revision
    	needsRestart int
    }
    
    func Cmd(cliContext cli.Context) *cobra.Command {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 04 03:08:06 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. pkg/kubelet/apis/podresources/server_v1alpha1_test.go

    	mockCtrl := gomock.NewController(t)
    	defer mockCtrl.Finish()
    
    	for _, tc := range []struct {
    		desc             string
    		pods             []*v1.Pod
    		devices          []*podresourcesv1.ContainerDevices
    		expectedResponse *v1alpha1.ListPodResourcesResponse
    	}{
    		{
    			desc:             "no pods",
    			pods:             []*v1.Pod{},
    			devices:          []*podresourcesv1.ContainerDevices{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet_getters_test.go

    	assert.Equal(t, exp, got)
    
    	got = kubelet.getPodVolumeDeviceDir("abc123", "plugin")
    	exp = filepath.Join(root, "pods/abc123/volumeDevices/plugin")
    	assert.Equal(t, exp, got)
    
    	got = kubelet.getPodPluginsDir("abc123")
    	exp = filepath.Join(root, "pods/abc123/plugins")
    	assert.Equal(t, exp, got)
    
    	got = kubelet.getPodPluginDir("abc123", "foobar")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 00:48:07 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. pkg/controller/volume/ephemeral/controller_test.go

    			podKey: podKey(testPodWithEphemeral),
    		},
    		{
    			name: "pod-deleted",
    			pods: func() []*v1.Pod {
    				deleted := metav1.Now()
    				pods := []*v1.Pod{testPodWithEphemeral.DeepCopy()}
    				pods[0].DeletionTimestamp = &deleted
    				return pods
    			}(),
    			podKey: podKey(testPodWithEphemeral),
    		},
    		{
    			name:   "no-volumes",
    			pods:   []*v1.Pod{testPod},
    			podKey: podKey(testPod),
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. pkg/scheduler/internal/queue/scheduling_queue.go

    }
    
    // NominatedPodsForNode returns a copy of pods that are nominated to run on the given node,
    // but they are waiting for other pods to be removed from the node.
    func (npm *nominator) NominatedPodsForNode(nodeName string) []*framework.PodInfo {
    	npm.lock.RLock()
    	defer npm.lock.RUnlock()
    	// Make a copy of the nominated Pods so the caller can mutate safely.
    	pods := make([]*framework.PodInfo, len(npm.nominatedPods[nodeName]))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/policy/v1beta1/generated.proto

      // A null selector selects no pods.
      // An empty selector ({}) also selects no pods, which differs from standard behavior of selecting all pods.
      // In policy/v1, an empty selector will select all pods in the namespace.
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
    
      // An eviction is allowed if at most "maxUnavailable" pods selected by
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  8. istioctl/pkg/util/handlers/handlers.go

    	}
    
    	options := metav1.ListOptions{LabelSelector: selector}
    	podList, err := client.Pods(namespace).List(context.TODO(), options)
    	if err != nil {
    		return []string{}, "", err
    	}
    	pods := []string{}
    	for i := range podList.Items {
    		pods = append(pods, podList.Items[i].Name)
    	}
    
    	return pods, namespace, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 06 15:01:41 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. pkg/kubelet/types/pod_update.go

    	SET PodOperation = iota
    	// ADD signifies pods that are new to this source.
    	ADD
    	// DELETE signifies pods that are gracefully deleted from this source.
    	DELETE
    	// REMOVE signifies pods that have been removed from this source.
    	REMOVE
    	// UPDATE signifies pods have been updated in this source.
    	UPDATE
    	// RECONCILE signifies pods that have unexpected status in this source,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 07 22:26:12 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  10. pkg/kubelet/util/pod_startup_latency_tracker_test.go

    		wants := ""
    
    		metrics.Register()
    
    		tracker := &basicPodStartupLatencyTracker{
    			pods: map[types.UID]*perPodState{},
    		}
    
    		if err := testutil.GatherAndCompare(metrics.GetGather(), strings.NewReader(wants), metricsName); err != nil {
    			t.Fatal(err)
    		}
    
    		assert.Empty(t, tracker.pods)
    		metrics.PodStartSLIDuration.Reset()
    	})
    }
    
    func TestPodsRunningBeforeKubeletStarted(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 15 06:09:49 UTC 2023
    - 13.7K bytes
    - Viewed (0)
Back to top