Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 301 for Namespace (0.16 sec)

  1. 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
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jun 05 23:56:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/informers.go

    	namespace := o.GetName()
    	labels := o.GetLabels()
    	matchAmbient := labels[constants.DataplaneModeLabel] == constants.DataplaneModeAmbient
    	if matchAmbient {
    		log.Infof("Namespace %s is enabled in ambient mesh", namespace)
    	} else {
    		log.Infof("Namespace %s is disabled from ambient mesh", namespace)
    	}
    	for _, pod := range s.pods.List(namespace, klabels.Everything()) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  3. cni/pkg/util/podutil_test.go

    				Name:        "test",
    				Namespace:   "test",
    				Labels:      ambientEnabledLabel,
    				Annotations: sidecarStatusAnnotation,
    			},
    		}
    	)
    
    	type args struct {
    		namespace *corev1.Namespace
    		pod       *corev1.Pod
    	}
    	tests := []struct {
    		name string
    		args args
    		want bool
    	}{
    		{
    			name: "ambient mode enabled for namespace",
    			args: args{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/ztunnel/configdump/connections.go

    		if r := cmp.Compare(a.Info.Namespace, b.Info.Namespace); r != 0 {
    			return r
    		}
    		return cmp.Compare(a.Info.Namespace, b.Info.Namespace)
    	})
    	for _, wl := range workloads {
    		if filter.Namespace != "" && filter.Namespace != wl.Info.Namespace {
    			continue
    		}
    		name := fmt.Sprintf("%s.%s", wl.Info.Name, wl.Info.Namespace)
    		if filter.Direction != "outbound" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 15:39:28 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  5. manifests/charts/README.md

    In the case of the sidecar injector, the namespace label `istio-env: <NAME_OF_ENV>` is used instead
    of the conventional `istio-injected: true`. The name of the environment is defined as the namespace
    where the corresponding control plane components (config, discovery, auto-injection) are running.
    In the examples below, by default this is the `istio-control` namespace. Pod annotations can also
    be used to select a different 'environment'.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Feb 07 17:53:24 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  6. istioctl/pkg/util/handlers/handlers_test.go

    			namespace:     "",
    			wantPodName:   "istio-security-post-install-1.2.2-bm9w2",
    			wantNamespace: "istio-system",
    		},
    		{
    			proxyName:     "service/istiod",
    			namespace:     "",
    			wantPodName:   "service/istiod",
    			wantNamespace: "",
    		},
    		{
    			proxyName:     "service/istiod",
    			namespace:     "namespace",
    			wantPodName:   "service/istiod",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jun 09 18:17:49 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/rbac/v1alpha1/generated.proto

    }
    
    // RoleBinding references a role, but does not contain it.  It can reference a Role in the same namespace or a ClusterRole in the global namespace.
    // It adds who information via Subjects and namespace information by which namespace it exists in.  RoleBindings in a given
    // namespace only have effect in that namespace.
    // Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/rbac/v1beta1/generated.proto

    }
    
    // RoleBinding references a role, but does not contain it.  It can reference a Role in the same namespace or a ClusterRole in the global namespace.
    // It adds who information via Subjects and namespace information by which namespace it exists in.  RoleBindings in a given
    // namespace only have effect in that namespace.
    // Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  9. manifests/charts/istio-control/istio-discovery/templates/mutatingwebhook.yaml

      "injectionURL" .Values.istiodRemote.injectionURL
      "reinvocationPolicy" .Values.sidecarInjectorWebhook.reinvocationPolicy
      "caBundle" .Values.istiodRemote.injectionCABundle
      "namespace" .Release.Namespace }}
    {{- define "core" }}
    {{- /* Kubernetes unfortunately requires a unique name for the webhook in some newer versions, so we assign
    a unique prefix to each. */}}
    - name: {{.Prefix}}sidecar-injector.istio.io
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  10. istioctl/pkg/cli/context_test.go

    	ns := handleNamespace("test", "default")
    	if ns != "test" {
    		t.Fatalf("Get the incorrect namespace: %q back", ns)
    	}
    
    	tests := []struct {
    		description      string
    		namespace        string
    		defaultNamespace string
    		wantNamespace    string
    	}{
    		{
    			description:      "return test namespace",
    			namespace:        "test",
    			defaultNamespace: "default",
    			wantNamespace:    "test",
    		},
    		{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jun 09 18:17:49 GMT 2023
    - 1.4K bytes
    - Viewed (0)
Back to top