Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,968 for nameslice (0.17 sec)

  1. istioctl/pkg/injector/injector-list.go

    func printNS(writer io.Writer, namespaces []corev1.Namespace, hooks []admitv1.MutatingWebhookConfiguration,
    	allPods map[resource.Namespace][]corev1.Pod,
    ) error {
    	outputCount := 0
    
    	w := new(tabwriter.Writer).Init(writer, 0, 8, 1, ' ', 0)
    	for _, namespace := range namespaces {
    		revision := getInjectedRevision(&namespace, hooks)
    		podCount := podCountByRevision(allPods[resource.Namespace(namespace.Name)], revision)
    		if len(podCount) == 0 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jan 04 03:08:06 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. pilot/pkg/config/kube/gateway/testdata/reference-policy-service.yaml

    metadata:
      name: allow-service
      namespace: service
    spec:
      from:
      - group: gateway.networking.k8s.io
        kind: HTTPRoute
        namespace: istio-system
      to:
      - group: ""
        kind: Service
        name: my-svc
    ---
    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: http
      namespace: istio-system
    spec:
      parentRefs:
      - name: gateway
        namespace: istio-system
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 18 22:43:39 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. istioctl/pkg/waypoint/waypoint.go

    				return fmt.Errorf("failed to create Kubernetes client: %v", err)
    			}
    			ns := ctx.NamespaceOrDefault(ctx.Namespace())
    			// If a user decides to enroll their namespace with a waypoint, verify that they have labeled their namespace as ambient.
    			// If they don't, the user will be warned and be presented with the command to label their namespace as ambient if they
    			// choose to do so.
    			//
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/gateway/testdata/invalid.yaml

    metadata:
      name: invalid-backendRef-kind
      namespace: default
    spec:
      parentRefs:
      - name: gateway
        namespace: istio-system
      hostnames: ["first.domain.example"]
      rules:
      - backendRefs:
        - name: httpbin
          kind: GcsBucket
    ---
    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: invalid-backendRef-notfound
      namespace: default
    spec:
      parentRefs:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 18 22:43:39 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  8. pkg/config/resource/name.go

    type FullName struct {
    	Namespace Namespace
    	Name      LocalName
    }
    
    // String interface implementation.
    func (n FullName) String() string {
    	if len(n.Namespace) == 0 {
    		return string(n.Name)
    	}
    	return string(n.Namespace) + "/" + string(n.Name)
    }
    
    // NewShortOrFullName tries to parse the given name to resource.Name. If the name does not include namespace information,
    // the defaultNamespace is used.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Sep 14 13:55:49 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  9. pilot/pkg/config/kube/gateway/testdata/route-binding.yaml.golden

        internal.istio.io/parents: HTTPRoute/same-namespace-valid.istio-system
        internal.istio.io/route-semantics: gateway
      creationTimestamp: null
      name: same-namespace-valid-0-istio-autogenerated-k8s-gateway
      namespace: istio-system
    spec:
      gateways:
      - istio-system/gateway-istio-autogenerated-k8s-gateway-same-namespace
      hosts:
      - '*'
      http:
      - name: istio-system.same-namespace-valid.0
        route:
        - destination:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 11 20:21:53 UTC 2023
    - 16.1K bytes
    - Viewed (0)
  10. istioctl/pkg/cli/option.go

    		"Istio system namespace")
    	return r
    }
    
    // Namespace returns the namespace flag value.
    func (r *RootFlags) Namespace() string {
    	return *r.namespace
    }
    
    // IstioNamespace returns the istioNamespace flag value.
    func (r *RootFlags) IstioNamespace() string {
    	return *r.istioNamespace
    }
    
    // DefaultNamespace returns the default namespace to use.
    func (r *RootFlags) DefaultNamespace() string {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 18:01:27 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top