Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 767 for podB (0.14 sec)

  1. pkg/scheduler/framework/plugins/noderesources/requested_to_capacity_ratio_test.go

    		"intel.com/foo": "4",
    	}
    
    	tests := []struct {
    		pod            *v1.Pod
    		pods           []*v1.Pod
    		nodes          []*v1.Node
    		expectedScores framework.NodeScoreList
    		name           string
    	}{
    		{
    			//  Node1 Score = Node2 Score = 0 as the incoming Pod doesn't request extended resource.
    			pod:            st.MakePod().Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  2. pkg/kubelet/eviction/types.go

    type MirrorPodFunc func(*v1.Pod) (*v1.Pod, bool)
    
    // ActivePodsFunc returns pods bound to the kubelet that are active (i.e. non-terminal state)
    type ActivePodsFunc func() []*v1.Pod
    
    // PodCleanedUpFunc returns true if all resources associated with a pod have been reclaimed.
    type PodCleanedUpFunc func(*v1.Pod) bool
    
    // statsFunc returns the usage stats if known for an input pod.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 18:46:33 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  3. pkg/kubelet/metrics/metrics.go

    	)
    	// ActivePodCount tracks the count of pods the Kubelet considers as active when deciding to admit a new pod
    	ActivePodCount = metrics.NewGaugeVec(
    		&metrics.GaugeOpts{
    			Subsystem:      KubeletSubsystem,
    			Name:           ActivePodCountKey,
    			Help:           "The number of pods the kubelet considers active and which are being considered when admitting new pods. static is true if the pod is not from the apiserver.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 15:13:25 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  4. pkg/kubelet/secret/secret_manager.go

    }
    
    func (s *secretManager) RegisterPod(pod *v1.Pod) {
    	s.manager.RegisterPod(pod)
    }
    
    func (s *secretManager) UnregisterPod(pod *v1.Pod) {
    	s.manager.UnregisterPod(pod)
    }
    
    func getSecretNames(pod *v1.Pod) sets.Set[string] {
    	result := sets.New[string]()
    	podutil.VisitPodSecretNames(pod, func(name string) bool {
    		result.Insert(name)
    		return true
    	})
    	return result
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/autoscaling/v2beta2/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: Mon Nov 27 20:06:27 UTC 2023
    - 28.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/util_test.go

    	versioner := storage.APIObjectVersioner{}
    
    	makePod := func(name string) *example.Pod {
    		return &example.Pod{
    			ObjectMeta: metav1.ObjectMeta{Namespace: "ns", Name: name},
    		}
    	}
    	createPod := func(obj *example.Pod) *example.Pod {
    		key := "pods/" + obj.Namespace + "/" + obj.Name
    		out := &example.Pod{}
    		err := etcdStorage.Create(context.TODO(), key, obj, out, 0)
    		require.NoError(t, err)
    		return out
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 11 12:07:39 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. istioctl/pkg/proxyconfig/proxyconfig_test.go

    			args:           strings.Split("clusters invalid", " "),
    			expectedString: "unable to retrieve Pod: pods \"invalid\" not found",
    			wantException:  true, // "istioctl proxy-config clusters invalid" should fail
    		},
    		{ // listeners invalid
    			args:           strings.Split("listeners invalid", " "),
    			expectedString: "unable to retrieve Pod: pods \"invalid\" not found",
    			wantException:  true, // "istioctl proxy-config listeners invalid" should fail
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 21:51:29 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/batch/v1/types.go

    // an actual pod condition type.
    type PodFailurePolicyOnPodConditionsPattern struct {
    	// Specifies the required Pod condition type. To match a pod condition
    	// it is required that specified type equals the pod condition type.
    	Type corev1.PodConditionType `json:"type" protobuf:"bytes,1,req,name=type"`
    
    	// Specifies the required Pod condition status. To match a pod condition
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/pod.go

    func (pc *PodCache) getPodByProxy(proxy *model.Proxy) *v1.Pod {
    	var pod *v1.Pod
    	key := podKeyByProxy(proxy)
    	if key.Name != "" {
    		pod = pc.getPodByKey(key)
    		if pod != nil {
    			return pod
    		}
    	}
    
    	// only need to fetch the corresponding pod through the first IP, although there are multiple IP scenarios,
    	// because multiple ips belong to the same pod
    	proxyIP := proxy.IPAddresses[0]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/apps/v1beta1/generated.proto

      // pod-1, etc) and the controller will wait until each pod is ready before
      // continuing. When scaling down, the pods are removed in the opposite order.
      // The alternative policy is `Parallel` which will create pods in parallel
      // to match the desired scale without waiting, and on scale down will delete
      // all pods at once.
      // +optional
      optional string podManagementPolicy = 6;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top