Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 661 for nAmespace (0.41 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/metrics/metrics.go

    		&compbasemetrics.CounterOpts{
    			Namespace:      namespace,
    			Name:           "cache_list_total",
    			Help:           "Number of LIST requests served from watch cache",
    			StabilityLevel: compbasemetrics.ALPHA,
    		},
    		[]string{"resource_prefix", "index"},
    	)
    	listCacheNumFetched = compbasemetrics.NewCounterVec(
    		&compbasemetrics.CounterOpts{
    			Namespace:      namespace,
    			Name:           "cache_list_fetched_objects_total",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 07:39:23 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. tests/integration/telemetry/tracing/tracing.go

    	return &ist
    }
    
    // GetAppNamespace gets echo app namespace instance.
    func GetAppNamespace() namespace.Instance {
    	return appNsInst
    }
    
    func GetIngressInstance() ingress.Instance {
    	return ingInst
    }
    
    func GetZipkinInstance() zipkin.Instance {
    	return zipkinInst
    }
    
    func TestSetup(ctx resource.Context) (err error) {
    	appNsInst, err = namespace.New(ctx, namespace.Config{
    		Prefix: "echo",
    		Inject: true,
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 19:05:09 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/gateway/conversion.go

    					string(parent.OriginalReference.Name),
    					string(ptr.OrDefault(parent.OriginalReference.Namespace, k8s.Namespace(obj.Namespace))))
    			} else {
    				vsHosts = []string{fmt.Sprintf("%s.%s.svc.%s",
    					parent.OriginalReference.Name, ptr.OrDefault(parent.OriginalReference.Namespace, k8s.Namespace(obj.Namespace)), ctx.Domain)}
    			}
    		}
    		if len(routes) == 0 {
    			continue
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  4. tests/integration/ambient/main_test.go

    	apps.Uncaptured = match.ServiceName(echo.NamespacedName{Name: Uncaptured, Namespace: apps.Namespace}).GetMatches(echos)
    	apps.Captured = match.ServiceName(echo.NamespacedName{Name: Captured, Namespace: apps.Namespace}).GetMatches(echos)
    	apps.Sidecar = match.ServiceName(echo.NamespacedName{Name: Sidecar, Namespace: apps.Namespace}).GetMatches(echos)
    	apps.Mesh = inMesh.GetMatches(echos)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/util/workloadinstances/index_test.go

    		Name:      "another-ip",
    		Namespace: selector.Namespace,
    		Endpoint: &model.IstioEndpoint{
    			Address: "3.3.3.3",
    			Labels:  map[string]string{"app": "another-wle"}, // should not match because of another label
    		},
    	}
    
    	wi4 := &model.WorkloadInstance{
    		Name:      "another-name",
    		Namespace: "another-namespace", // should not match because of another namespace
    		Endpoint: &model.IstioEndpoint{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/serviceentry/controller_test.go

    		Event{Type: "service", ID: "*.google.com", Namespace: httpDNS.Namespace},
    		Event{Type: "eds cache", ID: "*.google.com", Namespace: httpDNS.Namespace},
    		Event{Type: "service", ID: "*.istio.io", Namespace: httpDNSRR.Namespace},
    		Event{Type: "eds cache", ID: "*.istio.io", Namespace: httpDNSRR.Namespace},
    		Event{Type: "service", ID: "tcpstatic.com", Namespace: tcpStatic.Namespace},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  7. pkg/test/framework/components/namespace/kube.go

    	if _, err := c.Kube().CoreV1().Namespaces().Create(context.TODO(), &corev1.Namespace{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:   n.name,
    			Labels: createNamespaceLabels(n.ctx, cfg),
    		},
    	}, metav1.CreateOptions{}); err != nil {
    		return err
    	}
    
    	if !cfg.SkipCleanup {
    		n.addCleanup(func() error {
    			return c.Kube().CoreV1().Namespaces().Delete(context.TODO(), n.name, kube2.DeleteOptionsForeground())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. samples/bookinfo/platform/kube/cleanup.sh

    # only ask if in interactive mode
    if [[ -t 0 && -z ${NAMESPACE} ]];then
      echo -n "namespace ? [default] "
      read -r NAMESPACE
    fi
    
    # verify if the namespace exists, otherwise use default namespace
    if [[ -n ${NAMESPACE} ]];then
      ns=$(kubectl get namespace "${NAMESPACE}" --no-headers --output=go-template="{{.metadata.name}}" 2>/dev/null)
      if [[ -z ${ns} ]];then
        echo "NAMESPACE ${NAMESPACE} not found."
        NAMESPACE=default
      fi
    fi
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 16:07:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. pkg/kube/kclient/client.go

    }
    
    // keyFunc is the internal API key function that returns "namespace"/"name" or
    // "name" if "namespace" is empty
    func keyFunc(name, namespace string) string {
    	if len(namespace) == 0 {
    		return name
    	}
    	return namespace + "/" + name
    }
    
    func ToOpts(c kube.Client, gvr schema.GroupVersionResource, filter Filter) kubetypes.InformerOptions {
    	ns := filter.Namespace
    	if !istiogvr.IsClusterScoped(gvr) && ns == "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 07:14:28 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. pkg/test/kube/dump.go

    	}
    }
    
    // DumpPodEvents dumps the pod events for either the provided pods or all pods in the namespace if none are provided.
    func DumpPodEvents(_ resource.Context, c cluster.Cluster, workDir, namespace string, pods ...corev1.Pod) {
    	pods = podsOrFetch(c, pods, namespace)
    
    	for _, pod := range pods {
    		list, err := c.Kube().CoreV1().Events(namespace).List(context.TODO(),
    			metav1.ListOptions{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 22.2K bytes
    - Viewed (0)
Back to top