Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 394 for pods (0.03 sec)

  1. cni/pkg/nodeagent/ztunnelserver_test.go

    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	pods := &fakePodCache{}
    
    	pod, f := podAndNetns()
    	f.Close()
    	pods.pods = map[string]WorkloadInfo{
    		string(pod.UID): {}, // simulate unknown netns
    	}
    
    	fixture := connectWithPods(ctx, pods)
    	ztunClient := fixture.ztunClient
    	// read initial pod add
    	keep, fds := readRequest(t, ztunClient)
    	assert.Equal(t, len(fds), 0)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. cni/pkg/repair/repaircontroller.go

    		return nil
    	}
    
    	repairLog.Infof("Labeling pod %s/%s with label %s=%s", pod.Namespace, pod.Name, c.cfg.LabelKey, c.cfg.LabelValue)
    
    	patchBytes := fmt.Sprintf(`{"metadata":{"labels":{%q:%q}}}`, c.cfg.LabelKey, c.cfg.LabelValue)
    	// Both "pods" and "pods/status" can mutate the metadata. However, pods/status is lower privilege, so we use that instead.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/apps/v1beta2/generated.proto

      // pod-1, etc) and the controller will wait until each pod is ready before
      // continuing. When scaling down, the pods are removed in the opposite order.
      // The alternative policy is `Parallel` which will create pods in parallel
      // to match the desired scale without waiting, and on scale down will delete
      // all pods at once.
      // +optional
      optional string podManagementPolicy = 6;
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/autoscaling/v2beta1/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: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

      // that should be running the daemon pod (i.e. status.desiredNumberScheduled)
      // can have their pods stopped for an update at any given time. The update
      // starts by stopping at most 30% of those DaemonSet pods and then brings
      // up new DaemonSet pods in their place. Once the new pods are available,
      // it then proceeds onto other DaemonSet pods, thus ensuring that at least
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/autoscaling/v2/generated.proto

      //   * increase no more than 4 pods per 60 seconds
      //   * double the number of pods per 60 seconds
      // No stabilization is used.
      // +optional
      optional HPAScalingRules scaleUp = 1;
    
      // scaleDown is scaling policy for scaling Down.
      // If not set, the default value is to allow to scale down to minReplicas pods, with a
      // 300 second stabilization window (i.e., the highest recommendation for
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  7. istioctl/pkg/dashboard/dashboard_test.go

    			WantException:  true,
    		},
    		{ // case 12
    			Args:           strings.Split("envoy --browser=false --selector app=example pod-123456-7890", " "),
    			ExpectedRegexp: regexp.MustCompile(".*Error: name cannot be provided when a selector is specified"),
    			WantException:  true,
    		},
    		{ // case 13
    			Args:           strings.Split("--browser=false controlz --selector app=example", " "),
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Nov 21 01:17:24 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/policy/v1beta1/generated.proto

      // A null selector selects no pods.
      // An empty selector ({}) also selects no pods, which differs from standard behavior of selecting all pods.
      // In policy/v1, an empty selector will select all pods in the namespace.
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
    
      // An eviction is allowed if at most "maxUnavailable" pods selected by
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/apps/v1/generated.proto

      // pod-1, etc) and the controller will wait until each pod is ready before
      // continuing. When scaling down, the pods are removed in the opposite order.
      // The alternative policy is `Parallel` which will create pods in parallel
      // to match the desired scale without waiting, and on scale down will delete
      // all pods at once.
      // +optional
      optional string podManagementPolicy = 6;
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/informers.go

    func (s *InformerHandlers) GetActiveAmbientPodSnapshot() []*corev1.Pod {
    	var pods []*corev1.Pod
    	for _, pod := range s.pods.List(metav1.NamespaceAll, klabels.Everything()) {
    		ns := s.namespaces.Get(pod.Namespace, "")
    		if ns == nil {
    			log.Warnf("failed to find namespace %s for pod %s", pod.Namespace, pod.Name)
    		}
    
    		// Exclude ztunnels, and terminated daemonset pods
    		// from the snapshot.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top