Small fixes to Kubemark scripts

pull/6/head
gmarek 2015-09-01 15:35:38 +02:00
parent abe5a7d5ad
commit 7cfb3479e0
3 changed files with 3 additions and 4 deletions

View File

@ -29,6 +29,6 @@ cp kubernetes/server/bin/kubemark /
cp kubernetes/server/bin/kubectl /
rm -rf /tmp/*
apt-get remove -y build-essential
apt-get remove -y build-essential
apt-get clean -y
apt-get autoremove -y

View File

@ -1,5 +1,5 @@
/*
Copyright 2014 The Kubernetes Authors All rights reserved.
Copyright 2015 The Kubernetes Authors All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@ -602,7 +602,6 @@ func SimpleKubelet(client *client.Client,
fileCheckFrequency, httpCheckFrequency, minimumGCAge, nodeStatusUpdateFrequency, syncFrequency time.Duration,
maxPods int,
) *KubeletConfig {
imageGCPolicy := kubelet.ImageGCPolicy{
HighThresholdPercent: 90,
LowThresholdPercent: 80,

View File

@ -18,7 +18,7 @@
sudo docker run --net=host -d gcr.io/google_containers/etcd:2.0.12 /usr/local/bin/etcd --addr=127.0.0.1:4001 --bind-addr=0.0.0.0:4001 --data-dir=/var/etcd/data
# Increase the allowed number of open file descriptors
+ulimit -n 65536
ulimit -n 65536
tar xzf kubernetes-server-linux-amd64.tar.gz