Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for GW (0.02 sec)

  1. pilot/pkg/config/kube/gateway/deploymentcontroller.go

    	if d.namespaces != nil {
    		ns = d.namespaces.Get(gw.Namespace, "")
    	}
    	proxyUID, proxyGID := inject.GetProxyIDs(ns)
    
    	defaultName := getDefaultName(gw.Name, &gw.Spec, gi.disableNameSuffix)
    
    	serviceType := gi.defaultServiceType
    	if o, f := gw.Annotations[serviceTypeOverride]; f {
    		serviceType = corev1.ServiceType(o)
    	}
    
    	input := TemplateInput{
    		Gateway:        &gw,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 21:43:20 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. istioctl/pkg/waypoint/waypoint.go

    			}
    
    			if gw.Labels == nil {
    				gw.Labels = map[string]string{}
    			}
    
    			gw.Labels[constants.AmbientWaypointForTrafficTypeLabel] = trafficType
    		}
    
    		if revision != "" {
    			gw.Labels = map[string]string{label.IoIstioRev.Name: revision}
    		}
    		return &gw, nil
    	}
    	waypointGenerateCmd := &cobra.Command{
    		Use:   "generate",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 15:59:33 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. pilot/pkg/config/kube/gateway/deploymentcontroller_test.go

    				util.CompareContent(t, resp, filepath.Join("testdata", "deployment", tt.name+".yaml"))
    			}
    			// ensure we didn't mutate the object
    			if !tt.ignore {
    				assert.Equal(t, d.gateways.Get(tt.gw.Name, tt.gw.Namespace), &tt.gw)
    			}
    		})
    	}
    }
    
    func buildFilter(allowedNamespace string) kubetypes.DynamicObjectFilter {
    	return kubetypes.NewStaticObjectFilter(func(obj any) bool {
    		if ns, ok := obj.(string); ok {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 21:43:20 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/network.go

    		for _, gw := range gateways {
    			// what we now have is a service port. If there is a mapping for cluster external ports,
    			// look it up and get the node port for the remote port
    			if nodePort, exists := nodePortMap[gw.Port]; exists {
    				gw.Port = nodePort
    			}
    
    			gw.Cluster = n.clusterID
    			gw.Addr = addr
    			newGateways.Insert(gw)
    		}
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 22:23:22 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. pilot/pkg/model/network.go

    	byNetwork := make(map[network.ID][]NetworkGateway)
    	byNetworkAndCluster := make(map[networkAndCluster][]NetworkGateway)
    	for gw := range gatewaySet {
    		byNetwork[gw.Network] = append(byNetwork[gw.Network], gw)
    		nc := networkAndClusterForGateway(&gw)
    		byNetworkAndCluster[nc] = append(byNetworkAndCluster[nc], gw)
    	}
    
    	var gwNum []int
    	// Sort the gateways in byNetwork, and also calculate the max number
    	// of gateways per network.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 24 03:31:28 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/kube/controller/network_test.go

    				Ne: &meshconfig.Network_NetworkEndpoints_FromRegistry{FromRegistry: "Kubernetes"},
    			}},
    			Gateways: []*meshconfig.Network_IstioNetworkGateway{{
    				Port: 15443,
    				Gw:   &meshconfig.Network_IstioNetworkGateway_RegistryServiceName{RegistryServiceName: "istio-meshnetworks-gw.istio-system.svc.cluster.local"},
    			}},
    		},
    		"nw1": {
    			Endpoints: []*meshconfig.Network_NetworkEndpoints{{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. pilot/pkg/config/kube/gateway/conditions.go

    			// For now, we will treat all general route errors as "Ref" errors.
    			conds[string(k8s.RouteConditionResolvedRefs)].error = gw.RouteError
    		}
    		if gw.DeniedReason != nil {
    			conds[string(k8s.RouteConditionAccepted)].error = &ConfigError{
    				Reason:  ConfigErrorReason(gw.DeniedReason.Reason),
    				Message: gw.DeniedReason.Message,
    			}
    		}
    
    		var currentConditions []metav1.Condition
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 13:05:41 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  8. operator/pkg/apis/istio/v1alpha1/validation/validation.go

    		}
    	}
    	return
    }
    
    func validateGateways(gw []*v1alpha1.GatewaySpec, name string) util.Errors {
    	// nolint: lll
    	format := "port %v/%v in gateway %v invalid: targetPort is set to %d, which requires root. Set targetPort to be greater than 1024 or configure values.gateways.%s.runAsRoot=true"
    	var errs util.Errors
    	for _, gw := range gw {
    		for _, p := range gw.GetK8S().GetService().GetPorts() {
    			tp := 0
    			if p == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 20:02:28 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  9. pilot/pkg/xds/mesh_network_test.go

    								metaNetwork: "network-2",
    								labels:      map[string]string{label.TopologyNetwork.Name: "network-2"},
    							}
    
    							// gw does not have endpoints, it's just some proxy used to test REQUESTED_NETWORK_VIEW
    							gw := &workload{
    								kind: Other,
    								name: "gw", ip: "2.2.2.2",
    								networkView: []string{"vm"},
    							}
    
    							net1gw, net1GwPort := "2.2.2.2", "15443"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/responsewriters/writers.go

    	switch {
    	case w.contentEncoding == "gzip" && len(p) > defaultGzipThresholdBytes:
    		header.Set("Content-Encoding", "gzip")
    		header.Add("Vary", "Accept-Encoding")
    
    		gw := gzipPool.Get().(*gzip.Writer)
    		gw.Reset(hw)
    
    		w.w = gw
    	default:
    		w.w = hw
    	}
    
    	header.Set("Content-Type", w.mediaType)
    	hw.WriteHeader(w.statusCode)
    	return w.w.Write(p)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 18:21:43 UTC 2023
    - 10.6K bytes
    - Viewed (0)
Back to top