- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,389 for podIps (0.17 sec)
-
pkg/kubelet/kuberuntime/kuberuntime_sandbox.go
return nil } podIPs = append(podIPs, podSandbox.Network.Ip) } // pick additional ips, if cri reported them for _, podIP := range podSandbox.Network.AdditionalIps { if nil == netutils.ParseIPSloppy(podIP.Ip) { klog.InfoS("Pod Sandbox reported an unparseable additional IP", "pod", klog.KRef(podNamespace, podName), "IP", podIP.Ip) return nil } podIPs = append(podIPs, podIP.Ip) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 13.6K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/podstatus.go
HostIPs []HostIPApplyConfiguration `json:"hostIPs,omitempty"` PodIP *string `json:"podIP,omitempty"` PodIPs []PodIPApplyConfiguration `json:"podIPs,omitempty"` StartTime *metav1.Time `json:"startTime,omitempty"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 14 01:43:16 UTC 2023 - 10.5K bytes - Viewed (0) -
pkg/registry/core/pod/storage/storage_test.go
}{ { pod: api.Pod{ ObjectMeta: metav1.ObjectMeta{Name: "foo"}, Status: api.PodStatus{PodIPs: []api.PodIP{{IP: expectedIP}}}, }, query: "foo", location: expectedIP, }, { pod: api.Pod{ ObjectMeta: metav1.ObjectMeta{Name: "foo"}, Status: api.PodStatus{PodIPs: []api.PodIP{{IP: expectedIP}}}, }, query: "foo:12345", location: expectedIP + ":12345", }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 07:18:44 UTC 2024 - 38.8K bytes - Viewed (0) -
pkg/kubelet/config/common_test.go
}}, SecurityContext: &v1.PodSecurityContext{}, SchedulerName: v1.DefaultSchedulerName, EnableServiceLinks: &enableServiceLinks, }, Status: v1.PodStatus{ PodIP: "1.2.3.4", PodIPs: []v1.PodIP{ { IP: "1.2.3.4", }, }, }, } json, err := runtime.Encode(clientscheme.Codecs.LegacyCodec(v1.SchemeGroupVersion), pod) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 18:40:48 UTC 2023 - 8.7K 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) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 21:31:35 UTC 2024 - 6.7K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager.go
// instead of trying to figure out if we have 0 < len(podIPs) // everytime, we short circuit it here podIP := "" if len(podIPs) != 0 { podIP = podIPs[0] } // Get podSandboxConfig for containers to start. configPodSandboxResult := kubecontainer.NewSyncResult(kubecontainer.ConfigPodSandbox, podSandboxID) result.AddSyncResult(configPodSandboxResult)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 02:01:31 UTC 2024 - 64.7K bytes - Viewed (0) -
pilot/pkg/controllers/untaint/nodeuntainter_test.go
pod.Status = corev1.PodStatus{} newPod := s.pc.Create(pod) if markReady { setPodReady(newPod) } newPod.Status.PodIP = ip newPod.Status.Phase = corev1.PodRunning newPod.Status.PodIPs = []corev1.PodIP{ { IP: ip, }, } s.pc.UpdateStatus(newPod) } else { s.pc.Update(pod) } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 00:50:31 UTC 2024 - 6.1K bytes - Viewed (0) -
cni/pkg/nodeagent/server.go
return s.netServer.ConstructInitialSnapshot(ambientPods) } func (s *meshDataplane) AddPodToMesh(ctx context.Context, pod *corev1.Pod, podIPs []netip.Addr, netNs string) error { var retErr error err := s.netServer.AddPodToMesh(ctx, pod, podIPs, netNs) if err != nil { log.Errorf("failed to add pod to ztunnel: %v", err) if !errors.Is(err, ErrPartialAdd) { return err } retErr = err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 21:45:18 UTC 2024 - 7.2K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
// the CNI plugin chain, and have a PodIP. // // If PodIPs exists, it is preferred, otherwise fallback to PodIP. // // If we get to this point and have a pod that really and truly has no IP in either of those, // it's not routable at this point and something is wrong/we should discard this event. podIPs := util.GetPodIPsIfPresent(pod) if len(podIPs) == 0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 21:31:35 UTC 2024 - 11.8K bytes - Viewed (0) -
pkg/controller/endpointslice/endpointslice_controller_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 08:33:32 UTC 2024 - 65.5K bytes - Viewed (0)