Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 542 for svc4 (0.13 sec)

  1. tests/integration/telemetry/policy/testdata/enable_envoy_ratelimit.yaml

                      address:
                        socket_address:
                          address: ratelimit.{{ .RateLimitNamespace }}.svc.cluster.local
                          port_value: 8081
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: EnvoyFilter
    metadata:
      name: filter-ratelimit-svc
      namespace: istio-system
    spec:
      workloadSelector:
        labels:
          app: clt
      configPatches:
        - applyTo: VIRTUAL_HOST
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jul 13 16:44:49 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. pilot/pkg/xds/eds_test.go

    			Port:     80,
    			Protocol: protocol.HTTP,
    		},
    	}
    	svc := &model.Service{
    		Ports:    ports,
    		Hostname: host.Name("test1"),
    	}
    	s.MemRegistry.AddService(svc)
    	if _, err := ads.Wait(time.Second*10, watchAll...); err != nil {
    		t.Fatal(err)
    	}
    	i := &model.ServiceInstance{
    		Service:     svc,
    		ServicePort: svc.Ports[0],
    		Endpoint: &model.IstioEndpoint{
    			Address:        "1.2.3.4",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 20:58:47 UTC 2024
    - 39.6K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/gateway/testdata/eastwest-labelport.yaml.golden

    apiVersion: networking.istio.io/v1alpha3
    kind: Gateway
    metadata:
      annotations:
        internal.istio.io/gateway-semantics: gateway
        internal.istio.io/gateway-service: eastwestgateway-istio.istio-system.svc.domain.suffix
        internal.istio.io/parents: Gateway/eastwestgateway/istiod-grpc.istio-system
      creationTimestamp: null
      name: eastwestgateway-istio-autogenerated-k8s-gateway-istiod-grpc
      namespace: istio-system
    spec:
      servers:
      - hosts:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 11 20:21:53 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. pilot/pkg/model/gateway_test.go

    	hosts := mgw.GetAutoPassthrughGatewaySNIHosts()
    	expectedHosts := sets.Set[string]{}
    	expectedHosts.InsertAll("a.apps.svc.cluster.local", "b.apps.svc.cluster.local")
    	if !hosts.Equals(expectedHosts) {
    		t.Errorf("expected to get: [a.apps.svc.cluster.local,b.apps.svc.cluster.local], got: %s", hosts.String())
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 02:36:23 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. pilot/pkg/serviceregistry/serviceregistry_test.go

    func makeService(t *testing.T, c kubernetes.Interface, svc *v1.Service) {
    	t.Helper()
    	// avoid mutating input
    	svc = svc.DeepCopy()
    	// simulate actual k8s behavior
    	for i, port := range svc.Spec.Ports {
    		if port.TargetPort.IntVal == 0 && port.TargetPort.StrVal == "" {
    			svc.Spec.Ports[i].TargetPort.IntVal = port.Port
    		}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  6. pkg/registry/core/service/ipallocator/controller/repair.go

    	for _, svc := range list.Items {
    		if !helper.IsServiceIPSet(&svc) {
    			// didn't need a cluster IP
    			continue
    		}
    
    		for _, ip := range svc.Spec.ClusterIPs {
    			ip := netutils.ParseIPSloppy(ip)
    			if ip == nil {
    				// cluster IP is corrupt
    				clusterIPRepairIPErrors.WithLabelValues("invalid").Inc()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Sep 30 15:46:06 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  7. plugin/pkg/admission/network/denyserviceexternalips/admission_test.go

    	"k8s.io/apiserver/pkg/admission"
    	"k8s.io/kubernetes/pkg/apis/core"
    )
    
    func makeSvc(externalIPs ...string) *core.Service {
    	svc := &core.Service{}
    	svc.Namespace = "test-ns"
    	svc.Name = "test-svc"
    	svc.Spec.ExternalIPs = externalIPs
    	return svc
    }
    
    func TestAdmission(t *testing.T) {
    	testCases := []struct {
    		name   string
    		newSvc *core.Service
    		oldSvc *core.Service
    		fail   bool
    	}{{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 14 05:36:44 UTC 2021
    - 3K bytes
    - Viewed (0)
  8. pkg/volume/util/storageclass_test.go

    		},
    
    		{
    			name:    "two default storage class with different creation timestamp",
    			classes: []*storagev1.StorageClass{sc3, sc4},
    			expect:  sc4,
    		},
    
    		{
    			name:    "two default storage class with same creation timestamp",
    			classes: []*storagev1.StorageClass{sc4, sc5},
    			expect:  sc4,
    		},
    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 18 14:18:11 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. pilot/pkg/xds/testdata/none_eds.json

                }
              ],
              "load_balancing_weight": {
                "value": 2
              }
            }
          ]
        },
        "outbound|2008||tcpmeshstatic.seexamples.svc": {
          "cluster_name": "outbound|2008||tcpmeshstatic.seexamples.svc",
          "endpoints": [
            {
              "lb_endpoints": [
                {
                  "endpoint": {
                    "address": {
                      "Address": {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 26 15:28:15 UTC 2020
    - 3.6K bytes
    - Viewed (0)
  10. pkg/registry/core/service/storage/storage.go

    		}
    	}
    }
    
    func needsClusterIP(svc *api.Service) bool {
    	if svc.Spec.Type == api.ServiceTypeExternalName {
    		return false
    	}
    	return true
    }
    
    func needsNodePort(svc *api.Service) bool {
    	if svc.Spec.Type == api.ServiceTypeNodePort {
    		return true
    	}
    	if svc.Spec.Type == api.ServiceTypeLoadBalancer &&
    		(svc.Spec.AllocateLoadBalancerNodePorts == nil || *svc.Spec.AllocateLoadBalancerNodePorts) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 13:09:33 UTC 2024
    - 22.3K bytes
    - Viewed (0)
Back to top