• vefimova's avatar
    Fixed forming of pod's Search line in resolv.conf: · d9254397
    vefimova authored
     - exclude duplicates while merging of host's and dns' search lines to form pod's one
     - truncate pod's search line if it exceeds resolver limits: is > 255 chars and containes > 6 searches
     - monitoring the resolv.conf file which is used by kubelet (set thru --resolv-conf="") and logging and eventing if search line in it consists of more than 3 entries
       (or 6 if Cluster Domain is set) or its lenght is > 255 chars
     - logging and eventing when a pod's search line is > 255 chars or containes > 6 searches during forming
    Fixes #29270
    d9254397
kubelet_network.go 16.3 KB