Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,708 for naMespace (1.59 sec)

  1. pilot/pkg/config/kube/gateway/controller.go

    // filterNamespace allows filtering out configs to only a specific namespace. This allows implementing the
    // List call which can specify a specific namespace.
    func filterNamespace(cfgs []config.Config, namespace string) []config.Config {
    	if namespace == metav1.NamespaceAll {
    		return cfgs
    	}
    	return slices.Filter(cfgs, func(c config.Config) bool {
    		return c.Namespace == namespace
    	})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 30 05:26:03 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. manifests/addons/dashboards/lib/output.json

                   },
                   "expr": "sum by (cluster, namespace, job) (\n    rate(\n        process_cpu_seconds_total{\n            cluster=~\"$cluster\",\n            namespace=~\"$namespace\",\n            job=~\"$job\"\n        }\n    [$__rate_interval])\n)\n",
                   "intervalFactor": 2,
                   "legendFormat": "{{cluster}} - {{namespace}}\n"
                }
             ],
             "title": "CPU Usage",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  3. plugin/pkg/admission/namespace/autoprovision/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
    - 7.5K bytes
    - Viewed (0)
  4. pkg/kubelet/stats/cadvisor_stats_provider_test.go

    	)
    
    	prf0 := statsapi.PodReference{Name: pName0, Namespace: namespace0, UID: "UID" + pName0}
    	prf1 := statsapi.PodReference{Name: pName1, Namespace: namespace0, UID: "UID" + pName1}
    	prf2 := statsapi.PodReference{Name: pName2, Namespace: namespace2, UID: "UID" + pName2}
    	prf3 := statsapi.PodReference{Name: pName3, Namespace: namespace0, UID: "UID" + pName3}
    	infos := map[string]cadvisorapiv2.ContainerInfo{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  5. pkg/test/framework/components/echo/common/deployment/echos.go

    		nsLabels["istio.io/dataplane-mode"] = "ambient"
    	}
    
    	// Create the echo namespaces.
    	if len(c.Namespaces) == 0 {
    		c.Namespaces = make([]namespace.Getter, c.NamespaceCount)
    		if c.NamespaceCount == 1 {
    			// If only using a single namespace, preserve the "echo" prefix.
    			g.Go(func() error {
    				ns, err := namespace.New(ctx, namespace.Config{
    					Inject: !ctx.Settings().AmbientEverywhere,
    					Prefix: "echo",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 16K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/ops/gen/cpp/renderers/namespace_renderer.cc

           it != context_.cpp_config.namespaces.rend(); ++it) {
        CodeLine("}  // namespace " + *it);
      }
    }
    
    }  // namespace cpp
    }  // namespace generator
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 05:51:40 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. tests/integration/pilot/multiplecontrolplanes/main_test.go

    			namespace.Setup(&externalNS, namespace.Config{Prefix: "external", Inject: false})).
    		SetupParallel(
    			deployment.Setup(&apps, deployment.Config{
    				Namespaces: []namespace.Getter{
    					namespace.Future(&echo1NS),
    					namespace.Future(&echo2NS),
    					namespace.Future(&echo3NS),
    				},
    				ExternalNamespace: namespace.Future(&externalNS),
    			})).
    		Run()
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 16:52:52 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. pilot/pkg/config/kube/gateway/testdata/tls.yaml

    kind: TLSRoute
    metadata:
      name: tls-match
      namespace: default
    spec:
      parentRefs:
      - name: gateway
        namespace: istio-system
      hostnames:
      - "foo.com"
      rules:
      - backendRefs:
        - name: httpbin-foo
          port: 443
    ---
    apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: http
      namespace: default
    spec:
      parentRefs:
      - name: gateway
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 01 20:54:36 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. operator/pkg/util/k8s.go

    		}
    	}
    	return nil
    }
    
    // CreateNamespace creates a namespace using the given k8s interface.
    func CreateNamespace(cs kubernetes.Interface, namespace string, network string, dryRun bool) error {
    	if dryRun {
    		scope.Infof("Not applying Namespace %s because of dry run.", namespace)
    		return nil
    	}
    	if namespace == "" {
    		// Setup default namespace
    		namespace = constants.IstioSystemNamespace
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. pkg/kube/kclient/client_test.go

    	})
    	assert.Equal(t, deploys, []*appsv1.Deployment{obj1, obj2})
    	assert.Equal(t, tester.Get(obj3.Name, obj3.Namespace), nil)
    
    	tester.Delete(obj3.Name, obj3.Namespace)
    	tester.Delete(obj2.Name, obj2.Namespace)
    	tester.Delete(obj1.Name, obj1.Namespace)
    	tracker.WaitOrdered("delete/2", "delete/1")
    	assert.Equal(t, tester.List(obj1.Namespace, klabels.Everything()), nil)
    
    	// Create some more objects again
    	tester.Create(obj3)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 15:12:54 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top