Commit 89f06990 authored by gmarek's avatar gmarek

Increase MaxPods in Kubemark

parent 3caa6caa
......@@ -49,6 +49,10 @@ type HollowNodeConfig struct {
ServerPort int
}
const (
maxPods = 110
)
var knownMorphs = sets.NewString("kubelet", "proxy")
func (c *HollowNodeConfig) addFlags(fs *pflag.FlagSet) {
......@@ -110,6 +114,7 @@ func main() {
config.KubeletPort,
config.KubeletReadOnlyPort,
containerManager,
maxPods,
)
hollowKubelet.Run()
}
......
......@@ -43,6 +43,7 @@ func NewHollowKubelet(
dockerClient dockertools.DockerInterface,
kubeletPort, kubeletReadOnlyPort int,
containerManager cm.ContainerManager,
maxPods int,
) *HollowKubelet {
testRootDir := integration.MakeTempDirOrDie("hollow-kubelet.", "")
manifestFilePath := integration.MakeTempDirOrDie("manifest", testRootDir)
......@@ -71,7 +72,7 @@ func NewHollowKubelet(
10*time.Second, /* NodeStatusUpdateFrequency */
10*time.Second, /* SyncFrequency */
5*time.Minute, /* OutOfDiskTransitionFrequency */
40, /* MaxPods */
maxPods,
containerManager,
nil,
),
......
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