Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 561 for Pods (0.04 sec)

  1. pkg/kubelet/util/pod_startup_latency_tracker.go

    		delete(p.pods, pod.UID)
    		return
    	}
    
    	state := p.pods[pod.UID]
    	if state == nil {
    		// create a new record for pod, only if it was not yet acknowledged by the Kubelet
    		// this is required, as we want to log metric only for those pods, that where scheduled
    		// after Kubelet started
    		if pod.Status.StartTime.IsZero() {
    			p.pods[pod.UID] = &perPodState{}
    		}
    
    		return
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 15 06:09:49 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  2. pkg/kubelet/config/apiserver.go

    func newSourceApiserverFromLW(lw cache.ListerWatcher, updates chan<- interface{}) {
    	send := func(objs []interface{}) {
    		var pods []*v1.Pod
    		for _, o := range objs {
    			pods = append(pods, o.(*v1.Pod))
    		}
    		updates <- kubetypes.PodUpdate{Pods: pods, Op: kubetypes.SET, Source: kubetypes.ApiserverSource}
    	}
    	r := cache.NewReflector(lw, &v1.Pod{}, cache.NewUndeltaStore(send, cache.MetaNamespaceKeyFunc), 0)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 21 19:46:27 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  3. pkg/config/analysis/analyzers/k8sgateway/workloadselector.go

    			return true
    		}
    		ns := resource.Metadata.FullName.Namespace.String()
    		pods[ns] = append(pods[ns], resource.Metadata.Labels)
    		return true
    	})
    	return pods
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 01:19:33 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/policy/v1beta1/types_swagger_doc_generated.go

    	"selector":                   "Label query over pods whose evictions are managed by the disruption budget. A null selector selects no pods. An empty selector ({}) also selects no pods, which differs from standard behavior of selecting all pods....
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 20:44:13 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  5. pkg/kubelet/config/common.go

    	obj, err := runtime.Decode(legacyscheme.Codecs.UniversalDecoder(), data)
    	if err != nil {
    		return false, pods, err
    	}
    
    	newPods, ok := obj.(*api.PodList)
    	// Check whether the object could be converted to list of pods.
    	if !ok {
    		err = fmt.Errorf("invalid pods list: %#v", obj)
    		return false, pods, err
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. manifests/charts/istio-cni/templates/clusterrole.yaml

        verbs: ["create", "patch"]
      - apiGroups: [""]
        resources: ["pods"]
        verbs: ["watch", "get", "list"]
    {{- if .Values.cni.repair.repairPods }}
    {{- /*  No privileges needed*/}}
    {{- else if .Values.cni.repair.deletePods }}
      - apiGroups: [""]
        resources: ["pods"]
        verbs: ["delete"]
    {{- else if .Values.cni.repair.labelPods }}
      - apiGroups: [""]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. plugin/pkg/admission/alwayspullimages/admission.go

    	// Ignore all calls to subresources or resources other than pods.
    	if shouldIgnore(attributes) {
    		return nil
    	}
    	pod, ok := attributes.GetObject().(*api.Pod)
    	if !ok {
    		return apierrors.NewBadRequest("Resource was marked with kind Pod but was unable to be converted")
    	}
    
    	pods.VisitContainersWithPath(&pod.Spec, field.NewPath("spec"), func(c *api.Container, _ *field.Path) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 30 22:59:57 UTC 2020
    - 5.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/policy/v1/types_swagger_doc_generated.go

    	"selector":                   "Label query over pods whose evictions are managed by the disruption budget. A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 20 23:36:45 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/policy/v1/generated.proto

      // all pods within the namespace.
      // +patchStrategy=replace
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
    
      // An eviction is allowed if at most "maxUnavailable" pods selected by
      // "selector" are unavailable after the eviction, i.e. even in absence of
      // the evicted pod. For example, one can prevent all voluntary evictions
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. 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)
Back to top