Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 881 for naMespace (0.72 sec)

  1. 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)
  2. 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)
  3. pilot/pkg/model/config.go

    	Get(typ config.GroupVersionKind, name, namespace string) *config.Config
    
    	// List returns objects by type and namespace.
    	// Use "" for the namespace to list across namespaces.
    	List(typ config.GroupVersionKind, namespace string) []config.Config
    
    	// Create adds a new configuration object to the store. If an object with the
    	// same name and namespace for the type already exists, the operation fails
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 08:51:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  4. pkg/controller/garbagecollector/graph_builder.go

    			ownerIsNamespaced := len(ownerNode.identity.Namespace) > 0
    			if ownerIsNamespaced && ownerNode.identity.Namespace != n.identity.Namespace {
    				if ownerNode.isObserved() {
    					// The owner node has been observed via an informer
    					// the dependent's namespace doesn't match the observed owner's namespace, this is definitely wrong.
    					// cluster-scoped owners can be referenced as an owner from any namespace or cluster-scoped object.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  5. 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)
  6. plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata/controller-role-bindings.yaml

      roleRef:
        apiGroup: rbac.authorization.k8s.io
        kind: ClusterRole
        name: system:controller:namespace-controller
      subjects:
      - kind: ServiceAccount
        name: namespace-controller
        namespace: kube-system
    - apiVersion: rbac.authorization.k8s.io/v1
      kind: ClusterRoleBinding
      metadata:
        annotations:
          rbac.authorization.kubernetes.io/autoupdate: "true"
        creationTimestamp: null
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/dra/claiminfo_test.go

    							Namespace: namespace,
    						},
    					},
    				},
    			},
    			claimInfo: &ClaimInfo{
    				ClaimInfoState: state.ClaimInfoState{
    					ClaimName: claimName,
    					Namespace: namespace,
    				},
    			},
    			expectedResult: true,
    		},
    		{
    			description:    "cache miss",
    			claimInfoCache: &claimInfoCache{},
    			claimInfo: &ClaimInfo{
    				ClaimInfoState: state.ClaimInfoState{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:31 UTC 2024
    - 21K bytes
    - Viewed (0)
  8. pkg/kubelet/metrics/collectors/resource_metrics_test.go

    				# TYPE container_cpu_usage_seconds_total counter
    				container_cpu_usage_seconds_total{container="container_a",namespace="namespace_a",pod="pod_a"} 10 1624396278302
    				container_cpu_usage_seconds_total{container="container_a",namespace="namespace_b",pod="pod_b"} 10 1624396278302
    				container_cpu_usage_seconds_total{container="container_b",namespace="namespace_a",pod="pod_a"} 10 1624396278302
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 15.3K bytes
    - Viewed (1)
  9. 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)
  10. staging/src/k8s.io/api/rbac/v1alpha1/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.
    // Deprecated in v1.17 in favor of rbac.authorization.k8s.io/v1 RoleBinding, and will no longer be served in v1.22.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 22:49:19 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top