Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 140 for podIPs (0.1 sec)

  1. cni/pkg/nodeagent/net_test.go

    	if v6IP {
    		podStatus = corev1.PodStatus{
    			PodIP:  "e9ac:1e77:90ca:399f:4d6d:ece2:2f9b:3164",
    			PodIPs: []corev1.PodIP{{IP: "e9ac:1e77:90ca:399f:4d6d:ece2:2f9b:3164"}, {IP: "e9ac:1e77:90ca:399f:4d6d:ece2:2f9b:3165"}},
    		}
    	} else {
    		podStatus = corev1.PodStatus{
    			PodIP:  "2.2.2.2",
    			PodIPs: []corev1.PodIP{{IP: "2.2.2.2"}, {IP: "3.3.3.3"}},
    		}
    	}
    
    	return &corev1.Pod{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jul 25 16:13:38 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/server_test.go

    		"foo-v6",
    		netip.MustParseAddr("e9ac:1e77:90ca:399f:4d6d:ece2:2f9b:3165"),
    		ipProto,
    		podUID,
    		false,
    	).Return(nil)
    
    	podIPs := []netip.Addr{netip.MustParseAddr(pod.Status.PodIPs[0].IP), netip.MustParseAddr(pod.Status.PodIPs[1].IP)}
    	_, err := m.addPodToHostNSIpset(pod, podIPs)
    	assert.NoError(t, err)
    
    	fakeIPSetDeps.AssertExpectations(t)
    }
    
    func TestMeshDataplaneAddPodToHostNSIPSetsDualstack(t *testing.T) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/server.go

    	for _, pod := range ambientPods {
    		podIPs := util.GetPodIPsIfPresent(pod)
    		if len(podIPs) == 0 {
    			log.Warnf("pod %s does not appear to have any assigned IPs, not syncing with ipset", pod.Name)
    		} else {
    			addedIps, err := s.addPodToHostNSIpset(pod, podIPs)
    			if err != nil {
    				log.Errorf("pod %s has IP collision, pod will be skipped and will fail healthchecks", pod.Name, podIPs)
    			}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Sep 25 20:54:34 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/informers.go

    		}
    
    		// Exclude ztunnels, and terminated daemonset pods
    		// from the snapshot.
    		if !util.IsZtunnelPod(s.systemNamespace, pod) &&
    			!kube.CheckPodTerminal(pod) &&
    			util.PodRedirectionActive(pod) {
    			pods = append(pods, pod)
    		}
    	}
    	return pods
    }
    
    // EnqueueNamespace takes a Namespace and enqueues all Pod objects that make need an update
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/informers_test.go

    	handlers := setupHandlers(ctx, client, server, "istio-system")
    	client.RunAndWait(ctx.Done())
    	pods := handlers.GetActiveAmbientPodSnapshot()
    
    	// Should only return pods with the annotation indicating they are actually redirected at this time,
    	// not pods that are just scheduled to be enrolled.
    	assert.Equal(t, len(pods), 1)
    	assert.Equal(t, pods[0], redirectedNotEnrolled)
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  6. 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)
  7. cni/pkg/repair/repaircontroller.go

    	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.
    	_, err := c.client.Kube().CoreV1().Pods(pod.Namespace).Patch(context.Background(), pod.Name, types.MergePatchType,
    		[]byte(patchBytes), metav1.PatchOptions{}, "status")
    	if err != nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Feb 10 00:31:55 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/batch/v1/generated.proto

      optional string completionMode = 9;
    
      // suspend specifies whether the Job controller should create Pods or not. If
      // a Job is created with suspend set to true, no Pods are created by the Job
      // controller. If a Job is suspended after creation (i.e. the flag goes from
      // false to true), the Job controller will delete all active Pods associated
      // with this Job. Users must design their workload to gracefully handle this.
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.2.md

    Jobs (instead of Pods) by default.
      * Pods can now consume Secret data in environment variables and inject those
    environment variables into a container’s command-line args.
      * Stable version of Heapster which scales up to 1000 nodes: more metrics, reduced
    latency, reduced cpu/memory consumption (~4mb per monitored node).
      * Pods now have a security context which allows users to specify:
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Fri Dec 04 06:36:19 UTC 2020
    - 41.4K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/networking/v1/generated.proto

    message NetworkPolicyPeer {
      // podSelector is a label selector which selects pods. This field follows standard label
      // selector semantics; if present but empty, it selects all pods.
      //
      // If namespaceSelector is also set, then the NetworkPolicyPeer as a whole selects
      // the pods matching podSelector in the Namespaces selected by NamespaceSelector.
      // Otherwise it selects the pods matching podSelector in the policy's own namespace.
      // +optional
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 25.2K bytes
    - Viewed (0)
Back to top