Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 803 for pfds (0.07 sec)

  1. pkg/kube/krt/collection_test.go

    }
    
    func SimpleEndpointsCollection(pods krt.Collection[SimplePod], services krt.Collection[SimpleService]) krt.Collection[SimpleEndpoint] {
    	return krt.NewManyCollection[SimpleService, SimpleEndpoint](services, func(ctx krt.HandlerContext, svc SimpleService) []SimpleEndpoint {
    		pods := krt.Fetch(ctx, pods, krt.FilterLabel(svc.Selector))
    		return slices.Map(pods, func(pod SimplePod) SimpleEndpoint {
    			return SimpleEndpoint{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. tests/integration/pilot/cni_race_test.go

    	retry.UntilSuccessOrFail(t, func() error {
    		pods, err := cluster.Kube().CoreV1().Pods(ns.Name()).List(context.TODO(), metav1.ListOptions{})
    		if err != nil {
    			return err
    		}
    		if len(pods.Items) == 0 {
    			return fmt.Errorf("still waiting the pod in namespace %v to start", ns.Name())
    		}
    		// Verify that at least one pod is in broken state due to the race condition.
    		for _, p := range pods.Items {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 16:52:52 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. cni/pkg/repair/repaircontroller.go

    	patchBytes := fmt.Sprintf(`{"metadata":{"labels":{%q:%q}}}`, c.cfg.LabelKey, c.cfg.LabelValue)
    	// Both "pods" and "pods/status" can mutate the metadata. However, pods/status is lower privilege, so we use that instead.
    	_, err := c.client.Kube().CoreV1().Pods(pod.Namespace).Patch(context.Background(), pod.Name, types.MergePatchType,
    		[]byte(patchBytes), metav1.PatchOptions{}, "status")
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. pkg/controller/job/metrics/metrics.go

    	// are satisfied and the number of active Pods matches expectations (i.e. no
    	// pod creation/deletions issued in this sync). This is expected to be the
    	// action in most of the syncs.
    	JobSyncActionTracking = "tracking"
    	// JobSyncActionPodsCreated when the controller creates Pods. This can happen
    	// when the number of active Pods is less than the wanted Job parallelism.
    	JobSyncActionPodsCreated = "pods_created"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 17:25:15 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. pkg/kubelet/volumemanager/populator/desired_state_of_world_populator.go

    	podName volumetypes.UniquePodName) bool {
    	dswp.pods.RLock()
    	defer dswp.pods.RUnlock()
    
    	return dswp.pods.processedPods[podName]
    }
    
    // markPodProcessingFailed marks the specified pod from processedPods as false to indicate that it failed processing
    func (dswp *desiredStateOfWorldPopulator) markPodProcessingFailed(
    	podName volumetypes.UniquePodName) {
    	dswp.pods.Lock()
    	dswp.pods.processedPods[podName] = false
    	dswp.pods.Unlock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 09:02:45 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  6. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/policy.go

    				rbacv1helpers.NewRule(Read...).Groups(legacyGroup).Resources("pods/attach", "pods/proxy", "pods/exec", "pods/portforward", "secrets", "services/proxy").RuleOrDie(),
    				rbacv1helpers.NewRule("impersonate").Groups(legacyGroup).Resources("serviceaccounts").RuleOrDie(),
    
    				rbacv1helpers.NewRule(Write...).Groups(legacyGroup).Resources("pods", "pods/attach", "pods/proxy", "pods/exec", "pods/portforward").RuleOrDie(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  7. pkg/kubelet/eviction/eviction_manager.go

    		case <-timeout.C():
    			klog.InfoS("Eviction manager: timed out waiting for pods to be cleaned up", "pods", klog.KObjSlice(pods))
    			return
    		case <-ticker.C():
    			for i, pod := range pods {
    				if !podCleanedUpFunc(pod) {
    					break
    				}
    				if i == len(pods)-1 {
    					klog.InfoS("Eviction manager: pods successfully cleaned up", "pods", klog.KObjSlice(pods))
    					return
    				}
    			}
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 18:55:56 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top