Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for nsb (0.03 sec)

  1. pkg/client/tests/fake_client_test.go

    	}
    
    	_, err = tc.CoreV1().Pods("nsB").Create(context.TODO(), testPod("", "pod-1"), metav1.CreateOptions{})
    	if err != nil {
    		t.Fatalf("Pods.Create nsB/pod-1: %s", err)
    	}
    
    	podB1, err := tc.CoreV1().Pods("nsB").Get(context.TODO(), "pod-1", metav1.GetOptions{})
    	if err != nil {
    		t.Fatalf("Pods.Get nsB/pod-1: %s", err)
    	}
    	if podB1 == nil {
    		t.Fatalf("Expected to find pod nsB/pod-1 but it wasn't found")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 08 17:30:21 UTC 2020
    - 5.6K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/namespacecontroller_test.go

    		constants.CACertNamespaceConfigMapDataName: string(caBundle),
    	}
    
    	nsA := "nsA"
    	nsB := "nsB"
    
    	// Create a namespace with discovery selector enabled
    	createNamespace(t, client.Kube(), nsA, map[string]string{"discovery-selectors": "enabled"})
    	// Create a namespace without discovery selector enabled
    	createNamespace(t, client.Kube(), nsB, map[string]string{})
    	expectConfigMap(t, nc.configmaps, CACertNamespaceConfigMap, nsA, expectedData)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 15:07:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. hack/testdata/prune/b.yaml

    apiVersion: v1
    kind: Pod
    metadata:
      name: b
      namespace: nsb
      labels:
        prune-group: "true"
    spec:
      containers:
      - name: kubernetes-pause
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 31 14:16:53 UTC 2022
    - 180 bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/controller_test.go

    		controller,
    	)
    
    	// namespace nsB, nsC deselected
    	fx.AssertEmpty(t, 0)
    
    	// create vs1 in nsA
    	createVirtualService(controller, "vs1", nsA, map[string]string{}, t)
    
    	// create vs1 in nsB
    	createVirtualService(controller, "vs2", nsB, map[string]string{}, t)
    
    	// expand namespaces to nsA and nsB with selectors (expect events svc3 and a full push event for nsB selected)
    	updateMeshConfig(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 85K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/kube/controller/pod_test.go

    // standalone apiserver.
    func initTestEnv(t *testing.T, ki kubernetes.Interface, fx *xdsfake.Updater) {
    	cleanup(ki)
    	for _, n := range []string{"nsa", "nsb"} {
    		_, err := ki.CoreV1().Namespaces().Create(context.TODO(), &v1.Namespace{
    			ObjectMeta: metav1.ObjectMeta{
    				Name: n,
    				Labels: map[string]string{
    					"istio-injection": "enabled",
    				},
    			},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 18:27:40 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top