Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 279 for Pods (0.34 sec)

  1. pkg/kube/inject/inject.go

    	// NeverInjectSelector: Refuses the injection on pods whose labels match this selector.
    	// It's an array of label selectors, that will be OR'ed, meaning we will iterate
    	// over it and stop at the first match
    	// Takes precedence over AlwaysInjectSelector.
    	NeverInjectSelector []metav1.LabelSelector `json:"neverInjectSelector"`
    
    	// AlwaysInjectSelector: Forces the injection on pods whose labels match this selector.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 20:35:11 UTC 2024
    - 28.8K bytes
    - Viewed (1)
  2. operator/pkg/verifier/verifier.go

    func (v *StatusVerifier) getRevision() (string, error) {
    	var revision string
    	var revs string
    	revCount := 0
    	pods, err := v.client.PodsForSelector(context.TODO(), v.istioNamespace, "app=istiod")
    	if err != nil {
    		return "", fmt.Errorf("failed to fetch istiod pod, error: %v", err)
    	}
    	for _, pod := range pods.Items {
    		rev := pod.ObjectMeta.GetLabels()[label.IoIstioRev.Name]
    		revCount++
    		if rev == "default" {
    			continue
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/serviceentry/store.go

    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pkg/util/sets"
    )
    
    type hostPort struct {
    	host instancesKey
    	port int
    }
    
    // stores all the service instances from SE, WLE and pods
    type serviceInstancesStore struct {
    	ip2instance map[string][]*model.ServiceInstance
    	// service instances by hostname -> config
    	instances map[instancesKey]map[configKeyWithParent][]*model.ServiceInstance
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. pkg/test/framework/components/istio/kube.go

    	// Find the pod with the specified label in the specified namespace
    	fetchFn := testKube.NewSinglePodFetch(c, namespace, label)
    	pods, err := testKube.WaitUntilPodsAreReady(fetchFn)
    	if err != nil {
    		return nil, err
    	}
    
    	pod := pods[0]
    	return pod.Status.PodIPs, nil
    }
    
    func (i *istioImpl) InternalDiscoveryAddressFor(c cluster.Cluster) (string, error) {
    	i.mu.Lock()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  5. pkg/bootstrap/config.go

    }
    
    const (
    	// DefaultDeploymentUniqueLabelKey is the default key of the selector that is added
    	// to existing ReplicaSets (and label key that is added to its pods) to prevent the existing ReplicaSets
    	// to select new pods (and old pods being select by new ReplicaSet).
    	DefaultDeploymentUniqueLabelKey string = "pod-template-hash"
    )
    
    // GetNodeMetaData function uses an environment variable contract
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  6. pkg/kubelet/kuberuntime/kuberuntime_container_linux.go

    		if memoryRequest != 0 {
    			unified[cm.Cgroup2MemoryMin] = strconv.FormatInt(memoryRequest, 10)
    		}
    
    		// Guaranteed pods by their QoS definition requires that memory request equals memory limit and cpu request must equal cpu limit.
    		// Here, we only check from memory perspective. Hence MemoryQoS feature is disabled on those QoS pods by not setting memory.high.
    		if memoryRequest != memoryLimit {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  7. pkg/test/framework/components/istio/configmap.go

    		pl, err := c.Kube().CoreV1().Pods(cm.namespace).List(context.TODO(), metav1.ListOptions{LabelSelector: "app=istiod"})
    		if err != nil {
    			return err
    		}
    		for _, pod := range pl.Items {
    			patchBytes := fmt.Sprintf(`{ "metadata": {"annotations": { "test.istio.io/mesh-config-hash": "%s" } } }`, hash(cfgMap.Data["mesh"]))
    			_, err := c.Kube().CoreV1().Pods(cm.namespace).Patch(context.TODO(), pod.Name,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/util/dryrun/dryrun.go

    	return nil
    }
    
    // WaitForPodsWithLabel just returns a dummy nil, to indicate that the program should just proceed
    func (w *Waiter) WaitForPodsWithLabel(kvLabel string) error {
    	fmt.Printf("[dryrun] Would wait for the Pods with the label %q in the %s namespace to become Running\n", kvLabel, metav1.NamespaceSystem)
    	return nil
    }
    
    // WaitForPodToDisappear just returns a dummy nil, to indicate that the program should just proceed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. hack/local-up-cluster.sh

      local interval_time=2
      local coredns_wait_time=300
    
      # kick the coredns pods to be recreated
      ${KUBECTL} --kubeconfig="${CERT_DIR}/admin.kubeconfig" -n kube-system delete pods -l k8s-app=kube-dns
      sleep 30
    
      local coredns_pods_ready="${KUBECTL} --kubeconfig '${CERT_DIR}/admin.kubeconfig' wait --for=condition=Ready --timeout=60s pods -l k8s-app=kube-dns -n kube-system"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 25 02:33:52 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go

    			if inPod.ResourceVersion == currentResourceVersion {
    				continue
    			}
    			// If the patch changed the resource version and it mismatches, conflict
    			return nil, false, apierrors.NewConflict(example.Resource("pods"), inPod.Name, fmt.Errorf("existing %v, new %v", p.updatePod.ResourceVersion, inPod.ResourceVersion))
    		}
    
    		if currentPod == nil {
    			if err := createValidation(ctx, currentPod); err != nil {
    				return nil, false, err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 41.8K bytes
    - Viewed (0)
Back to top