Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 592 for Pods (0.06 sec)

  1. staging/src/k8s.io/api/autoscaling/v2beta1/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
    - 26.9K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. pkg/scheduler/framework/plugins/noderesources/balanced_allocation_test.go

    			expectedList: []framework.NodeScore{{Name: "node2", Score: framework.MaxNodeScore}, {Name: "node2", Score: framework.MaxNodeScore}},
    			name:         "no resources requested, pods without container scheduled",
    			pods: []*v1.Pod{
    				st.MakePod().Node("node1").Labels(labels2).Obj(),
    				st.MakePod().Node("node1").Labels(labels1).Obj(),
    				st.MakePod().Node("node2").Labels(labels1).Obj(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  5. pkg/apis/autoscaling/types.go

    	// used by the autoscaler to control how often the number of pods is changed.
    	// +optional
    	LastScaleTime *metav1.Time
    
    	// CurrentReplicas is current number of replicas of pods managed by this autoscaler,
    	// as last seen by the autoscaler.
    	CurrentReplicas int32
    
    	// DesiredReplicas is the desired number of replicas of pods managed by this autoscaler,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 23:13:24 UTC 2023
    - 23.8K bytes
    - Viewed (0)
  6. operator/pkg/helmreconciler/wait.go

    	if err != nil {
    		return fmt.Sprintf("failed to get label selector: %v", err)
    	}
    	pods, err := getPods(client, namespace, sel)
    	if err != nil {
    		return fmt.Sprintf("failed to fetch pods: %v", err)
    	}
    	sort.Slice(pods, func(i, j int) bool {
    		return pods[i].CreationTimestamp.After(pods[j].CreationTimestamp.Time)
    	})
    	for _, pod := range pods {
    		for _, cs := range pod.Status.ContainerStatuses {
    			if cs.State.Waiting != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 08 03:13:12 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. pkg/scheduler/framework/plugins/interpodaffinity/scoring_test.go

    		// there are 2 nodes, say node1 and node2, both nodes have pods that match the labelSelector and have topology-key in node.Labels.
    		// But there are more pods on node1 that match the preference than node2. Then, node1 get a lower score than node2.
    		{
    			name: "Anti Affinity: pod that does not match existing pods in node will get high score ",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 44.8K bytes
    - Viewed (0)
  10. 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)
Back to top