Remove the rkt deprecation warning

The feature was deprecated 1.10. Remove the warning.
pull/564/head
Yu-Ju Hong 2019-01-10 13:27:23 -08:00
parent a7cb03f4cf
commit f8ab673b8f
1 changed files with 0 additions and 4 deletions

View File

@ -611,10 +611,6 @@ func NewMainKubelet(kubeCfg *kubeletconfiginternal.KubeletConfiguration,
klet.resourceAnalyzer = serverstats.NewResourceAnalyzer(klet, kubeCfg.VolumeStatsAggPeriod.Duration)
if containerRuntime == "rkt" {
klog.Fatalln("rktnetes has been deprecated in favor of rktlet. Please see https://github.com/kubernetes-incubator/rktlet for more information.")
}
// if left at nil, that means it is unneeded
var legacyLogProvider kuberuntime.LegacyLogProvider