mirror of https://github.com/k3s-io/k3s
Small fixes to Kubemark scripts
parent
abe5a7d5ad
commit
7cfb3479e0
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue