Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 264 for nAmespace (0.17 sec)

  1. istioctl/pkg/waypoint/waypoint.go

    				return fmt.Errorf("failed to create Kubernetes client: %v", err)
    			}
    			ns := ctx.NamespaceOrDefault(ctx.Namespace())
    			// If a user decides to enroll their namespace with a waypoint, verify that they have labeled their namespace as ambient.
    			// If they don't, the user will be warned and be presented with the command to label their namespace as ambient if they
    			// choose to do so.
    			//
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  2. 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: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 04 18:05:06 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/common/deployment/echos.go

    		nsLabels["istio.io/dataplane-mode"] = "ambient"
    	}
    
    	// Create the echo namespaces.
    	if len(c.Namespaces) == 0 {
    		c.Namespaces = make([]namespace.Getter, c.NamespaceCount)
    		if c.NamespaceCount == 1 {
    			// If only using a single namespace, preserve the "echo" prefix.
    			g.Go(func() error {
    				ns, err := namespace.New(ctx, namespace.Config{
    					Inject: !ctx.Settings().AmbientEverywhere,
    					Prefix: "echo",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 16:01:31 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. pkg/kube/kclient/client_test.go

    	})
    	assert.Equal(t, deploys, []*appsv1.Deployment{obj1, obj2})
    	assert.Equal(t, tester.Get(obj3.Name, obj3.Namespace), nil)
    
    	tester.Delete(obj3.Name, obj3.Namespace)
    	tester.Delete(obj2.Name, obj2.Namespace)
    	tester.Delete(obj1.Name, obj1.Namespace)
    	tracker.WaitOrdered("delete/2", "delete/1")
    	assert.Equal(t, tester.List(obj1.Namespace, klabels.Everything()), nil)
    
    	// Create some more objects again
    	tester.Create(obj3)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 15:12:54 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  5. tests/integration/ambient/waypoint_test.go

          namespaces:
            from: Same
      - name: {{.Service}}-svc
        hostname: {{.Service}}.{{.Namespace}}.svc
        port: {{.Port}}
        protocol: HTTP
        allowedRoutes:
          namespaces:
            from: Same
      - name: {{.Service}}-namespace
        hostname: {{.Service}}.{{.Namespace}}
        port: {{.Port}}
        protocol: HTTP
        allowedRoutes:
          namespaces:
            from: Same
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. pkg/kubelet/userns/userns_manager.go

    	lock sync.Mutex
    }
    
    // UserNamespace holds the configuration for the user namespace.
    type userNamespace struct {
    	// UIDs mappings for the user namespace.
    	UIDMappings []idMapping `json:"uidMappings"`
    	// GIDs mappings for the user namespace.
    	GIDMappings []idMapping `json:"gidMappings"`
    }
    
    // Pod user namespace mapping
    type idMapping struct {
    	// Required.
    	HostId uint32 `json:"hostId"`
    	// Required.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    			var waypointAddress *workloadapi.GatewayAddress
    			// Endpoint does not have a real ObjectMeta, so make one
    			if !implicitEndpoints {
    				if waypoint := fetchWaypointForWorkload(ctx, Waypoints, Namespaces, metav1.ObjectMeta{
    					Name:      se.Name,
    					Namespace: se.Namespace,
    					Labels:    wle.Labels,
    				}); waypoint != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  8. pilot/pkg/serviceregistry/kube/controller/ambient/waypoints.go

    	}
    
    	// try fetching the namespace-defined waypoint
    	namespace := ptr.OrEmpty[*v1.Namespace](krt.FetchOne[*v1.Namespace](ctx, Namespaces, krt.FilterKey(o.Namespace)))
    	// this probably should never be nil. How would o exist in a namespace we know nothing about? maybe edge case of starting the controller or ns delete?
    	if namespace != nil {
    		// toss isNone, we don't need to know /why/ we got nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:02:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/informers_test.go

    	fs.AssertExpectations(t)
    
    	// unlabelling the namespace should cause only one RemovePodFromMesh to happen
    	fs.On("RemovePodFromMesh",
    		ctx,
    		mock.Anything,
    	).Once().Return(nil)
    
    	// unlabel the namespace
    	labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":null}}}`,
    		constants.DataplaneModeLabel))
    	_, err = client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/informers.go

    	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()) {
    		// ztunnel pods are never "added to/removed from the mesh", so do not fire
    		// spurious events for them to avoid triggering extra
    		// ztunnel node reconciliation checks.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:35 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top