- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for pod12 (0.04 sec)
-
hack/testdata/sorted-pods/sorted-pod1.yaml
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 24 07:02:51 UTC 2024 - 355 bytes - Viewed (0) -
pkg/kube/kclient/index_test.go
c.Kube().CoreV1().Pods("ns").Create(context.Background(), pod1, metav1.CreateOptions{}) assertIndex(k1, pod1) assertIndex(k2) // Create another pod; we ought to find it as well now. c.Kube().CoreV1().Pods("ns").Create(context.Background(), pod2, metav1.CreateOptions{}) assertIndex(k1, pod1) // Original one must still persist assertIndex(k2, pod2) // New one should be there, eventually
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 04 03:49:30 UTC 2023 - 5.7K bytes - Viewed (0) -
pkg/volume/local/local_linux_test.go
fsGroup1 := int64(s.Gid) fsGroup2 := fsGroup1 + 1 pod1 := &v1.Pod{ObjectMeta: metav1.ObjectMeta{UID: types.UID("poduid")}} pod1.Spec.SecurityContext = &v1.PodSecurityContext{ FSGroup: &fsGroup1, } pod2 := &v1.Pod{ObjectMeta: metav1.ObjectMeta{UID: types.UID("poduid")}} pod2.Spec.SecurityContext = &v1.PodSecurityContext{ FSGroup: &fsGroup2, } err = testFSGroupMount(plug, pod1, tmpDir, fsGroup1) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 2K bytes - Viewed (0) -
hack/testdata/sorted-pods/sorted-pod2.yaml
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 24 07:02:51 UTC 2024 - 347 bytes - Viewed (0) -
pkg/kube/krt/join_test.go
{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{ ObjectMeta: metav1.ObjectMeta{ Name: "name", Namespace: "namespace", Labels: map[string]string{"app": "foo"}, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 09 19:55:53 UTC 2024 - 6.1K bytes - Viewed (0) -
pkg/kube/krt/index_test.go
pod2 := &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "name2", Namespace: "namespace", }, Status: corev1.PodStatus{PodIP: "1.2.3.5"}, } pc.CreateOrUpdateStatus(pod2) tt.WaitUnordered("add/namespace/name2") assert.Equal(t, fetchSorted("1.2.3.5"), []SimplePod{ {NewNamed(pod), Labeled{}, "1.2.3.5"}, {NewNamed(pod2), Labeled{}, "1.2.3.5"}, })
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 09 19:55:53 UTC 2024 - 4.5K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/util_test.go
proxy: &model.Proxy{ ID: "pod1.ns1", Metadata: &model.NodeMetadata{ Namespace: "default", }, }, }, { name: "invalid id: namespace mismatch", proxy: &model.Proxy{ ID: "pod1.ns1", Metadata: &model.NodeMetadata{ Namespace: "ns1", }, }, expectedKey: types.NamespacedName{Namespace: "ns1", Name: "pod1"}, }, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 21 20:45:12 UTC 2023 - 5K bytes - Viewed (0) -
pkg/client/tests/fake_client_test.go
} } pod1, err := tc.CoreV1().Pods("nsA").Get(context.TODO(), "pod-1", metav1.GetOptions{}) if err != nil { t.Fatalf("Pods.Get: %s", err) } if pod1 == nil { t.Fatalf("Expected to find pod nsA/pod-1 but it wasn't found") } if pod1.Namespace != "nsA" || pod1.Name != "pod-1" { t.Fatalf("Expected to find pod nsA/pod-1t, got %s/%s", pod1.Namespace, pod1.Name) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Feb 08 17:30:21 UTC 2020 - 5.6K bytes - Viewed (0) -
pkg/istio-agent/testdata/grpc-bootstrap.json
"channel_creds": [ { "type": "insecure" } ], "server_features": [ "xds_v3" ] } ], "node": { "id": "sidecar~127.0.0.1~pod1.fake-namespace~fake-namespace.svc.cluster.local", "metadata": { "GENERATOR": "grpc", "INSTANCE_IPS": "127.0.0.1", "ISTIO_VERSION": "version", "PILOT_SAN": [ "istiod.istio-system.svc"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Feb 27 16:55:16 UTC 2024 - 957 bytes - Viewed (0) -
cni/pkg/nodeagent/ztunnelserver_test.go
ztunnelServer := fixture.ztunServer errChan := make(chan error) pod2, ns2 := podAndNetns() go func() { errChan <- ztunnelServer.PodAdded(ctx, pod2, ns2) }() // read the msg to delete from ztunnel m, fds = readRequest(t, ztunClient) assert.Equal(t, len(fds), 1) assert.Equal(t, m.Payload.(*zdsapi.WorkloadRequest_Add).Add.Uid, string(pod2.UID)) sendAck(ztunClient) assert.NoError(t, <-errChan)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 21:47:31 UTC 2024 - 8.6K bytes - Viewed (0)