Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 466 for namespace (0.08 sec)

  1. cni/test/testdata/k8s_svcacct/namespace

    John Howard <******@****.***> 1605827959 -0800
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Nov 19 23:19:19 UTC 2020
    - 11 bytes
    - Viewed (0)
  2. cmd/namespace-lock.go

    	return &nsMutex
    }
    
    // nsLock - provides primitives for locking critical namespace regions.
    type nsLock struct {
    	ref int32
    	*lsync.LRWMutex
    }
    
    // nsLockMap - namespace lock map, provides primitives to Lock,
    // Unlock, RLock and RUnlock.
    type nsLockMap struct {
    	// Indicates if namespace is part of a distributed setup.
    	isDistErasure bool
    	lockMap       map[string]*nsLock
    	lockMapMutex  sync.Mutex
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. cmd/namespace-lock_test.go

    // Tests getSource().
    func TestGetSource(t *testing.T) {
    	currentSource := func() string { return getSource(2) }
    	gotSource := currentSource()
    	// Hard coded line number, 35, in the "expectedSource" value
    	expectedSource := "[namespace-lock_test.go:35:TestGetSource()]"
    	if gotSource != expectedSource {
    		t.Errorf("expected : %s, got : %s", expectedSource, gotSource)
    	}
    }
    
    // Test lock race
    func TestNSLockRace(t *testing.T) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 3.1K bytes
    - Viewed (0)
  4. istioctl/pkg/waypoint/waypoint.go

    		Use:   "status",
    		Short: "Show the status of waypoints in a namespace",
    		Long:  "Show the status of waypoints for the namespace provided or default namespace if none is provided",
    		Example: `  # Show the status of the waypoint in the default namespace
    		 istioctl waypoint status
    		  
    		 # Show the status of the waypoint in a specific namespace
      		 istioctl waypoint status --namespace default`,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  5. istioctl/pkg/describe/describe.go

    				drName, drNamespace, err := getIstioDestinationRuleNameForSvc(&cd, svc, port.Port)
    				var dr *clientnetworking.DestinationRule
    				if err == nil && drName != "" && drNamespace != "" {
    					exist := false
    					dr, exist = recordDestinationRules[newResourceID(drNamespace, drName)]
    					if !exist {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  6. istioctl/pkg/injector/injector-list.go

    	retval := make([]corev1.Namespace, 0, len(namespaces))
    	seen := sets.String{}
    	for _, webhook := range hook.Webhooks {
    		nsSelector, err := metav1.LabelSelectorAsSelector(webhook.NamespaceSelector)
    		if err != nil {
    			return retval
    		}
    
    		for _, namespace := range namespaces {
    			if !seen.Contains(namespace.Name) && nsSelector.Matches(api_pkg_labels.Set(namespace.Labels)) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Oct 18 11:39:52 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  7. 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: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  8. istioctl/pkg/describe/describe_test.go

    			client.Istio().NetworkingV1().DestinationRules(t.Namespace).Create(context.TODO(), t, metav1.CreateOptions{})
    		case *clientnetworking.Gateway:
    			client.Istio().NetworkingV1().Gateways(t.Namespace).Create(context.TODO(), t, metav1.CreateOptions{})
    		case *clientnetworking.VirtualService:
    			client.Istio().NetworkingV1().VirtualServices(t.Namespace).Create(context.TODO(), t, metav1.CreateOptions{})
    		}
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 30.8K bytes
    - Viewed (0)
  9. istioctl/pkg/checkinject/checkinject.go

    				nsLabels = ns.GetLabels()
    			} else {
    				namespace := ctx.NamespaceOrDefault(ctx.Namespace())
    				ns, err := kubeClient.Kube().CoreV1().Namespaces().Get(context.TODO(), namespace, metav1.GetOptions{})
    				if err != nil {
    					return err
    				}
    				ls, err := metav1.ParseToLabelSelector(labelPairs)
    				if err != nil {
    					return err
    				}
    				podLabels = ls.MatchLabels
    				nsLabels = ns.GetLabels()
    			}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. manifests/addons/dashboards/istio-workload-dashboard.json

            "refresh": 1,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Mar 27 03:47:04 UTC 2024
    - 102.7K bytes
    - Viewed (0)
Back to top