Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 741 for Pods (0.13 sec)

  1. cni/pkg/nodeagent/ztunnelserver_test.go

    	setupLogging()
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	pods := &fakePodCache{}
    
    	pod, f := podAndNetns()
    	f.Close()
    	pods.pods = map[string]WorkloadInfo{
    		string(pod.UID): {}, // simulate unknown netns
    	}
    
    	fixture := connectWithPods(ctx, pods)
    	ztunClient := fixture.ztunClient
    	// read initial pod add
    	keep, fds := readRequest(t, ztunClient)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. pkg/kubelet/pleg/generic.go

    	}()
    
    	// Get all the pods.
    	podList, err := g.runtime.GetPods(ctx, true)
    	if err != nil {
    		klog.ErrorS(err, "GenericPLEG: Unable to retrieve pods")
    		return
    	}
    
    	g.updateRelistTime(timestamp)
    
    	pods := kubecontainer.Pods(podList)
    	// update running pod and container count
    	updateRunningPodAndContainerMetrics(pods)
    	g.podRecords.setCurrent(pods)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/autoscaling/v2/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
    - 28.5K bytes
    - Viewed (0)
  4. pkg/test/kube/dump.go

    	}
    }
    
    func podsOrFetch(c cluster.Cluster, pods []corev1.Pod, namespace string) []corev1.Pod {
    	if len(pods) == 0 {
    		podList, err := c.Kube().CoreV1().Pods(namespace).List(context.TODO(), metav1.ListOptions{})
    		if err != nil {
    			scopes.Framework.Warnf("Error getting pods list in cluster %s via kubectl: %v", c.Name(), err)
    			return nil
    		}
    		pods = podList.Items
    	}
    	return pods
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    			podInformer := informerFactory.Core().V1().Pods().Informer()
    			podInformer.GetStore().Add(test.pod)
    			for i := range test.pods {
    				podInformer.GetStore().Add(test.pods[i])
    			}
    
    			deletedPodNames := sets.New[string]()
    			patchedPodNames := sets.New[string]()
    			client.PrependReactor("patch", "pods", func(action clienttesting.Action) (bool, runtime.Object, error) {
    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. pkg/kubeapiserver/admission/exclusion/resources.go

    // in either include or excluded list.
    var included = []schema.GroupResource{
    	{Group: "", Resource: "bindings"},
    	{Group: "", Resource: "pods/attach"},
    	{Group: "", Resource: "pods/binding"},
    	{Group: "", Resource: "pods/eviction"},
    	{Group: "", Resource: "pods/exec"},
    	{Group: "", Resource: "pods/portforward"},
    
    	// ref: https://github.com/kubernetes/kubernetes/issues/122205#issuecomment-1927390823
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 23:31:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. pkg/controller/volume/attachdetach/cache/desired_state_of_world.go

    func getPodsFromMap(podMap map[types.UniquePodName]pod) []*v1.Pod {
    	pods := make([]*v1.Pod, 0, len(podMap))
    	for _, pod := range podMap {
    		pods = append(pods, pod.podObj)
    	}
    	return pods
    }
    
    func (dsw *desiredStateOfWorld) GetPodToAdd() map[types.UniquePodName]PodToAdd {
    	dsw.RLock()
    	defer dsw.RUnlock()
    
    	pods := make(map[types.UniquePodName]PodToAdd)
    	for nodeName, nodeObj := range dsw.nodesManaged {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. 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)
  9. staging/src/k8s.io/api/autoscaling/v1/generated.proto

      // resource metric across all relevant pods, represented as a percentage of
      // the requested value of the resource for the pods.
      // +optional
      optional int32 targetAverageUtilization = 2;
    
      // targetAverageValue is the target value of the average of the
      // resource metric across all relevant pods, as a raw value (instead of as
      // a percentage of the request), similar to the "pods" metric source type.
      // +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 22K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/autoscaling/v1/generated.proto

      // resource metric across all relevant pods, represented as a percentage of
      // the requested value of the resource for the pods.
      // +optional
      optional int32 targetAverageUtilization = 2;
    
      // targetAverageValue is the target value of the average of the
      // resource metric across all relevant pods, as a raw value (instead of as
      // a percentage of the request), similar to the "pods" metric source type.
      // +optional
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 22K bytes
    - Viewed (0)
Back to top