mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. error out empty hostname **What this PR does / why we need it**: For linux, the hostname is read from file `/proc/sys/kernel/hostname` directly, which can be overwritten with whitespaces. Should error out such invalid hostnames. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes kubernetes/kubeadm#835 **Special notes for your reviewer**: /cc luxas timothysc **Release note**: ```release-note nodes: improve handling of erroneous host names ``` |
||
---|---|---|
.. | ||
async | ||
bandwidth | ||
config | ||
configz | ||
conntrack | ||
dbus | ||
ebtables | ||
env | ||
file | ||
filesystem | ||
flag | ||
flock | ||
goroutinemap | ||
hash | ||
initsystem | ||
interrupt | ||
io | ||
ipconfig | ||
ipset | ||
iptables | ||
ipvs | ||
keymutex | ||
labels | ||
limitwriter | ||
maps | ||
metrics | ||
mount | ||
net | ||
netsh | ||
node | ||
normalizer | ||
nsenter | ||
oom | ||
parsers | ||
pod | ||
procfs | ||
reflector/prometheus | ||
removeall | ||
resizefs | ||
resourcecontainer | ||
rlimit | ||
selinux | ||
slice | ||
strings | ||
sysctl | ||
system | ||
tail | ||
taints | ||
template | ||
term | ||
threading | ||
tolerations | ||
version | ||
workqueue/prometheus | ||
BUILD | ||
verify-util-pkg.sh |