Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for cpod2 (0.08 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/syscall/exec_unix_test.go

    	}
    	cmd2.Start()
    	defer cmd2.Stop()
    
    	cpid2, cpgrp2 := cmd2.Info()
    
    	if cpid2 == ppid {
    		t.Fatalf("Parent and child 2 have the same process ID")
    	}
    
    	if cpgrp2 == ppgrp {
    		t.Fatalf("Parent and child 2 are in the same process group")
    	}
    
    	if cpid2 == cpgrp2 {
    		t.Fatalf("Child 2's process group is its process ID")
    	}
    
    	if cpid1 == cpid2 {
    		t.Fatalf("Child 1 and 2 have the same process ID")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 04:41:27 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. 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