Commit 8e0add42 authored by zhangxiaoyu-zidif's avatar zhangxiaoyu-zidif

hollow-node.go:delete useless para. and import

parent 7c76e399
...@@ -18,7 +18,6 @@ package main ...@@ -18,7 +18,6 @@ package main
import ( import (
"fmt" "fmt"
"time"
"k8s.io/apimachinery/pkg/util/sets" "k8s.io/apimachinery/pkg/util/sets"
"k8s.io/apiserver/pkg/util/flag" "k8s.io/apiserver/pkg/util/flag"
...@@ -56,9 +55,8 @@ type HollowNodeConfig struct { ...@@ -56,9 +55,8 @@ type HollowNodeConfig struct {
} }
const ( const (
maxPods = 110 maxPods = 110
podsPerCore = 0 podsPerCore = 0
configResyncPeriod = 15 * time.Minute
) )
var knownMorphs = sets.NewString("kubelet", "proxy") var knownMorphs = sets.NewString("kubelet", "proxy")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment