Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 568 for podIps (0.12 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. 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)
  3. 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)
  4. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/cluster-roles.yaml

        - ""
        resources:
        - pods/attach
        - pods/exec
        - pods/portforward
        - pods/proxy
        - secrets
        - services/proxy
        verbs:
        - get
        - list
        - watch
      - apiGroups:
        - ""
        resources:
        - serviceaccounts
        verbs:
        - impersonate
      - apiGroups:
        - ""
        resources:
        - pods
        - pods/attach
        - pods/exec
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 08:11:08 UTC 2023
    - 24.1K bytes
    - Viewed (0)
  5. pkg/controller/volume/attachdetach/cache/desired_state_of_world.go

    func getPodsFromMap(podMap map[types.UniquePodName]pod) []*v1.Pod {
    	pods := make([]*v1.Pod, 0, len(podMap))
    	for _, pod := range podMap {
    		pods = append(pods, pod.podObj)
    	}
    	return pods
    }
    
    func (dsw *desiredStateOfWorld) GetPodToAdd() map[types.UniquePodName]PodToAdd {
    	dsw.RLock()
    	defer dsw.RUnlock()
    
    	pods := make(map[types.UniquePodName]PodToAdd)
    	for nodeName, nodeObj := range dsw.nodesManaged {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    			name:   "simple pod not running and not have podIP",
    			inputs: []any{},
    			pod: &v1.Pod{
    				TypeMeta: metav1.TypeMeta{},
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "name",
    					Namespace: "ns",
    				},
    				Spec: v1.PodSpec{},
    				Status: v1.PodStatus{
    					Phase: v1.PodPending,
    				},
    			},
    			result: nil,
    		},
    		{
    			name:   "simple pod not running but have podIP",
    			inputs: []any{},
    			pod: &v1.Pod{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/autoscaling/v1/generated.proto

      // resource metric across all relevant pods, represented as a percentage of
      // the requested value of the resource for the pods.
      // +optional
      optional int32 targetAverageUtilization = 2;
    
      // targetAverageValue is the target value of the average of the
      // resource metric across all relevant pods, as a raw value (instead of as
      // a percentage of the request), similar to the "pods" metric source type.
      // +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 22K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/autoscaling/v1/generated.proto

      // resource metric across all relevant pods, represented as a percentage of
      // the requested value of the resource for the pods.
      // +optional
      optional int32 targetAverageUtilization = 2;
    
      // targetAverageValue is the target value of the average of the
      // resource metric across all relevant pods, as a raw value (instead of as
      // a percentage of the request), similar to the "pods" metric source type.
      // +optional
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  9. tools/bug-report/pkg/cluster/cluster_test.go

    				ObjectMeta: metav1.ObjectMeta{
    					Name: "in-pod1",
    				},
    			},
    			&config2.BugReportConfig{
    				Include: []*config2.SelectionSpec{
    					{
    						Pods: []string{"in-"},
    					},
    				},
    				Exclude: []*config2.SelectionSpec{
    					{
    						Pods: []string{"ex-"},
    					},
    				},
    			},
    			false,
    		},
    		{
    			"tested pod name skip",
    			&v1.Pod{
    				ObjectMeta: metav1.ObjectMeta{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 06 17:23:32 UTC 2023
    - 11K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/autoscaling/v1/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
    - 27.8K bytes
    - Viewed (0)
Back to top