Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 132 for podIps (0.37 sec)

  1. pkg/kube/krt/index_test.go

    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "name",
    			Namespace: "namespace",
    		},
    		Status: corev1.PodStatus{PodIP: "1.2.3.4"},
    	}
    	pc.CreateOrUpdateStatus(pod)
    	tt.WaitUnordered("add/namespace/name")
    	assert.Equal(t, fetchSorted("1.2.3.4"), []SimplePod{{NewNamed(pod), Labeled{}, "1.2.3.4"}})
    
    	pod.Status.PodIP = "1.2.3.5"
    	pc.UpdateStatus(pod)
    	tt.WaitUnordered("update/namespace/name")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. pkg/kube/krt/bench_test.go

    	}
    	c.pods = kclient.New[*v1.Pod](cl)
    	c.services = kclient.New[*v1.Service](cl)
    	c.queue = controllers.NewQueue("pods", controllers.WithReconciler(c.Reconcile))
    	c.pods.AddEventHandler(controllers.ObjectHandler(c.queue.AddObject))
    	c.services.AddEventHandler(controllers.FromEventHandler(func(e controllers.Event) {
    		o := e.Latest()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. pkg/kube/krt/join_test.go

    	}
    	sec.Create(se)
    	assert.EventuallyEqual(t, fetch, []SimpleEndpoint{
    		{pod.Name, se.Name, pod.Namespace, pod.Status.PodIP},
    		{pod2.Name, se.Name, pod2.Namespace, pod2.Status.PodIP},
    		{pod.Name, svc.Name, pod.Namespace, pod.Status.PodIP},
    		{pod2.Name, svc.Name, pod2.Namespace, pod2.Status.PodIP},
    	})
    }
    
    func TestCollectionJoinSync(t *testing.T) {
    	c := kube.NewFakeClient(&corev1.Pod{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 09 19:55:53 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. pkg/test/framework/components/ambient/waypoint.go

    	inbound  istioKube.PortForwarder
    	outbound istioKube.PortForwarder
    	pod      v1.Pod
    }
    
    func (k kubeComponent) Namespace() namespace.Instance {
    	return k.ns
    }
    
    func (k kubeComponent) PodIP() string {
    	return k.pod.Status.PodIP
    }
    
    func (k kubeComponent) Inbound() string {
    	return k.inbound.Address()
    }
    
    func (k kubeComponent) Outbound() string {
    	return k.outbound.Address()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. tools/istio-iptables/pkg/config/config.go

    	b.WriteString(fmt.Sprintf("ENABLE_INBOUND_IPV6=%t\n", c.EnableIPv6))
    	// TODO remove this flag - "dual stack" should just mean
    	// - supports IPv6
    	// - supports pods with more than one podIP
    	// The former already has a flag, the latter is something we should do by default and is a bug where we do not
    	b.WriteString(fmt.Sprintf("DUAL_STACK=%t\n", c.DualStack))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 22:24:38 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/node/v1/types.go

    // RuntimeClass.
    type Scheduling struct {
    	// nodeSelector lists labels that must be present on nodes that support this
    	// RuntimeClass. Pods using this RuntimeClass can only be scheduled to a
    	// node matched by this selector. The RuntimeClass nodeSelector is merged
    	// with a pod's existing nodeSelector. Any conflicts will cause the pod to
    	// be rejected in admission.
    	// +optional
    	// +mapType=atomic
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. pkg/controller/job/backoff_utils.go

    				backoff.lastFailureTime = &failedTime
    			}
    			backoff.failuresAfterLastSuccess += 1
    		}
    
    		return *backoff
    
    	}
    
    }
    
    func sortByFinishedTime(pods []*v1.Pod) {
    	sort.Slice(pods, func(i, j int) bool {
    		p1 := pods[i]
    		p2 := pods[j]
    		p1FinishTime := getFinishedTime(p1)
    		p2FinishTime := getFinishedTime(p2)
    
    		return p1FinishTime.Before(p2FinishTime)
    	})
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 07:46:41 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  8. istioctl/pkg/checkinject/checkinject.go

    			if err != nil {
    				return err
    			}
    			var podName, podNs string
    			var podLabels, nsLabels map[string]string
    			if len(args) == 1 {
    				podName, podNs, err = ctx.InferPodInfoFromTypedResource(args[0], ctx.Namespace())
    				if err != nil {
    					return err
    				}
    				pod, err := kubeClient.Kube().CoreV1().Pods(podNs).Get(context.TODO(), podName, metav1.GetOptions{})
    				if err != nil {
    					return err
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/schedulinggates/scheduling_gates.go

    		return nil
    	}
    	// When the QueueingHint feature is enabled,
    	// the scheduling queue uses Pod/Update Queueing Hint
    	// to determine whether a Pod's update makes the Pod schedulable or not.
    	// https://github.com/kubernetes/kubernetes/pull/122234
    	return []framework.ClusterEventWithHint{
    		// Pods can be more schedulable once it's gates are removed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/options.go

    package nodeagent
    
    import (
    	"net/netip"
    
    	"istio.io/istio/pkg/config/constants"
    	"istio.io/istio/pkg/env"
    )
    
    var (
    	PodNamespace      = env.RegisterStringVar("POD_NAMESPACE", "", "pod's namespace").Get()
    	SystemNamespace   = env.RegisterStringVar("SYSTEM_NAMESPACE", constants.IstioSystemNamespace, "istio system namespace").Get()
    	PodName           = env.RegisterStringVar("POD_NAME", "", "").Get()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top