Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 269 for mypods (0.11 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/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)
  4. cmd/kubeadm/app/util/apiclient/wait.go

    			pods, err := w.client.CoreV1().Pods(metav1.NamespaceSystem).List(context.TODO(), listOpts)
    			if err != nil {
    				fmt.Fprintf(w.writer, "[apiclient] Error getting Pods with label selector %q [%v]\n", kvLabel, err)
    				return false, nil
    			}
    
    			if lastKnownPodNumber != len(pods.Items) {
    				fmt.Fprintf(w.writer, "[apiclient] Found %d Pods for label selector %s\n", len(pods.Items), kvLabel)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. plugin/pkg/admission/priority/admission_test.go

    			*pods[0],
    			1000,
    			false,
    			nil,
    		},
    
    		{
    			"Pod without priority class",
    			[]*scheduling.PriorityClass{defaultClass1},
    			*pods[1],
    			1000,
    			false,
    			nil,
    		},
    		{
    			"pod without priority class and no existing priority class",
    			[]*scheduling.PriorityClass{},
    			*pods[1],
    			scheduling.DefaultPriorityWhenNoDefaultClassExists,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 03 18:43:48 UTC 2022
    - 21.2K bytes
    - Viewed (0)
  6. pkg/scheduler/metrics/resources/resources_test.go

    )
    
    type fakePodLister struct {
    	pods []*v1.Pod
    }
    
    func (l *fakePodLister) List(selector labels.Selector) (ret []*v1.Pod, err error) {
    	return l.pods, nil
    }
    
    func (l *fakePodLister) Pods(namespace string) corelisters.PodNamespaceLister {
    	panic("not implemented")
    }
    
    func Test_podResourceCollector_Handler(t *testing.T) {
    	h := Handler(&fakePodLister{pods: []*v1.Pod{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  7. pkg/scheduler/metrics/metrics.go

    			Name:           "pending_pods",
    			Help:           "Number of pending pods, by the queue type. 'active' means number of pods in activeQ; 'backoff' means number of pods in backoffQ; 'unschedulable' means number of pods in unschedulablePods that the scheduler attempted to schedule and failed; 'gated' is the number of unschedulable pods that the scheduler never attempted to schedule because they are gated.",
    			StabilityLevel: metrics.STABLE,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 08:22:53 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/extensions/v1beta1/generated.proto

      // can have their pods stopped for an update at any given time. The update
      // starts by stopping at most 30% of those DaemonSet pods and then brings
      // up new DaemonSet pods in their place. Once the new pods are available,
      // it then proceeds onto other DaemonSet pods, thus ensuring that at least
      // 70% of original number of DaemonSet pods are available at all times during
      // the update.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/metrics/metrics_test.go

    		isMutating  bool
    		want        string
    	}{
    		{
    			desc: "list pods",
    			request: &http.Request{
    				Method: "GET",
    				URL: &url.URL{
    					RawPath: "/api/v1/pods",
    				},
    			},
    			requestInfo: &request.RequestInfo{
    				Verb:              "list",
    				APIGroup:          "",
    				APIVersion:        "v1",
    				Resource:          "pods",
    				IsResourceRequest: true,
    			},
    			isMutating: false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 07:29:19 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modload/import.go

    			// shortest to longest. Reverse them now.
    			for i := 0; i < len(mods)/2; i++ {
    				j := len(mods) - 1 - i
    				mods[i], mods[j] = mods[j], mods[i]
    				roots[i], roots[j] = roots[j], roots[i]
    				dirs[i], dirs[j] = dirs[j], dirs[i]
    			}
    			return module.Version{}, "", "", nil, &AmbiguousImportError{importPath: path, Dirs: dirs, Modules: mods}
    		}
    
    		if len(sumErrMods) > 0 {
    			for i := 0; i < len(sumErrMods)/2; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 27.7K bytes
    - Viewed (0)
Back to top