Commit Graph

160 Commits (fd1771e7ae9f6cf118d173f00c215ba570626c3e)

Author SHA1 Message Date
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
Byungjoon Lee 5de9094652 Fix the problem that Kubernetes UI is not installed by deployAddons.sh script in Ubuntu environment. 2015-08-12 15:33:07 +09:00
Marek Grabowski 5f9cefc1d8 Merge pull request #12441 from vlajos/typofixes-vlajos-20150807
typofix - https://github.com/vlajos/misspell_fixer
2015-08-10 16:33:52 +02:00
Philibert Dugas 02bf08069d Tuned the kube-proxy upstart script to be in line with:
https://github.com/GoogleCloudPlatform/kubernetes/issues/5461

Upstart scripts need to specify explicitely the nofile limit
2015-08-08 23:29:56 -04:00
Veres Lajos 9f77e49109 typofix - https://github.com/vlajos/misspell_fixer 2015-08-08 22:31:48 +01:00
qiaolei 2fd47194bd Initialize global variable MINION_IPS in setClusterInfo function
Initialize global variable MINION_IPS in setClusterInfo function.
MINION_IPS is defined as a global variable, and is concatenated with other nodeIP.
When setClusterInfo is called for many times, this could cause potential problems.
Such as, you will have MINION_IPS=192.168.0.2,192.168.0.3,192.168.0.2,192.168.0.3 which is obviously wrong.

Update util.sh
2015-08-07 11:23:02 +00:00
Dawn Chen 0d1f2cd227 Merge pull request #12075 from Huawei-PaaS/issue_ubuntu_cluster
Remove legacy files when stop the cluster
2015-08-06 10:54:21 -07:00
Kevin bc2306d4e9 bug fix: DOCKER_OPTS not works
When deploying the kubernetes using Ubuntu's script, the value of configuration item `DOCKER_OPTS` is not set to `/etc/default/docker`.
This commit is to fix this bug.
2015-08-06 16:50:44 +00:00
Jian Huang 7b5a6e906e Remove kubelet files for a clean teardown
Remove /var/lib/kubelet folder in order to gain a more clean environment
2015-08-06 21:16:13 +08:00
Dawn Chen 86630a26f3 Merge pull request #12260 from bjlee72/patch-1
Redundant groupadd
2015-08-05 15:34:52 -07:00
Dawn Chen f66809daef Merge pull request #11559 from PhilibertDugas/master
Fixed ubuntu upstart scripts for etcd
2015-08-05 15:04:14 -07:00
Byungjoon Lee 448da93122 Redundant groupadd
util.sh had redundant groupadd, which cause the following error:

groupadd: Permission denied.
groupadd: cannot lock /etc/group; try again later.
2015-08-05 17:45:17 +09:00
Alex Mohr a0daf32a56 Merge pull request #12115 from eddiesimeon/patch-1
Auto commit by PR queue bot
2015-08-03 20:06:44 -07:00
Alex Mohr 84af5f0dd1 Merge pull request #11944 from mamikonyana/flannel_net_config
Propagate FLANNEL_NET to reconfDocker.sh
2015-08-03 15:12:23 -07:00
eddiesimeon dbffa44ed7 No such file or directory error: make-ca-cert
When executing kube-up on a ubuntu cluster I'm getting the following error:
bash: /root/kube/make-ca-cert: No such file or directory
Removed line as it is invalid and is duplicated by another line.
2015-08-03 14:09:06 -04:00
Eddie Simeon e67f8ae05a For the ubuntu cluster, master and minion services should respawn.
This will allow more successful kube-up.sh executions. Since kube-apiserver doesn't start on the first try after etcd first starts up possibly due to the lack of resources on my server.
2015-08-01 23:04:35 -04:00
Arsen Mamikonyan 2916101a99 Propagate FLANNEL_NET to reconfDocker.sh if it was set using environment variable 2015-07-31 22:24:39 -07:00
Jian Huang bb28684f43 Update util.sh
When we deploy the kubernetes using Ubuntu's script. 
1. First we set the roles "ai i i" and NUM_MINIONS=3, it runs as expected.
2. Then we change the roles to "a i i" and NUM_MINIONS=2, we found it will not run successfully.

It's because there are history files left on the previous deployment. 
This commit will delete the files when stop the cluster.
2015-07-31 17:25:13 +08:00
Arsen Mamikonyan 792849251a Allow settings --service-node-port-range option using a config variable 2015-07-30 12:39:32 -07:00
He Simei a67be8e8ab deprecate outdated param 2015-07-29 13:57:14 +08:00
Piotr Szczesniak f48543aba5 Made enabling Kube UI configurable 2015-07-27 08:23:04 +02:00
Mike Danese 13c5761268 Merge pull request #11358 from ZJU-SEL/upgradek8s
[WIP]upgrade ubuntu bare-metal k8s to 1.0.1
2015-07-24 10:22:43 -07:00
wizard 9b82c4716a upgrade k8s to 1.0.1 2015-07-24 13:31:52 +08:00
Piotr Szczesniak 06b3406cef Added possibility to overwrite ENABLE_CLUSTER_DNS with env var
It's for autoscaling tests purposes and making the config consistent with
other flags like ENABLE_NODE_LOGGING
2015-07-23 10:25:06 +02:00
Philibert Dugas 069c84cb51 Fixed ubuntu upstart scripts for etcd 2015-07-19 19:11:12 -04:00
wizard f7779a8162 update kubedns on ubuntu 2015-07-10 09:57:00 +08:00
wizard 69b55b82f8 update k8s to 0.19.3 2015-07-10 09:57:00 +08:00
Wojciech Tyczynski e80a193664 Merge pull request #9943 from mamikonyana/override_ubuntu_defaults
Do not override environment variable in ubuntu defaults
2015-07-09 09:21:26 +02:00
Satnam Singh 96c4e587ad Change config files to kube-system which were missed in the original PR 2015-07-07 01:05:19 -07:00
Arsen Mamikonyan 38c3bdfa45 Do not override environment variable in ubuntu defaults and ubuntu/build.sh 2015-07-02 13:10:54 +01:00
Alex Robinson af533b2b2a Merge pull request #10275 from ddysher/ubuntu-flannel
Ubuntu cluster: run flannel on master
2015-06-29 16:30:31 -07:00
Eric Paris 58df58f3d7 Remove unused enable_node_monitoring option
Back in 1a7f7245e7 we dropped the one
place this was used, but left all of the variable and definitions and
garbage around cluster/
2015-06-25 20:57:56 -04:00
Deyuan Deng 6f765708ad Ubuntu cluster: properly formatting shell scripts 2015-06-23 23:07:23 -04:00
Deyuan Deng 09a274a7a5 Ubuntu cluster: run flannel on master 2015-06-23 23:07:17 -04:00
wizard 509c3f5b94 hot fix for ubuntu k8s 2015-06-18 14:34:10 +08:00
Jeff Lowdermilk 822fcacce4 Add missing source to ubuntu/util.sh 2015-06-17 09:21:38 -07:00
Jeff Lowdermilk 47901b7edd Remove the last provider-specific handling in kubectl.sh, ginkgo-e2e.sh 2015-06-16 10:58:04 -07:00
wizard 73b7128941 bump the k8s version to 0.18.0 2015-06-02 13:18:45 +08:00
resouer c86e626e35 Add trap-add in util.sh 2015-05-29 11:04:47 +08:00
Tim Hockin ac3cc3c518 Rename PORTAL_NET all over 2015-05-28 16:10:44 -07:00
Tim Hockin 3005471100 Add new apiserver flags for clusterIP (nee portal)
Leave old flags but marked as deprecated
2015-05-28 16:10:44 -07:00
Tim Hockin 4318ca5a8b Rename 'portal IP' to 'cluster IP' most everywhere
This covers obvious transforms, but not --portal_net, $PORTAL_NET and
similar.
2015-05-28 16:10:44 -07:00
Tim Hockin 16db5a9c69 Merge pull request #8621 from MCyprien/util-verify-prereqs
ubuntu cluster utils.sh verify-ssh-prereqs
2015-05-27 12:43:56 -07:00
wizard ca0d82dd44 add kubectl fix#8373 2015-05-24 16:33:11 +08:00
Marc Cyprien 36b2f2dd04 PR for [#8559](https://github.com/GoogleCloudPlatform/kubernetes/issues/8559) 2015-05-21 16:16:53 +02:00
wizard a070bad50f update etcd version to 2.0.9 for ubuntu k8s 2015-05-21 12:51:39 +08:00
wizard 4a8406ee8e use v0.15.0 dns manifest 2015-05-16 10:11:42 +08:00
Victor Marmol def22b51c8 Merge pull request #8046 from ZJU-SEL/add-ubuntu-test-build-release
add func test-build-release
2015-05-14 09:07:04 -07:00
Derek Carr 9454d58547 Merge pull request #8127 from liggitt/service_account_admission
Add ServiceAccount admission plugin
2015-05-13 14:03:11 -04:00
Jordan Liggitt e5d47081a2 Add ServiceAccount admission plugin 2015-05-12 15:19:05 -04:00