Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 651 for nAmespace (0.57 sec)

  1. pilot/pkg/serviceregistry/serviceentry/controller.go

    			// Insert all instances for this IP for services within the same namespace. This ensures we
    			// match Kubernetes logic where Services do not cross namespace boundaries and avoids
    			// possibility of other namespaces inserting service instances into namespaces they do not
    			// control.
    			if node.Metadata.Namespace == "" || i.Service.Attributes.Namespace == node.Metadata.Namespace {
    				out = append(out, model.ServiceInstanceToTarget(i))
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  2. pkg/kubelet/util/manager/cache_based_manager.go

    }
    
    func (c *cacheBasedManager) GetObject(namespace, name string) (runtime.Object, error) {
    	return c.objectStore.Get(namespace, name)
    }
    
    func (c *cacheBasedManager) RegisterPod(pod *v1.Pod) {
    	names := c.getReferencedObjects(pod)
    	c.lock.Lock()
    	defer c.lock.Unlock()
    	var prev *v1.Pod
    	key := objectKey{namespace: pod.Namespace, name: pod.Name, uid: pod.UID}
    	prev = c.registeredPods[key]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. operator/pkg/name/name.go

    }
    
    // Namespace returns the namespace for the component. It follows these rules:
    // 1. If DefaultNamespace is unset, log and error and return the empty string.
    // 2. If the feature and component namespaces are unset, return DefaultNamespace.
    // 3. If the feature namespace is set but component name is unset, return the feature namespace.
    // 4. Otherwise return the component namespace.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. cni/pkg/nodeagent/cni-watcher_test.go

    	defer cancel()
    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "pod-bingo",
    			Namespace: "funkyns",
    		},
    		Spec: corev1.PodSpec{
    			NodeName: NodeName,
    		},
    		Status: corev1.PodStatus{
    			PodIP: fakePodIP,
    		},
    	}
    	ns := &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: "funkyns"}}
    
    	client := kube.NewFakeClient(ns, pod)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:35 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. tests/integration/ambient/cnirepair/main_test.go

    	}
    
    	apps.All = echos
    	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)
    
    	return nil
    }
    
    func TestTrafficWithCNIRepair(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Jun 09 09:12:45 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/rbac/v1/types.go

    // 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.
    type RoleBinding struct {
    	metav1.TypeMeta `json:",inline"`
    	// Standard object's metadata.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/ztunnel/configdump/services.go

    type ServiceFilter struct {
    	Namespace string
    }
    
    // Verify returns true if the passed workload matches the filter fields
    func (wf *ServiceFilter) Verify(svc *ZtunnelService) bool {
    	if wf.Namespace != "" {
    		if !strings.EqualFold(svc.Namespace, wf.Namespace) {
    			return false
    		}
    	}
    
    	return true
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:11 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. cmd/metrics-v2.go

    		Namespace: namespace,
    		Subsystem: replicationSubsystem,
    		Name:      lastHourFailedBytes,
    		Help:      "Total number of bytes failed at least once to replicate in the last hour",
    		Type:      gaugeMetric,
    	}
    }
    
    func getRepFailedOperationsLastHourMD(namespace MetricNamespace) MetricDescription {
    	return MetricDescription{
    		Namespace: namespace,
    		Subsystem: replicationSubsystem,
    		Name:      lastHourFailedCount,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  9. pkg/test/framework/components/echo/match/matchers_test.go

    	a1 = &fakeInstance{Cluster: cls1, Namespace: namespace.Static("echo"), Service: "a"}
    	// simple pod with different svc
    	b1 = &fakeInstance{Cluster: cls1, Namespace: namespace.Static("echo"), Service: "b"}
    	// virtual machine
    	vm1 = &fakeInstance{Cluster: cls1, Namespace: namespace.Static("echo"), Service: "vm", DeployAsVM: true}
    	// headless
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    				},
    				model.WorkloadAuthorization{
    					LabelSelector: model.NewSelector(map[string]string{"app": "foo"}),
    					Authorization: &security.Authorization{Name: "root-ns", Namespace: "istio-system"},
    				},
    			},
    			pod: &v1.Pod{
    				TypeMeta: metav1.TypeMeta{},
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "name",
    					Namespace: "ns",
    					Labels: map[string]string{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
Back to top