Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 257 for nameslice (1.42 sec)

  1. pkg/apis/autoscaling/validation/validation_test.go

    			Name:      "frontend",
    			Namespace: metav1.NamespaceDefault,
    		},
    		Spec: autoscaling.ScaleSpec{
    			Replicas: 1,
    		},
    	}, {
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "frontend",
    			Namespace: metav1.NamespaceDefault,
    		},
    		Spec: autoscaling.ScaleSpec{
    			Replicas: 10,
    		},
    	}, {
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "frontend",
    			Namespace: metav1.NamespaceDefault,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  2. pkg/controller/endpointslice/endpointslice_controller_test.go

    				ObjectMeta: metav1.ObjectMeta{Name: serviceName, Namespace: namespace},
    				Spec: v1.ServiceSpec{
    					Ports: []v1.ServicePort{{Port: 80}},
    					Type:  v1.ServiceTypeExternalName,
    				},
    			},
    		},
    		{
    			desc: "External name with selector should not receive endpoint slices",
    			service: &v1.Service{
    				ObjectMeta: metav1.ObjectMeta{Name: serviceName, Namespace: namespace},
    				Spec: v1.ServiceSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 08:33:32 UTC 2024
    - 65.5K bytes
    - Viewed (0)
  3. pilot/pkg/security/authn/policy_applier_test.go

    			want: MergedPeerAuthentication{
    				Mode: model.MTLSStrict,
    			},
    		},
    		{
    			name: "mesh vs namespace",
    			configs: []*config.Config{
    				{
    					Meta: config.Meta{
    						Name:      "default",
    						Namespace: "root-namespace",
    					},
    					Spec: &v1beta1.PeerAuthentication{
    						Selector: &type_beta.WorkloadSelector{
    							MatchLabels: map[string]string{},
    						},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 07:32:22 UTC 2023
    - 60.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go

    }
    
    func baseNamespacedPod(podName, namespace string) *example.Pod {
    	return &example.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: podName, Namespace: namespace},
    	}
    }
    
    func baseNamespacedPodUpdated(podName, namespace string) *example.Pod {
    	return &example.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: podName, Namespace: namespace},
    		Status:     example.PodStatus{Phase: "Running"},
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  5. plugin/pkg/admission/resourcequota/admission_test.go

    	if err != nil {
    		t.Errorf("Got unexpected error: %v", err)
    	}
    	if newPod.Namespace != namespace {
    		t.Errorf("Got unexpected pod namespace: %q != %q", newPod.Namespace, namespace)
    	}
    }
    
    // TestAdmitRejectsNegativeUsage verifies that usage for any measured resource cannot be negative.
    func TestAdmitRejectsNegativeUsage(t *testing.T) {
    	resourceQuota := &corev1.ResourceQuota{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 84.1K bytes
    - Viewed (0)
  6. pilot/pkg/config/kube/gateway/conversion.go

    					string(parent.OriginalReference.Name),
    					string(ptr.OrDefault(parent.OriginalReference.Namespace, k8s.Namespace(obj.Namespace))))
    			} else {
    				vsHosts = []string{fmt.Sprintf("%s.%s.svc.%s",
    					parent.OriginalReference.Name, ptr.OrDefault(parent.OriginalReference.Namespace, k8s.Namespace(obj.Namespace)), ctx.Domain)}
    			}
    		}
    		if len(routes) == 0 {
    			continue
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/interpodaffinity/filtering_test.go

    )
    
    var (
    	defaultNamespace = ""
    )
    
    func createPodWithAffinityTerms(namespace, nodeName string, labels map[string]string, affinity, antiAffinity []v1.PodAffinityTerm) *v1.Pod {
    	return &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			Labels:    labels,
    			Namespace: namespace,
    		},
    		Spec: v1.PodSpec{
    			NodeName: nodeName,
    			Affinity: &v1.Affinity{
    				PodAffinity: &v1.PodAffinity{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 01 10:24:54 UTC 2023
    - 58.2K bytes
    - Viewed (0)
  8. pilot/pkg/model/virtualservice_test.go

    								},
    							},
    						},
    					},
    				},
    			},
    		},
    	}
    
    	createDelegateVs := func(name, namespace string, exportTo []string) config.Config {
    		return config.Config{
    			Meta: config.Meta{
    				GroupVersionKind: gvk.VirtualService,
    				Name:             name,
    				Namespace:        namespace,
    			},
    			Spec: &networking.VirtualService{
    				Hosts:    []string{},
    				Gateways: []string{"gateway"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 60.6K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/sidecar_simulation_test.go

    					Namespace: spl[1],
    					Name:      spl[0],
    				})
    			}
    		}
    	}
    	switch variant {
    	case "httproute":
    		return tmpl.MustEvaluate(`apiVersion: gateway.networking.k8s.io/v1beta1
    kind: HTTPRoute
    metadata:
      name: "{{.Namespace}}{{.Match | replace "*" "wild"}}{{.Dest}}"
      namespace: {{.Namespace}}
      creationTimestamp: "{{.Time}}"
    spec:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  10. tests/integration/ambient/baseline_test.go

    			"waypoint",
    			"apply",
    			"--namespace",
    			apps.Namespace.Name(),
    			"--name", "captured-waypoint",
    			"--wait",
    		})
    		t.Cleanup(func() {
    			istioctl.NewOrFail(t, t, istioctl.Config{}).InvokeOrFail(t, []string{
    				"waypoint",
    				"delete",
    				"--namespace",
    				apps.Namespace.Name(),
    				"captured-waypoint",
    			})
    		})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
Back to top