Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,369 for Pods (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. cluster/gce/addons/admission-resource-quota-critical-pods/resource-quota.yaml

    # critical pods are configured as a limited resource by admission_controller_config.yaml,
    # which means they are disallowed unless explicitly allowed by a namespaced quota object.
    # This quota effectively removes the restriction on the number of critical pods allowed in the kube-system namespace.
    apiVersion: v1
    kind: ResourceQuota
    metadata:
      name: gcp-critical-pods
      namespace: kube-system
      labels:
        addonmanager.kubernetes.io/mode: Reconcile
    spec:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 17 13:52:19 UTC 2020
    - 644 bytes
    - Viewed (0)
  6. 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)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/config_test.go

    apiVersion: resourcequota.admission.k8s.io/v1alpha1
    limitedResources:
    - apiGroup: ""
      resource: persistentvolumeclaims
      matchContains:
      - .storageclass.storage.k8s.io/requests.storage
    - apiGroup: ""
      resource: pods
      matchScopes:
      - scopeName: PriorityClass
        operator: In
        values:
        - cluster-services
    `,
    			expectConfig: &resourcequotaapi.Configuration{
    				LimitedResources: []resourcequotaapi.LimitedResource{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 04 12:53:52 UTC 2020
    - 4.2K bytes
    - Viewed (0)
  8. 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)
  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