Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for hostnames (0.15 sec)

  1. tests/integration/pilot/common/routing.go

    }
    
    var ConsistentHostChecker echo.Checker = func(result echo.CallResult, _ error) error {
    	hostnames := make([]string, len(result.Responses))
    	for i, r := range result.Responses {
    		hostnames[i] = r.Hostname
    	}
    	scopes.Framework.Infof("requests landed on hostnames: %v", hostnames)
    	unique := sets.SortedList(sets.New(hostnames...))
    	if len(unique) != 1 {
    		return fmt.Errorf("expected only one destination, got: %v", unique)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_pods_test.go

    		output string
    	}{
    		"valid hostname": {
    			input:  "test.pod.hostname",
    			output: "test.pod.hostname",
    		},
    		"too long hostname": {
    			input:  "1234567.1234567.1234567.1234567.1234567.1234567.1234567.1234567.1234567.", // 8*9=72 chars
    			output: "1234567.1234567.1234567.1234567.1234567.1234567.1234567.1234567",          //8*8-1=63 chars
    		},
    		"hostname end with .": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_pods.go

    	hostname := pod.Name
    	if len(pod.Spec.Hostname) > 0 {
    		if msgs := utilvalidation.IsDNS1123Label(pod.Spec.Hostname); len(msgs) != 0 {
    			return "", "", fmt.Errorf("pod Hostname %q is not a valid DNS label: %s", pod.Spec.Hostname, strings.Join(msgs, ";"))
    		}
    		hostname = pod.Spec.Hostname
    	}
    
    	hostname, err := truncatePodHostnameIfNeeded(pod.Name, hostname)
    	if err != nil {
    		return "", "", err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  4. pkg/apis/core/zz_generated.deepcopy.go

    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *HostAlias) DeepCopyInto(out *HostAlias) {
    	*out = *in
    	if in.Hostnames != nil {
    		in, out := &in.Hostnames, &out.Hostnames
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostAlias.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/core/v1/zz_generated.deepcopy.go

    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *HostAlias) DeepCopyInto(out *HostAlias) {
    	*out = *in
    	if in.Hostnames != nil {
    		in, out := &in.Hostnames, &out.Hostnames
    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HostAlias.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 181.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testdata/swagger.json

          "type": "object"
        },
        "io.k8s.api.core.v1.HostAlias": {
          "description": "HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.",
          "properties": {
            "hostnames": {
              "description": "Hostnames for the above IP address.",
              "items": {
                "type": "string"
              },
              "type": "array"
            },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 229.4K bytes
    - Viewed (0)
  7. pkg/config/validation/validation.go

    	if destination == nil {
    		return
    	}
    
    	hostname := destination.Host
    	if hostname == "*" {
    		errs = appendErrors(errs, fmt.Errorf("invalid destination host %s", hostname))
    	} else {
    		errs = appendErrors(errs, agent.ValidateWildcardDomain(hostname))
    	}
    	if destination.Subset != "" {
    		errs = appendErrors(errs, validateSubsetName(destination.Subset))
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/cluster_builder_test.go

    			Port:     9090,
    			Protocol: protocol.Unsupported,
    		},
    	}
    	service := &model.Service{
    		Hostname:   host.Name("foo.default.svc.cluster.local"),
    		Ports:      servicePort,
    		Resolution: model.ClientSideLB,
    		Attributes: model.ServiceAttributes{
    			Namespace: TestServiceNamespace,
    		},
    	}
    	http2Service := &model.Service{
    		Hostname:   host.Name("foo.default.svc.cluster.local"),
    		Ports:      http2ServicePort,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/cluster_test.go

    							Namespace: "default",
    						},
    						Hostname: "a.default",
    					},
    					Port: model.ServiceInstancePort{
    						ServicePort: &model.Port{
    							Port: 80,
    						},
    					},
    				},
    				{
    					Service: &model.Service{
    						Attributes: model.ServiceAttributes{
    							Name:      "b",
    							Namespace: "default",
    						},
    						Hostname: "b.default",
    					},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_node_status_test.go

    						v1.LabelHostname:                "new-hostname",
    						v1.LabelFailureDomainBetaZone:   "new-zone-failure-domain",
    						v1.LabelFailureDomainBetaRegion: "new-zone-region",
    						v1.LabelInstanceType:            "new-instance-type",
    					},
    				},
    			},
    			needsUpdate: true,
    			finalLabels: map[string]string{
    				v1.LabelHostname:                "new-hostname",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
Back to top