Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tests/integration/pilot/cni/cniversionskew_test.go

    				retry.UntilSuccessOrFail(t, func() error {
    					pods, err := podFetchFn()
    					if err != nil {
    						return fmt.Errorf("failed to get CNI pods %v", err)
    					}
    					if len(pods) == 0 {
    						return fmt.Errorf("cannot find any CNI pods")
    					}
    					for _, p := range pods {
    						if !strings.Contains(p.Spec.Containers[0].Image, v) {
    							return fmt.Errorf("pods image does not match wanted CNI version")
    						}
    					}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 22:56:37 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/runtime/waiting_pods_map.go

    )
    
    // waitingPodsMap a thread-safe map used to maintain pods waiting in the permit phase.
    type waitingPodsMap struct {
    	pods map[types.UID]*waitingPod
    	mu   sync.RWMutex
    }
    
    // NewWaitingPodsMap returns a new waitingPodsMap.
    func NewWaitingPodsMap() *waitingPodsMap {
    	return &waitingPodsMap{
    		pods: make(map[types.UID]*waitingPod),
    	}
    }
    
    // add a new WaitingPod to the map.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. security/pkg/server/ca/node_auth.go

    			},
    			Node: pod.Spec.NodeName,
    		}}
    	})
    	return &ClusterNodeAuthorizer{
    		pods:                pods,
    		nodeIndex:           index,
    		trustedNodeAccounts: trustedNodeAccounts,
    	}
    }
    
    func (na *ClusterNodeAuthorizer) Close() {
    	na.pods.ShutdownHandlers()
    }
    
    func (na *ClusterNodeAuthorizer) HasSynced() bool {
    	return na.pods.HasSynced()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. pkg/controller/deployment/recreate_test.go

    			hasOldPodsRunning: false,
    		},
    		{
    			name:              "old RSs with running pods",
    			oldRSs:            []*apps.ReplicaSet{rsWithUID("some-uid"), rsWithUID("other-uid")},
    			podMap:            podMapWithUIDs([]string{"some-uid", "other-uid"}),
    			hasOldPodsRunning: true,
    		},
    		{
    			name:              "old RSs without pods but with non-zero status replicas",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/runtime/mapper_test.go

    	}
    
    	kindsToRegister := []struct {
    		gvr         schema.GroupVersionResource
    		subresource string
    		gvk         schema.GroupVersionKind
    	}{
    		// pods
    		{gvr("", "v1", "pods"), "", gvk("", "v1", "Pod")},
    		// pods/status
    		{gvr("", "v1", "pods"), "status", gvk("", "v1", "Pod")},
    		// deployments
    		{gvr("apps", "v1", "deployments"), "", gvk("apps", "v1", "Deployment")},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:48:03 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  6. istioctl/pkg/checkinject/testdata/check-inject/default-injector.yaml

                - "false"
        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.9K bytes
    - Viewed (0)
  7. pkg/scheduler/testing/workload_prep.go

    	k string
    	v string
    }
    
    // MakeNodesAndPodsForEvenPodsSpread serves as a testing helper for EvenPodsSpread feature.
    // It builds a fake cluster containing running Pods and Nodes.
    // The size of Pods and Nodes are determined by input arguments.
    // The specs of Pods and Nodes are generated with the following rules:
    //   - Each generated node is applied with a unique label: "node: node<i>".
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 16 13:43:36 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. pilot/pkg/config/kube/ingress/status.go

    			c.enqueueAll()
    		}
    	}))
    	// For pods, we enqueue all Ingress if its part of the ingress service
    	c.pods.AddEventHandler(controllers.ObjectHandler(func(o controllers.Object) {
    		if c.meshConfig.Mesh().IngressService != "" {
    			// Ingress Service takes precedence
    			return
    		}
    		ingressSelector := c.meshConfig.Mesh().IngressSelector
    
    		// get all pods acting as ingress gateways
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  9. manifests/charts/istio-cni/values.yaml

        resourceQuotas:
          enabled: false
          pods: 5000
    
        # The number of pods that can be unavailable during rolling update (see
        # `updateStrategy.rollingUpdate.maxUnavailable` here:
        # https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/daemon-set-v1/#DaemonSetSpec).
        # May be specified as a number of pods or as a percent of the total number
        # of pods at the start of the update.
        rollingMaxUnavailable: 1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:01 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. pkg/kube/krt/index_test.go

    )
    
    func TestIndex(t *testing.T) {
    	c := kube.NewFakeClient()
    	kpc := kclient.New[*corev1.Pod](c)
    	pc := clienttest.Wrap(t, kpc)
    	pods := krt.WrapClient[*corev1.Pod](kpc)
    	stop := test.NewStop(t)
    	c.RunAndWait(stop)
    	SimplePods := SimplePodCollection(pods)
    	tt := assert.NewTracker[string](t)
    	IPIndex := krt.NewIndex[SimplePod, string](SimplePods, func(o SimplePod) []string {
    		return []string{o.IP}
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top