Commit Graph

209 Commits (093ceb95288498830943e6a9655acb02d1375f47)

Author SHA1 Message Date
Jeremy Jongepier a3e0d90a50 Added check for noexec mount of /tmp on master 2016-04-14 10:59:12 +02:00
derekwaynecarr e3d58499db ResourceQuota should be last admission controller 2016-04-12 13:40:52 -04:00
k8s-merge-robot d221649429 Merge pull request #22845 from ZhangZhenhua/eliminate-roles-ambiguity
Auto commit by PR queue bot
2016-03-21 21:30:15 -07:00
Mike Spreitzer 2712b77652 Change default k8s version to download to 1.2.0
Since it is now out!
2016-03-18 11:41:11 -04:00
ZhenhuaZhang 496ed99cea declear roles as roles_array internally when installing on ubuntu
There are actually two `roles` setting in ubuntu installation scripts.
One is roles as string, which can be set as env and then used in scripts.
The other is roles as array, which is used by internal handling to
locate specific role by offset.

This patch tries to distinguish roles meaning by declearing the second
as roles_array, thus eliminating its ambiguity.
2016-03-18 14:59:43 +08:00
yeasy d250b00add Fix word typo
envitonment --> environment
2016-03-09 10:17:54 +08:00
k8s-merge-robot 4643ac46a3 Merge pull request #22546 from MikeSpreitzer/issue/22139
Auto commit by PR queue bot
2016-03-05 11:27:02 -08:00
ZhenhuaZhang 9c5d82d9bd fix setting node roles error in deployment on ubuntu
Configurations in config-default.sh should take default values if they
are set outside of the script. `roles` option is an exception. This
patch fix it to maintain consistency behavior with other options.
2016-03-01 10:55:04 +08:00
Mike Spreitzer c33ceff623 Updated default k8s release to 1.1.8 in cluster/ubuntu/download-release.sh
Resolves issue #22139
2016-02-27 22:32:58 -05:00
Mike Spreitzer 6b8e7e158e Fixed typos, bash uses elif 2016-02-23 13:26:26 -05:00
Mike Spreitzer 22246291e3 Support a CNI plugin as an alternative to Flannel
Resolves issue #20292
2016-02-22 11:29:55 -05:00
laushinka 7ef585be22 Spelling fixes inspired by github.com/client9/misspell 2016-02-18 06:58:05 +07:00
k8s-merge-robot db758dda64 Merge pull request #21046 from MikeSpreitzer/issue/20992
Auto commit by PR queue bot
2016-02-15 21:54:18 -08:00
k8s-merge-robot 396287aad9 Merge pull request #21110 from MikeSpreitzer/issue/21037
Auto commit by PR queue bot
2016-02-15 01:15:20 -08:00
Mike Spreitzer 4d55dbe69f Introduced envar KUBE_PROXY_EXTRA_OPTS
Resolves #21168
2016-02-12 18:42:51 -05:00
Mike Spreitzer 07d7cfd346 Fetch hacked easyrsa in kube-up instead of command run on master
This is good because it removes an obstacle to using the
cluster/ubuntu scripting to install Kubernetes into a restricted
environment where the machines can not open connections to arbitrary
external locations.

Also add debuggability to make-ca-cert.sh

Resolves #21037
Resolves #21092
2016-02-12 14:11:53 -05:00
Mike Spreitzer 43285f872e Deploy dashboard instead of extiinct kube-ui
Updated cluster/ubuntu/deployAddons.sh to deploy the UI that exists
rather than the old one that no longer exists.

Resolves #20992
2016-02-12 11:47:18 -05:00
Mike Spreitzer 5dc3daf9a8 Update Kubernetes release version from 1.1.4 to 1.1.7 in download-release.sh
.. in cluster/ubutuntu/download-release.sh

Resolves issue #21039
2016-02-10 23:08:59 -05:00
k8s-merge-robot f2ed6f6ce8 Merge pull request #20474 from mqliang/ununtu-check-pods-torn-down
Auto commit by PR queue bot
2016-02-06 15:12:43 -08:00
k8s-merge-robot d082357259 Merge pull request #20138 from jetsanix/fix-ubuntu
Auto commit by PR queue bot
2016-02-02 05:20:31 -08:00
mqliang e9de110a5d fix the bug that ubuntu check-pods-torn-down doesn't take into account terminating pods nor pods in other namespaces 2016-02-02 14:22:16 +08:00
Brendan Burns 4f845ad6e1 Merge pull request #19642 from MikeSpreitzer/issue/19618
Introduce FLANNEL_OTHER_NET_CONFIG
2016-01-27 12:20:11 -08:00
jet tsang zeon-git 9ea4f6b6d9 fix kube-up without DOCKER_OPTS 2016-01-25 07:15:20 +08:00
Jean-Francois Chevrette c5dca43427 remove etcd dependency on sysv init scripts 2016-01-21 13:38:27 -05:00
Mike Spreitzer bf671f5723 Fix reference to kubernetes release
Replace old repo name with https://github.com/kubernetes/kubernetes.
Update default release to the latest, which is 1.1.4.
2016-01-18 23:54:36 -05:00
Mike Spreitzer d4ab9663c4 Introduce FLANNEL_OTHER_NET_CONFIG
.. so allow configuration of other fields in, usually,
/coreos.com/network/config in etcd.

Fixes #19618
2016-01-14 01:27:13 -05:00
Mike Spreitzer f23e4fb37b Make deployAddons.sh ensure KUBE_CONFIG_FILE is defined
Fixes #19484
2016-01-13 23:12:11 -05:00
He Simei 5d92dd4cb8 fix typo 2015-12-17 09:51:07 +08:00
Robert Bailey 74d568815b Fix a typo in #18490. 2015-12-16 09:00:13 -08:00
k8s-merge-robot c6299c48db Merge pull request #18490 from ZJU-SEL/configurable-kubelet-config
Auto commit by PR queue bot
2015-12-15 22:20:27 -08:00
He Simei 1571edfb94 propagate config file 2015-12-11 16:50:05 +08:00
k8s-merge-robot 1b90941841 Merge pull request #18456 from thockin/bump-flannel-ver
Auto commit by PR queue bot
2015-12-11 00:34:39 -08:00
Tim Hockin 6b830cf229 Fix a couple flannel invocations I missed 2015-12-10 11:48:46 -08:00
k8s-merge-robot 8847c6dba8 Merge pull request #17877 from ZJU-SEL/vxlan
Auto commit by PR queue bot
2015-12-10 07:24:41 -08:00
k8s-merge-robot 184171c583 Merge pull request #17615 from hpcloud/source-config-default
Auto commit by PR queue bot
2015-12-10 05:14:02 -08:00
He Simei 86d5a23238 make --config for kubelet configurable 2015-12-10 19:52:02 +08:00
He Simei c46957ed5e specify advertise-address for api-server 2015-12-10 10:49:11 +08:00
Arsen Mamikonyan 693213656b Add --config=/etc/kubernetes/manifests to kubelet 2015-12-08 15:33:47 -08:00
Robert Roland ebeb7bc524 Removing quoting of the PROXY_SETTING value.
When PROXY_SETTING is empty, you end up an empty
command of "", as witnessed by this bash debug
output when +x is enabled:

    + '' /home/ubuntu/kube/make-ca-cert.sh 10.0.0.232 IP:10.0.0.232,IP:192.168.3.1,DNS:kubernetes,DNS:kubernetes.default,DNS:kubernetes.default.svc,DNS:kubernetes.default.svc.cluster.local

Given the example:

    PROXY_SETTING="http_proxy=http://server:port https_proxy=https://server:port"

You would not want this quoted on the script executed
on the remote master or minion node.

Enabling +e, for additional tracing and to
abort on any failure in the remote SSH session.

Adding a DEBUG parameter into config-default.sh allowing additional
debug information to be present in the logs during node rollout, using
bash's "set -x" when DEBUG=true
2015-12-08 07:53:02 -08:00
Robert Roland 6698ac6dcc Need to source the config-default.sh file before modifying the /etc/default/docker file, otherwise the DOCKER_OPTS set there do not get applied to new minion nodes. 2015-12-08 07:52:11 -08:00
k8s-merge-robot ffd5725690 Merge pull request #18008 from ZJU-SEL/multi-nic
Auto commit by PR queue bot
2015-12-05 05:50:33 -08:00
k8s-merge-robot 8c182c2713 Merge pull request #18002 from wiwiwa/systemd
Auto commit by PR queue bot
2015-12-03 09:18:48 -08:00
He Simei cab6c13ea2 ubuntu with multi-nic 2015-12-03 15:31:15 +08:00
samuel shan c55ab7d63e ubuntu: skip download binaries if specified version exists 2015-12-03 10:37:02 +08:00
jiangyaoguo a739fc44c4 keep kubeproxy hostname consistent with kubelet 2015-11-28 10:47:29 +08:00
Harry Zhang eae12de67c Use vxlan as default backend 2015-11-27 14:24:14 +00:00
Brad Erickson 53172a5356 Minion->Node rename: NUM_NODES 2015-11-25 00:45:10 -08:00
k8s-merge-robot 2371cdaac4 Merge pull request #17419 from ZJU-SEL/fix-ubuntu-etcd-flag
Auto commit by PR queue bot
2015-11-23 03:19:17 -08:00
He Simei e0bcf11abf upgrade k8s to v1.1.2 on ubuntu 2015-11-21 11:29:41 +08:00
He Simei 5ebff99dbf fix etcd flag for ubuntu 2015-11-21 10:17:07 +08:00
He Simei 208d65ab59 kube-down gracefully 2015-11-19 15:38:27 +08:00
He Simei cc9fff8e92 fix kube-up workflow 2015-11-18 14:54:32 +08:00
He Simei b836f0cf85 fix messy quote thing 2015-11-18 09:47:33 +08:00
He Simei 8749638b9e clean up deployment script for ubuntu 2015-11-17 09:29:34 +08:00
k8s-merge-robot 142eae0f78 Merge pull request #14912 from thaerlo/master
Auto commit by PR queue bot
2015-11-11 02:17:38 -08:00
k8s-merge-robot fb7520153d Merge pull request #16921 from buzzy/master
Auto commit by PR queue bot
2015-11-10 12:01:51 -08:00
Harry Zhang 88f65d5dfb Declare function-specific variables with local 2015-11-08 09:20:21 +00:00
k8s-merge-robot 8fd069ded2 Merge pull request #16850 from ZJU-SEL/set-kubectl-path
Auto commit by PR queue bot
2015-11-08 00:15:20 -08:00
He Simei ba5b65ece2 set valid kubectl path for ubuntu 2015-11-07 10:47:18 +08:00
Daniele Testa dd2a77f73a Always use $SSH_OPTS on SSH connections 2015-11-06 16:57:18 +00:00
Joe Beda 993c1ee222 Update etcd to 2.2.1 2015-11-04 12:26:57 -08:00
Jeff Lowdermilk de4f29f1f5 Load or generate auth from kubeconfig on kube-up
Allows loading existing auth from kubeconfig on kube-up if a
valid KUBE_CONTEXT is specified, instead of always force
regenerating auth (basic or token) when creating a new cluster.
2015-10-30 10:19:40 -07:00
k8s-merge-robot 0aa62edaf5 Merge pull request #13897 from darron/patch-1
Auto commit by PR queue bot
2015-10-21 02:20:03 -07:00
He Simei d45fc707dd minor clean upstart script for ubuntu 2015-10-18 18:37:01 +08:00
k8s-merge-robot 4008c65323 Merge pull request #15135 from ZJU-SEL/upgrade-flannel
Auto commit by PR queue bot
2015-10-13 07:07:18 -07:00
He Simei 3e9905bb07 fix incorrect upstart script for ubuntu 2015-10-08 13:57:22 +08:00
He Simei c41eda7309 kube-down gracefully 2015-10-08 13:30:37 +08:00
He Simei 51f1570710 upgrade flannel to 0.5.3 2015-10-08 13:28:58 +08:00
thaerlo 6e6c5375d2 Changed config-default.sh: deleting the DenyEscalatingExec option from ADMISSION_CONTROL, so kube-apiserver can start correctly.
Changed util.sh: provision-* functions so every flannel interface is created after starting the etcd service and reconfDocker.sh with the "i" option is launched after every flannel interface is up and running.
2015-10-04 22:03:54 -04:00
He Simei d593c42e42 deprecate unknown admission control 2015-10-01 12:45:36 +08:00
He Simei be14f720c4 upgrade k8s to 1.0.6 for ubuntu 2015-10-01 12:45:36 +08:00
Brian Grant dc9a094e1f Merge pull request #14251 from zhengguoyong/del-whitespace2
delete the front whitespace of the annotation
2015-09-24 16:52:42 -07:00
Brian Grant e7fa5d4df8 Merge pull request #12646 from Huawei-PaaS/ubuntu_verify_cluster_timeout
remove duplicated cluster verify logic in ubuntu deployments scripts.
2015-09-24 16:44:45 -07:00
eulerzgy 6e92c9393a change minion to node 2015-09-23 17:49:22 +08:00
eulerzgy f6ce2eb4be delete the front whitespace of the annotation 2015-09-21 19:14:26 +08:00
k8s-merge-robot 83192aac45 Merge pull request #13964 from liguangbo/fix_make_ca_cert_proxy
Auto commit by PR queue bot
2015-09-19 00:15:54 -07:00
k8s-merge-robot cad5f03311 Merge pull request #14185 from tmrts/formatting
Auto commit by PR queue bot
2015-09-18 15:16:00 -07:00
Tamer Tas cb5f921df1 Add newline to the end of bash scripts 2015-09-18 19:35:05 +03:00
k8s-merge-robot 1a46238bf2 Merge pull request #13962 from ZJU-SEL/enhance-deploy-ubuntu
Auto commit by PR queue bot
2015-09-18 08:40:30 -07:00
liguangbo c907bac6c8 Fix easy-rsa download time out in ubuntu deployment script 2015-09-18 17:37:04 +08:00
He Simei b1907f5b1e export KUBE_VERSION 2015-09-18 14:14:20 +08:00
k8s-merge-robot 445fde3dc5 Merge pull request #13447 from pweil-/pid-mode
Auto commit by PR queue bot
2015-09-16 23:34:35 -07:00
Paul Weil ed80c2b940 pid mode 2015-09-15 13:51:44 -04:00
He Simei 873eb3292f enhance deployment for ubuntu 2015-09-15 17:17:27 +08:00
He Simei ebeaf70658 support kube-up using local binaries for ubuntu 2015-09-14 10:49:55 +08:00
darron froese d0e1781d2b Update open file limit for etcd
etcd was constantly restarting with too many open files until I gave it more room on Ubuntu 14.04

https://gist.github.com/darron/2aadb8f30f3dd6f580bf

This is a more sensible default - but it may not be enough depending on how many minion nodes there are.
2015-09-12 15:44:47 -06:00
He Simei 1db999c4cb fix kube-push for ubuntu 2015-09-09 21:48:48 +08:00
Chao Xu a85481b329 Merge pull request #13381 from Huawei-PaaS/upgrade_k8s_cluster_for_ubuntu
Add ubuntu kube-push for upgrading of k8s cluster
2015-09-08 09:05:51 -07:00
He Simei 442a22d114 tear down resources before tear down the cluster 2015-09-07 11:03:45 +08:00
He Simei a4fc22c849 deprecate etcd on node 2015-09-05 17:23:06 +08:00
derekwaynecarr 06bbe00642 Remove NamespaceExists from configuration 2015-09-03 13:42:09 -04:00
huangyuqi 85729403fd Add ubuntu kube-push for upgrading of k8s cluster 2015-08-31 19:15:11 +00:00
He Simei ffe9bb0e25 upgrade to v1.0.3, refactor the guide 2015-08-28 16:43:01 +08:00
Kevin b1ecd645ac ubuntu deploy scripts: change process start failed message in verify-master() and verify-minion() 2015-08-27 14:34:29 +00:00
Kevin 0705ef9495 add time out exit when process not started correctly on master or minion 2015-08-27 14:34:29 +00:00
Nikhil Jindal 411d78dac3 Merge pull request #13068 from jlowdermilk/no-reuse-auth
Don't reuse credentials on cluster create
2015-08-24 15:56:36 -07:00
Jeff Lowdermilk 438216844f Stop reusing basic auth on cluster create 2015-08-22 11:45:46 -07:00
Zach Loafman 9a8eef33fa Merge pull request #12700 from bjlee72/util-sudo-patch
Fix the problem that the script cannot remove existing installations …
2015-08-21 16:03:26 -07:00
qiaolei b6d7a1737b Update util.sh
Modify cluster/{vsphere,rackspace,azure,ubuntu}/util.sh, replace "~/.kubernetes_auth" with "${KUBECONFIG:-$DEFAULT_KUBECONFIG}"
2015-08-14 18:47:31 +08:00
Byungjoon Lee cdc2567787 Fix the problem that the script cannot remove existing installations because sudo keyword is missing. 2015-08-14 12:28:11 +09:00