Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for host3 (0.19 sec)

  1. pkg/config/validation/validation_test.go

    			}},
    		}, valid: false},
    		{name: "delegate with no hosts", in: &networking.VirtualService{
    			Hosts: nil,
    			Http: []*networking.HTTPRoute{{
    				Route: []*networking.HTTPRouteDestination{{
    					Destination: &networking.Destination{Host: "foo.baz"},
    				}},
    			}},
    		}, valid: true},
    		{name: "bad host", in: &networking.VirtualService{
    			Hosts: []string{"foo.ba!r"},
    			Http: []*networking.HTTPRoute{{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/gateway_test.go

    						Gateways: []string{"testns/gateway2"},
    						Hosts:    []string{"*"},
    						Tcp: []*networking.TCPRoute{{
    							Route: []*networking.RouteDestination{{Destination: &networking.Destination{Host: "example.com"}}},
    						}},
    					},
    				},
    			},
    			[]string{"0.0.0.0_443"},
    		},
    		{
    			"gateway with multiple HTTPS servers with bind and same host",
    			&pilot_model.Proxy{},
    			[]config.Config{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 144K bytes
    - Viewed (0)
  3. pkg/config/validation/validation.go

    			}
    		}
    
    		// Check for duplicate hosts
    		// Duplicates include literal duplicates as well as wildcard duplicates
    		// E.g., *.foo.com, and *.com are duplicates in the same virtual service
    		if allHostsValid {
    			for i := 0; i < len(virtualService.Hosts); i++ {
    				hostI := host.Name(virtualService.Hosts[i])
    				for j := i + 1; j < len(virtualService.Hosts); j++ {
    					hostJ := host.Name(virtualService.Hosts[j])
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  4. tests/integration/pilot/common/routing.go

    		name: "set host header in route and multi destination",
    		config: `
    apiVersion: networking.istio.io/v1alpha3
    kind: VirtualService
    metadata:
      name: default
    spec:
      hosts:
      - {{ (index .dst 0).Config.Service }}
      http:
      - route:
        - destination:
            host: {{ (index .dst 0).Config.Service }}
          headers:
            request:
              set:
                Host: dest-authority
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    				diskMap[k] = struct{}{}
    			}
    		}
    	}
    	jobID := r.Form.Get("by-jobID")
    
    	hosts := strings.Split(r.Form.Get("hosts"), ",")
    	byHost := strings.EqualFold(r.Form.Get("by-host"), "true")
    	var hostMap map[string]struct{}
    	if len(hosts) > 0 && hosts[0] != "" {
    		hostMap = make(map[string]struct{}, len(hosts))
    		for _, k := range hosts {
    			if k != "" {
    				hostMap[k] = struct{}{}
    			}
    		}
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  6. operator/cmd/mesh/testdata/manifest-generate/data-snapshot.tar.gz

    generated. type: integer vhost: description: Match a specific virtual host in a route configuration and apply the patch to the virtual host. properties: name: description: The VirtualHosts objects generated by Istio are named as host:port, where the host typically corresponds to the VirtualService's host field or the hostname of a service in the registry. type: string route: description: Match a specific route within the virtual host. properties: action: description: Match a route with specific action...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 198.1K bytes
    - Viewed (0)
  7. pkg/proxy/nftables/proxier_test.go

    				{"10.0.1.1", testHostname},
    				{"10.0.1.2", "host1"},
    				{"10.0.1.3", "host2"},
    			},
    		},
    		{
    			name:                  "internalTrafficPolicy is set and there are no local endpoints",
    			internalTrafficPolicy: ptr.To(v1.ServiceInternalTrafficPolicyLocal),
    			endpoints: []endpoint{
    				{"10.0.1.1", "host0"},
    				{"10.0.1.2", "host1"},
    				{"10.0.1.3", "host2"},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/cluster_test.go

    	}
    }
    
    func withClusterLocalHosts(m *meshconfig.MeshConfig, hosts ...string) *meshconfig.MeshConfig { // nolint:interfacer
    	m.ServiceSettings = append(append(make([]*meshconfig.MeshConfig_ServiceSettings, 0), m.ServiceSettings...),
    		&meshconfig.MeshConfig_ServiceSettings{
    			Settings: &meshconfig.MeshConfig_ServiceSettings_Settings{
    				ClusterLocal: true,
    			},
    			Hosts: hosts,
    		})
    	return m
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet_pods.go

    	if useHostNetwork {
    		// if Pod is using host network, read hosts file from the node's filesystem.
    		// `etcHostsPath` references the location of the hosts file on the node.
    		// `/etc/hosts` for *nix systems.
    		hostsFileContent, err = nodeHostsFileContent(etcHostsPath, hostAliases)
    		if err != nil {
    			return err
    		}
    	} else {
    		// if Pod is not using host network, create a managed hosts file with Pod IP and other information.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  10. pkg/proxy/ipvs/proxier_test.go

    				{"10.0.1.1", testHostname},
    				{"10.0.1.2", "host1"},
    				{"10.0.1.3", "host2"},
    			},
    		},
    		{
    			name:                  "internalTrafficPolicy is set and there are no local endpoints",
    			internalTrafficPolicy: ptr.To(v1.ServiceInternalTrafficPolicyLocal),
    			endpoints: []endpoint{
    				{"10.0.1.1", "host0"},
    				{"10.0.1.2", "host1"},
    				{"10.0.1.3", "host2"},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
Back to top