- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 56 for podIPs (0.05 sec)
-
cni/pkg/util/podutil.go
var podIPs []netip.Addr if len(pod.Status.PodIPs) != 0 { for _, pip := range pod.Status.PodIPs { ip := netip.MustParseAddr(pip.IP) podIPs = append(podIPs, ip) } } else if len(pod.Status.PodIP) != 0 { ip := netip.MustParseAddr(pod.Status.PodIP) podIPs = append(podIPs, ip) } return podIPs
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 4.7K bytes - Viewed (0) -
cni/pkg/util/podutil_test.go
}, } podIPs := GetPodIPsIfPresent(pod) assert.Equal(t, len(podIPs), 2) } func TestGetPodIPsIfNoPodIPPresent(t *testing.T) { pod := &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "test", Namespace: "test", }, Spec: corev1.PodSpec{ NodeName: "derp", }, Status: corev1.PodStatus{}, } podIPs := GetPodIPsIfPresent(pod) assert.Equal(t, len(podIPs), 0) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 4.9K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher.go
var podIps []netip.Addr for _, configuredPodIPs := range addCmd.IPs { // net.ip is implicitly convertible to netip as slice ip, _ := netip.AddrFromSlice(configuredPodIPs.Address.IP) // We ignore the mask of the IPNet - it's fine if the IPNet defines // a block grant of addresses, we just need one for checking routes. podIps = append(podIps, ip.Unmap()) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Jul 02 18:48:50 UTC 2024 - 6.7K bytes - Viewed (0) -
cni/pkg/nodeagent/net.go
podIptables *iptables.IptablesConfigurator podNs PodNetnsFinder // allow overriding for tests netnsRunner func(fdable NetnsFd, toRun func() error) error } var _ MeshDataplane = &NetServer{} func newNetServer(ztunnelServer ZtunnelServer, podNsMap *podNetnsCache, podIptables *iptables.IptablesConfigurator, podNs PodNetnsFinder) *NetServer { return &NetServer{
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Oct 21 16:48:55 UTC 2024 - 9.1K bytes - Viewed (0) -
common-protos/k8s.io/api/node/v1/generated.proto
// RuntimeClass. message Scheduling { // 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: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 4.4K bytes - Viewed (0) -
common-protos/k8s.io/api/node/v1beta1/generated.proto
// RuntimeClass. message Scheduling { // 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: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 4.4K bytes - Viewed (0) -
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: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 9.3K bytes - Viewed (0) -
common-protos/k8s.io/api/node/v1alpha1/generated.proto
// RuntimeClass. message Scheduling { // 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: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 5K bytes - Viewed (0) -
architecture/ambient/ztunnel-cni-lifecycle.md
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jul 17 23:10:17 UTC 2024 - 9.4K bytes - Viewed (0) -
common-protos/k8s.io/api/storage/v1alpha1/generated.proto
// in future we may allow also inline volumes in pods. // Exactly one member can be set. message VolumeAttachmentSource { // persistentVolumeName represents the name of the persistent volume to attach. // +optional optional string persistentVolumeName = 1; // inlineVolumeSpec contains all the information necessary to attach // a persistent volume defined by a pod's inline VolumeSource. This field
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 9.4K bytes - Viewed (0)