Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,540 for namespace_b (0.28 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/watch_tracker_test.go

    			name:     "mypod deletion in foo namespace",
    			request:  httpRequest("DELETE", "/api/v1/namespaces/foo/pods/mypod", ""),
    			expected: 3,
    		},
    		{
    			name:     "otherpod update in foo namespace",
    			request:  httpRequest("PUT", "/api/v1/namespaces/foo/pods/otherpod", ""),
    			expected: 2,
    		},
    		{
    			name:     "mypod get in foo namespace",
    			request:  httpRequest("GET", "/api/v1/namespaces/foo/pods/mypod", ""),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 03 14:02:51 UTC 2021
    - 10.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook_test.go

    }
    
    func BenchmarkShouldCallHookWithComplexSelector(b *testing.B) {
    	allScopes := v1.AllScopes
    	equivalentMatch := v1.Equivalent
    
    	namespace1Labels := map[string]string{"ns": "ns1"}
    	namespace1 := corev1.Namespace{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:   "ns1",
    			Labels: namespace1Labels,
    		},
    	}
    	namespaceLister := fakeNamespaceLister{map[string]*corev1.Namespace{"ns": &namespace1}}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 28 19:30:04 UTC 2023
    - 32K bytes
    - Viewed (0)
  3. releasenotes/notes/pilot-discovery-scoped-namespaces.yaml

    # releaseNotes is a markdown listing of any user facing changes. This will appear in the
    # release notes.
    releaseNotes:
    - |
      **Added** Specify `meshConfig.discoverySelectors` to dynamically restrict the set of namespaces for Services, Pods, and Endpoints that istiod processes when pushing xDS updates to improve performance on the data plane.
    
    # upgradeNotes is a markdown listing of any changes that will affect the upgrade
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 09 19:34:37 UTC 2021
    - 904 bytes
    - Viewed (0)
  4. hack/testdata/CRD/example-crd-1-namespaced.yaml

    apiVersion: apiextensions.k8s.io/v1
    kind: CustomResourceDefinition
    metadata:
      name: examples.test.com
    spec:
      group: test.com
      scope: Namespaced
      versions:
        - name: v1
          served: true
          storage: true
          schema:
            openAPIV3Schema:
              type: object
              properties:
                spec:
                  type: object
                  properties:
                    test:
                      type: string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 26 06:01:46 UTC 2022
    - 491 bytes
    - Viewed (0)
  5. istioctl/pkg/waypoint/waypoint.go

    }
    
    func getNamespace(kubeClient kube.CLIClient, ns string) (*corev1.Namespace, error) {
    	nsObj, err := kubeClient.Kube().CoreV1().Namespaces().Get(context.Background(), ns, metav1.GetOptions{})
    	if errors.IsNotFound(err) {
    		return nil, fmt.Errorf("namespace: %s not found", ns)
    	} else if err != nil {
    		return nil, fmt.Errorf("failed to get namespace %s: %v", ns, err)
    	}
    	return nsObj, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. plugin/pkg/admission/namespace/exists/admission_test.go

    				ObjectMeta: metav1.ObjectMeta{
    					Name:            ns,
    					ResourceVersion: fmt.Sprintf("%d", i),
    				},
    			})
    		}
    		return true, namespaceList, nil
    	})
    	return mockClient
    }
    
    // newPod returns a new pod for the specified namespace
    func newPod(namespace string) api.Pod {
    	return api.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: "123", Namespace: namespace},
    		Spec: api.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/gateway/testdata/tls.yaml

        port: 34000
        protocol: HTTPS
        allowedRoutes:
          namespaces:
            from: All
        tls:
          mode: Terminate
          options:
            gateway.istio.io/tls-terminate-mode: ISTIO_MUTUAL
    ---
    apiVersion: gateway.networking.k8s.io/v1alpha2
    kind: TLSRoute
    metadata:
      name: tls
      namespace: default
    spec:
      parentRefs:
      - name: gateway
        namespace: istio-system
      rules:
      - backendRefs:
        - name: httpbin
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 01 20:54:36 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. tests/integration/security/policy_attachment_only/main_test.go

    `
    			}
    		})).
    		// Create namespaces first. This way, echo can correctly configure egress to all namespaces.
    		SetupParallel(
    			namespace.Setup(&echo1NS, namespace.Config{Prefix: "echo1", Inject: true}),
    			namespace.Setup(&serverNS, namespace.Config{Prefix: "servers", Inject: true}),
    		).
    		SetupParallel(
    			jwt.Setup(&jwtServer, namespace.Future(&serverNS)),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 01:47:52 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. pilot/pkg/networking/telemetry/telemetry_test.go

    				Name:            "reviews",
    				Namespace:       "namespace1",
    			},
    			"reviews.namespace1",
    		},
    		{
    			"Service with port pattern from different namespace",
    			"%SERVICE%.%SERVICE_PORT%",
    			"reviews.namespace1.svc.cluster.local",
    			"",
    			0,
    			&model.Port{Name: "grpc-svc", Port: 7443, Protocol: "GRPC"},
    			&model.ServiceAttributes{
    				ServiceRegistry: provider.Kubernetes,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 25 02:38:43 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/cli-runtime/pkg/resource/visitor.go

    		}
    		if len(info.Namespace) == 0 {
    			info.Namespace = namespace
    			UpdateObjectNamespace(info, nil)
    			return nil
    		}
    		if info.Namespace != namespace {
    			return fmt.Errorf("the namespace from the provided object %q does not match the namespace %q. You must pass '--namespace=%s' to perform this operation.", info.Namespace, namespace, info.Namespace)
    		}
    		return nil
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 10:17:56 UTC 2023
    - 21.3K bytes
    - Viewed (0)
Back to top