Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for pod12 (0.04 sec)

  1. hack/testdata/sorted-pods/sorted-pod1.yaml

    apiVersion: v1
    kind: Pod
    metadata:
      name: sorted-pod1
      creationTimestamp: "2018-08-30T14:10:58Z"
      labels:
        name: sorted-pod3-label
    spec:
      containers:
      - name: kubernetes-pause2
        image: registry.k8s.io/pause:3.10
        resources:
          requests:
            memory: "64Mi"
            cpu: "250m"
          limits:
            memory: "128Mi"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 355 bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. hack/testdata/sorted-pods/sorted-pod2.yaml

    apiVersion: v1
    kind: Pod
    metadata:
      name: sorted-pod2
      creationTimestamp: "2018-08-30T14:10:55Z"
      labels:
        name: sorted-pod2-label
    spec:
      containers:
      - name: kubernetes-pause1
        image: registry.k8s.io/pause:3.10
        resources:
          requests:
            memory: "1G"
            cpu: "0.5"
          limits:
            memory: "2G"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 24 07:02:51 UTC 2024
    - 347 bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top