Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 3,869 for nAmespace (0.66 sec)

  1. cni/pkg/nodeagent/informers.go

    	if matchAmbient {
    		log.Infof("Namespace %s is enabled in ambient mesh", namespace)
    	} else {
    		log.Infof("Namespace %s is disabled from ambient mesh", namespace)
    	}
    	for _, pod := range s.pods.List(namespace, klabels.Everything()) {
    		// ztunnel pods are never "added to/removed from the mesh", so do not fire
    		// spurious events for them to avoid triggering extra
    		// ztunnel node reconciliation checks.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:35 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. plugin/pkg/admission/podnodeselector/admission_test.go

    )
    
    // TestPodAdmission verifies various scenarios involving pod/namespace/global node label selectors
    func TestPodAdmission(t *testing.T) {
    	namespace := &corev1.Namespace{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "testNamespace",
    			Namespace: "",
    		},
    	}
    
    	mockClient := fake.NewSimpleClientset(namespace)
    	handler, informerFactory, err := newHandlerForTest(mockClient)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/resource_access_test.go

    			for _, q := range quotas {
    				if q.Namespace != testNamespace2 {
    					t.Errorf("Expected %s namespace, got %s", testNamespace2, q.Namespace)
    				}
    			}
    		}()
    	}
    
    	// and here we wait for all the goroutines
    	wg.Wait()
    	// since all the calls with the same namespace will be held, they must
    	// be caught on the singleflight group. there are two different sets of
    	// namespace calls hence only 2.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 13:54:56 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. pilot/pkg/config/kube/gateway/testdata/zero.yaml

          namespaces:
            from: All
    ---
    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: http
      namespace: default
    spec:
      parentRefs:
      - name: gateway
        namespace: istio-system
      hostnames: ["first.domain.example"]
      rules:
      - matches:
        - path:
            type: PathPrefix
            value: /get
        backendRefs:
          - name: httpbin-zero
            port: 8080
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 18 22:43:39 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. istioctl/pkg/describe/describe_test.go

    			client.Istio().NetworkingV1alpha3().DestinationRules(t.Namespace).Create(context.TODO(), t, metav1.CreateOptions{})
    		case *v1alpha3.Gateway:
    			client.Istio().NetworkingV1alpha3().Gateways(t.Namespace).Create(context.TODO(), t, metav1.CreateOptions{})
    		case *v1alpha3.VirtualService:
    			client.Istio().NetworkingV1alpha3().VirtualServices(t.Namespace).Create(context.TODO(), t, metav1.CreateOptions{})
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 09:54:01 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  6. pkg/kube/krt/collection_test.go

    	tt.WaitUnordered("add/namespace/name")
    
    	pc.Delete(pod.Name, pod.Namespace)
    	assert.EventuallyEqual(t, fetcherSorted(SimplePods), nil)
    	tt.WaitUnordered("delete/namespace/name")
    }
    
    func TestCollectionInitialState(t *testing.T) {
    	c := kube.NewFakeClient(
    		&corev1.Pod{
    			ObjectMeta: metav1.ObjectMeta{
    				Name:      "pod",
    				Namespace: "namespace",
    				Labels:    map[string]string{"app": "foo"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/testdata/injection-image-distroless-no-meshconfig.yaml

    apiVersion: v1
    kind: Namespace
    metadata:
      labels:
        istio-injection: enabled
      name: ns-override
    ---
    apiVersion: v1
    kind: Namespace
    metadata:
      labels:
        istio-injection: enabled
      name: workload-override
    ---
    # ProxyConfig for root namespace
    apiVersion: networking.istio.io/v1beta1
    kind: ProxyConfig
    metadata:
      name: valid-example-pc
      namespace: istio-system
    ---
    # ProxyConfig for ns-override namespace
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 12 15:31:54 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  8. pilot/pkg/model/authorization_test.go

    			selectionOpts: WorkloadPolicyMatcher{
    				Namespace: "istio-config",
    			},
    			configs: []config.Config{
    				newConfig("authz-1", "istio-config", policy),
    			},
    			wantAllow: []AuthorizationPolicy{
    				{
    					Name:      "authz-1",
    					Namespace: "istio-config",
    					Spec:      policy,
    				},
    			},
    		},
    		{
    			name: "root namespace and config namespace",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. plugin/pkg/admission/podtolerationrestriction/admission_test.go

    		t.Errorf("error in marshalling namespace tolerations %v", namespaceTolerations)
    	}
    	namespace := &corev1.Namespace{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "testNamespace",
    			Namespace: "",
    		},
    	}
    	namespace.Annotations = map[string]string{NSDefaultTolerations: string(tolerationsStr)}
    	err = informerFactory.Core().V1().Namespaces().Informer().GetStore().Update(namespace)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 16K bytes
    - Viewed (0)
  10. pkg/config/analysis/analyzers/testdata/multicluster/inconsistent-service-1.yaml

    apiVersion: v1
    kind: Service
    metadata:
      name: my-service
      namespace: my-namespace
    spec:
      selector:
        app: my-service
      ports:
      - name: tcp-foo
        protocol: TCP
        port: 8080
        targetPort: 8080
    ---
    # Service with extra port in cluster2, should generate warning.
    apiVersion: v1
    kind: Service
    metadata:
      name: extra-port
      namespace: my-namespace
    spec:
      selector:
        app: my-service
      ports:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top