Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 561 for Pods (0.04 sec)

  1. pkg/scheduler/internal/cache/snapshot.go

    	s.usedPVCSet = createUsedPVCSet(pods)
    
    	return s
    }
    
    // createNodeInfoMap obtains a list of pods and pivots that list into a map
    // where the keys are node names and the values are the aggregated information
    // for that node.
    func createNodeInfoMap(pods []*v1.Pod, nodes []*v1.Node) map[string]*framework.NodeInfo {
    	nodeNameToInfo := make(map[string]*framework.NodeInfo)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 01:38:03 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  2. pkg/kube/krt/bench_test.go

    	}
    	c.pods = kclient.New[*v1.Pod](cl)
    	c.services = kclient.New[*v1.Service](cl)
    	c.queue = controllers.NewQueue("pods", controllers.WithReconciler(c.Reconcile))
    	c.pods.AddEventHandler(controllers.ObjectHandler(c.queue.AddObject))
    	c.services.AddEventHandler(controllers.FromEventHandler(func(e controllers.Event) {
    		o := e.Latest()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. pkg/scheduler/util/pod_resources.go

    // of computing priority only. This ensures that when scheduling zero-request pods, such
    // pods will not all be scheduled to the node with the smallest in-use request,
    // and that when scheduling regular pods, such pods will not see zero-request pods as
    // consuming no resources whatsoever. We chose these values to be similar to the
    // resources that we give to cluster addon pods (#10653). But they are pretty arbitrary.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 01 06:25:30 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/endpoints/filters/authn_audit_test.go

    	}
    	if ev.Verb != "list" {
    		t.Errorf("Unexpected verb, expected list, got %s", ev.Verb)
    	}
    	if ev.RequestURI != "/api/v1/namespaces/default/pods" {
    		t.Errorf("Unexpected user, expected /api/v1/namespaces/default/pods, got %s", ev.RequestURI)
    	}
    }
    
    func TestFailedMultipleAuthnAudit(t *testing.T) {
    	sink := &fakeAuditSink{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 12 21:42:41 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  5. istioctl/pkg/checkinject/testdata/check-inject/never-match-injector.yaml

        reinvocationPolicy: Never
        rules:
          - apiGroups:
              - ""
            apiVersions:
              - v1
            operations:
              - CREATE
            resources:
              - pods
            scope: '*'
        sideEffects: None
        timeoutSeconds: 10
      - admissionReviewVersions:
          - v1beta1
          - v1
        clientConfig:
          service:
            name: istiod
            namespace: istio-system
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. cluster/addons/calico-policy-controller/calico-clusterrole.yaml

          - watch
          - list
      # Used by Calico for policy information.
      - apiGroups: [""]
        resources:
          - pods
          - namespaces
          - serviceaccounts
        verbs:
          - list
          - watch
      # The CNI plugin patches pods/status.
      - apiGroups: [""]
        resources:
          - pods/status
        verbs:
          - patch
      # Calico monitors various CRDs for config.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 26 02:52:06 UTC 2020
    - 3.3K bytes
    - Viewed (0)
  7. pkg/registry/core/pod/rest/metrics.go

    	podLogsUsage = metrics.NewCounterVec(
    		&metrics.CounterOpts{
    			Namespace:      namespace,
    			Subsystem:      subsystem,
    			Name:           "insecure_backend_total",
    			Help:           "Total number of requests for pods/logs sliced by usage type: enforce_tls, skip_tls_allowed, skip_tls_denied",
    			StabilityLevel: metrics.ALPHA,
    		},
    		[]string{"usage"},
    	)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 10 16:43:09 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. tools/bug-report/pkg/config/config.go

    		}
    		if !defaultListSetting(ss.Deployments) {
    			st += fmt.Sprintf("/Deployments: %s", strings.Join(ss.Deployments, ","))
    		}
    		if !defaultListSetting(ss.Pods) {
    			st += fmt.Sprintf("/Pods:%s", strings.Join(ss.Pods, ","))
    		}
    		if !defaultListSetting(ss.Containers) {
    			st += fmt.Sprintf("/Containers: %s", strings.Join(ss.Containers, ","))
    		}
    		if len(ss.Labels) > 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Nov 04 12:07:50 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  9. manifests/charts/istio-cni/templates/resourcequota.yaml

    {{- if .Values.cni.resourceQuotas.enabled }}
    apiVersion: v1
    kind: ResourceQuota
    metadata:
      name: {{ template "name" . }}-resource-quota
      namespace: {{ .Release.Namespace }}
    spec:
      hard:
        pods: {{ .Values.cni.resourceQuotas.pods | quote }}
      scopeSelector:
        matchExpressions:
        - operator: In
          scopeName: PriorityClass
          values:
          - system-node-critical
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 388 bytes
    - Viewed (0)
  10. cni/pkg/util/podutil.go

    func AnnotateEnrolledPod(client kubernetes.Interface, pod *metav1.ObjectMeta) error {
    	_, err := client.CoreV1().
    		Pods(pod.Namespace).
    		Patch(
    			context.Background(),
    			pod.Name,
    			types.MergePatchType,
    			annotationPatch,
    			metav1.PatchOptions{},
    			// Both "pods" and "pods/status" can mutate the metadata. However, pods/status is lower privilege, so we use that instead.
    			"status",
    		)
    	return err
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 17:18:11 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top