Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CreatePod (0.11 sec)

  1. pilot/pkg/xds/workload_test.go

    		})
    		ads.ExpectEmptyResponse()
    
    		// Create pod, due to wildcard subscribe we should receive it
    		createPod(s, "pod", "sa", "127.0.0.1", "not-node")
    		expect(ads.ExpectResponse(), "Kubernetes//Pod/default/pod")
    
    		// A new pod should push only that one
    		createPod(s, "pod2", "sa", "127.0.0.2", "node")
    		expect(ads.ExpectResponse(), "Kubernetes//Pod/default/pod2")
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/pod_test.go

    	})
    	initTestEnv(t, c.client.Kube(), fx)
    	createPod := func(ip, name string) {
    		addPods(t, c, fx, generatePod(ip, name, "ns", "1", "", map[string]string{}, map[string]string{}))
    	}
    
    	createPod("128.0.0.1", "pod1")
    	assert.Equal(t, c.pods.getPodKeys("128.0.0.1"), []types.NamespacedName{{Name: "pod1", Namespace: "ns"}})
    	events.WaitOrdered("pod1/add", "pod1/update")
    	createPod("128.0.0.1", "pod2")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 18:27:40 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. pkg/controller/statefulset/stateful_pod_control.go

    // with a clientset for writes and listers for reads; for tests we provide stubs.
    type StatefulPodControlObjectManager interface {
    	CreatePod(ctx context.Context, pod *v1.Pod) error
    	GetPod(namespace, podName string) (*v1.Pod, error)
    	UpdatePod(pod *v1.Pod) error
    	DeletePod(pod *v1.Pod) error
    	CreateClaim(claim *v1.PersistentVolumeClaim) error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 14.9K bytes
    - Viewed (0)
Back to top