Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for truncatedHostname (0.21 sec)

  1. pkg/kubelet/kubelet_pods.go

    		return hostname, nil
    	}
    	truncated := hostname[:hostnameMaxLen]
    	klog.ErrorS(nil, "Hostname for pod was too long, truncated it", "podName", podName, "hostnameMaxLen", hostnameMaxLen, "truncatedHostname", truncated)
    	// hostname should not end with '-' or '.'
    	truncated = strings.TrimRight(truncated, "-.")
    	if len(truncated) == 0 {
    		// This should never happen.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
Back to top