- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for podMap (0.19 sec)
-
pkg/kubelet/kubelet_pods_test.go
EnableServiceLinks: tc.enableServiceLinks, }, } podIP := "" if len(tc.podIPs) > 0 { podIP = tc.podIPs[0] } if tc.staticPod { testPod.Annotations[kubetypes.ConfigSourceAnnotationKey] = "file" } result, err := kl.makeEnvironmentVariables(testPod, tc.container, podIP, tc.podIPs) select { case e := <-fakeRecorder.Events:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 198.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
_, _, err := registry.Update(testContext, podA.Name, rest.DefaultUpdatedObjectInfo(podA), denyCreateValidation, denyUpdateValidation, false, &metav1.UpdateOptions{}) if !errors.IsNotFound(err) { t.Errorf("Unexpected error: %v", err) } // try to update a non-existing node
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods.go
// Primary IP is not set if s.PodIP == "" { s.PodIP = hostIPs[0].String() s.PodIPs = []v1.PodIP{{IP: s.PodIP}} } // Secondary IP is not set #105320 if len(hostIPs) == 2 && len(s.PodIPs) == 1 { if utilnet.IPFamilyOfString(s.PodIPs[0].IP) != utilnet.IPFamilyOf(hostIPs[1]) { s.PodIPs = append(s.PodIPs, v1.PodIP{IP: hostIPs[1].String()}) } } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 101.2K bytes - Viewed (0) -
operator/cmd/mesh/testdata/manifest-generate/output/pilot_default.golden.yaml
fieldRef: fieldPath: metadata.namespace - name: INSTANCE_IP valueFrom: fieldRef: fieldPath: status.podIP - name: SERVICE_ACCOUNT valueFrom: fieldRef: fieldPath: spec.serviceAccountName - name: HOST_IP valueFrom:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jan 10 05:10:03 UTC 2024 - 102.6K bytes - Viewed (0) -
pkg/printers/internalversion/printers.go
if options.Wide { nodeName := pod.Spec.NodeName nominatedNodeName := pod.Status.NominatedNodeName podIP := "" if len(pod.Status.PodIPs) > 0 { podIP = pod.Status.PodIPs[0].IP } if podIP == "" { podIP = "<none>" } if nodeName == "" { nodeName = "<none>" } if nominatedNodeName == "" { nominatedNodeName = "<none>" }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 128.3K bytes - Viewed (0) -
tests/integration/pilot/common/routing.go
Scheme: scheme.HTTP, Check: check.And( check.OK(), check.RequestHeader("X-Envoy-Attempt-Count", "")), }, }) // PodIP calls will go directly to podIP, bypassing Envoy. No envoy headers added. t.RunTraffic(TrafficTestCase{ name: "to podIP", workloadAgnostic: true, setupOpts: func(srcCaller echo.Caller, opts *echo.CallOptions) { src := srcCaller.(echo.Instance)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 21:52:51 UTC 2024 - 135.9K bytes - Viewed (0) -
pkg/apis/core/zz_generated.deepcopy.go
func (in *PodIP) DeepCopyInto(out *PodIP) { *out = *in return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodIP. func (in *PodIP) DeepCopy() *PodIP { if in == nil { return nil } out := new(PodIP) in.DeepCopyInto(out) return out }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 181.5K bytes - Viewed (0) -
staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go
func (in *PodIP) DeepCopyInto(out *PodIP) { *out = *in return } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodIP. func (in *PodIP) DeepCopy() *PodIP { if in == nil { return nil } out := new(PodIP) in.DeepCopyInto(out) return out }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 181.9K bytes - Viewed (0) -
pkg/printers/internalversion/printers_test.go
condition1 := "condition1" condition2 := "condition2" condition3 := "condition3" tests := []struct { pod api.Pod expect []metav1.TableRow }{ { // Test when the NodeName and PodIP are not none api.Pod{ ObjectMeta: metav1.ObjectMeta{Name: "test1"}, Spec: api.PodSpec{ Containers: make([]api.Container, 2), NodeName: "test1",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K bytes - Viewed (0) -
pkg/proxy/nftables/proxier_test.go
Protocol: ptr.To(v1.ProtocolTCP), }} }), ) fp.syncProxyRules() var podIP, externalClientIP, altNodeIP string if tc.family == v1.IPv4Protocol { podIP = "10.0.0.2" externalClientIP = testExternalClient altNodeIP = testNodeIPAlt } else { podIP = "fd00:10::2" externalClientIP = "2600:5200::1" altNodeIP = testNodeIPv6Alt }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 173.5K bytes - Viewed (0)