Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 for nameslice (0.67 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. tests/integration/ambient/main_test.go

    	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)
    	apps.Mesh = inMesh.GetMatches(echos)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. 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)
  4. tests/integration/ambient/waypoint_test.go

    				New().
    				Eval(
    					apps.Namespace.Name(),
    					map[string]any{
    						"Service":   Captured,
    						"Namespace": apps.Namespace.Name(),
    						"Port":      apps.Captured.PortForName("http").ServicePort,
    					},
    					config).
    				ApplyOrFail(t, apply.CleanupConditionally)
    
    			retry.UntilSuccessOrFail(t, func() error {
    				return checkWaypointIsReady(t, apps.Namespace.Name(), "simple-http-waypoint")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    		w := &workloadapi.Workload{
    			Uid:                   a.generateWorkloadEntryUID(wle.Namespace, wle.Name),
    			Name:                  wle.Name,
    			Namespace:             wle.Namespace,
    			Network:               network,
    			ClusterId:             string(a.ClusterID),
    			ServiceAccount:        wle.Spec.ServiceAccount,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/informers_test.go

    	defer cancel()
    
    	pod := &corev1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "test",
    			Namespace: "test",
    		},
    		Spec: corev1.PodSpec{
    			NodeName: NodeName,
    		},
    		Status: corev1.PodStatus{
    			PodIP: "11.1.1.12",
    		},
    	}
    	ns := &corev1.Namespace{ObjectMeta: metav1.ObjectMeta{Name: "test"}}
    
    	client := kube.NewFakeClient(ns, pod)
    
    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. pkg/test/framework/components/echo/echotest/filters_test.go

    	// simple pod with a different namespace
    	a1Ns2 = &fakeInstance{Cluster: cls1, Namespace: echo2NS, Service: "a"}
    	a2Ns2 = &fakeInstance{Cluster: cls2, Namespace: echo2NS, Service: "a"}
    	// virtual machine
    	vm1 = &fakeInstance{Cluster: cls1, Namespace: echo1NS, Service: "vm", DeployAsVM: true}
    	vm2 = &fakeInstance{Cluster: cls2, Namespace: echo1NS, Service: "vm", DeployAsVM: true}
    	// headless
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top