Commit Graph

973 Commits (8d57a44192b71d95f922836d1b30282737e509bf)

Author SHA1 Message Date
k8s-merge-robot 6173c43c80 Merge pull request #23724 from maciaszczykm/dashboard-release-v1.0.1
Automatic merge from submit-queue

Update Dashboard UI addon to v1.0.1

Release details:
https://github.com/kubernetes/dashboard/releases/tag/v1.0.1

CC @bryk
2016-04-04 14:30:20 -07:00
Marcin Maciaszczyk 7250028484 Update Dashboard UI addon to v1.0.1
Release details:
https://github.com/kubernetes/dashboard/releases/tag/v1.0.1
2016-04-04 09:13:31 +02:00
k8s-merge-robot b448825211 Merge pull request #23603 from mikedanese/dont-create-secret-for-dns
Automatic merge from submit-queue

stop creating secrets for dns, it uses the kube-system service account now
2016-04-02 17:20:52 -07:00
Justin Santa Barbara d54a7f03c6 AWS kube-up: default some variables to empty, to avoid warnings
The warnings printed were harmless, but they are not obviously so.
2016-04-01 22:26:51 -04:00
k8s-merge-robot c6e995a824 Merge pull request #23558 from andyzheng0831/enhance
Automatic merge from submit-queue

Trusty: Regional release .tar.gz support

@zmerlynn and @roberthbailey please review it. This change is to support the feature added in PR #22234. The entire logic is pretty much the same as in #22234, with only few minor changes in implementation.

I had manually run e2e tests with "export RELEASE_REGION_FALLBACK=true" on two clusters: (1) Trusty on master nodes on ContainerVM; (2) Master and nodes all on trusty. All tests are green. I don't figure out a way to simulate regional fallback. But I did test the function download_or_bust() out-of-box.

cc/ @wonderfly @dchen1107 @fabioy FYI.
2016-04-01 03:39:08 -07:00
Alex Robinson 7135754f93 Merge pull request #23504 from mml/mb
Stop swallowing stdout and stderr when we check for the staging bucket.
2016-03-31 14:39:46 -07:00
CJ Cullen 26a6c66de5 Change kube-proxy & fluentd CPU request to 20m/80m. 2016-03-30 18:14:24 -07:00
Mike Danese 0a821a473d stop create secrets for dns, it uses the kube-system service account now 2016-03-29 14:27:28 -07:00
Andy Zheng a83f11c484 Trusty: Regional release .tar.gz support 2016-03-28 15:21:14 -07:00
k8s-merge-robot 299de8e53c Merge pull request #23434 from andyzheng0831/kube-addon
Auto commit by PR queue bot
2016-03-27 21:48:47 -07:00
Matt Liggett 300855c5bb Stop swallowing stdout and stderr when we check for the staging bucket.
Should help debug #23461
2016-03-25 15:01:21 -07:00
Andy Zheng 364ac85179 Support differentiation of OS distro in e2e tests 2016-03-25 14:53:36 -07:00
Yaroslav Molocko 0bfc496496 fix for https://github.com/kubernetes/kubernetes/issues/13511 2016-03-25 22:29:09 +08:00
Andy Zheng bfd68b35d8 Trusty: Update heapster manifest handling code 2016-03-24 09:22:30 -07:00
k8s-merge-robot f8bb10b479 Merge pull request #22818 from andyzheng0831/enhance
Auto commit by PR queue bot
2016-03-23 16:19:31 -07:00
k8s-merge-robot 4d98abf26c Merge pull request #23313 from zmerlynn/container-vm-v20160321
Auto commit by PR queue bot
2016-03-21 20:55:33 -07:00
Zach Loafman b2cf4b8c11 Bump to container-vm-v20160321 2016-03-21 17:42:34 -07:00
k8s-merge-robot f2d14990a5 Merge pull request #23180 from roberthbailey/dead-code
Auto commit by PR queue bot
2016-03-21 17:30:22 -07:00
Andy Zheng 0a8e68fb49 Trusty: Avoid reaching GCE custom metadata size limit 2016-03-20 10:22:50 -07:00
Andy Zheng 2ea9ef53f3 Trusty: Support hybrid cluster with nodes on ContainerVM 2016-03-19 22:47:35 -07:00
Robert Bailey c5ca042ede Remove the restart-kube-proxy and restart-apiserver functions
since neither are used any longer.
2016-03-18 01:49:01 -07:00
Andy Zheng e276c8e468 Trusty: support developer workflow on base image 2016-03-15 22:07:08 -07:00
Andy Zheng 6597daddd6 Trusty: Fix heapster breakage caused by #22940 2016-03-15 13:26:04 -07:00
Matt Margolin e752f2149f Enable non_masquerade_cidr option configured in salt.grains
This should allow allow the non_masquerade_cidr option to get configured
in /etc/salt/minion.d/grains.conf, allowing the flag to used by kubelet
in /etc/sysconfig/kubelet. Default configuration is set in pillar
2016-03-15 09:56:33 -04:00
Andy Zheng ab20a9adbe Trusty: Fix node kubelet pod-cidr flag 2016-03-14 21:09:21 -07:00
gmarek c325319ccb Default MIG size to 1000 2016-03-14 12:21:14 +01:00
k8s-merge-robot 9f213bf145 Merge pull request #22901 from zmerlynn/cleanup_motd
Auto commit by PR queue bot
2016-03-14 00:05:46 -07:00
Zach Loafman 634c5a9ff0 Cleanup /etc/motd after doc link shift 2016-03-12 12:57:30 -08:00
Andy Zheng 10d9f72341 Trusty: fix several bugs 2016-03-11 21:29:50 -08:00
k8s-merge-robot 31903c8bb1 Merge pull request #22594 from justinsb/aws_ulite
Auto commit by PR queue bot
2016-03-10 10:15:28 -08:00
k8s-merge-robot 36cb9d05ea Merge pull request #22728 from spxtr/tidy-shell
Auto commit by PR queue bot
2016-03-09 13:59:13 -08:00
k8s-merge-robot ea4280a814 Merge pull request #22670 from spxtr/ssh-timeout
Auto commit by PR queue bot
2016-03-09 09:18:18 -08:00
Joe Finney 401985bf6c Move KUBERNETES_PROVIDER setting into cluster/kube-util.sh. 2016-03-08 16:51:20 -08:00
Mike Danese 2d3b8ab1eb enable master kubelet in gce-default to match gce-test 2016-03-08 11:14:15 -08:00
k8s-merge-robot 43aa3d34ab Merge pull request #18338 from gmarek/register-kubelet
Auto commit by PR queue bot
2016-03-08 11:10:36 -08:00
bryk d4c4e7c22c Update Dashboard UI addon to v1.0.0
Release details:
https://github.com/kubernetes/dashboard/releases/tag/v1.0.0
2016-03-08 10:21:36 +01:00
Joe Finney e660adbad8 Add connect timeout to ssh-to-node. 2016-03-07 13:29:04 -08:00
Andy Zheng 0df50b702a Support regional registries in clusters on Trusty 2016-03-06 13:53:24 -08:00
k8s-merge-robot bc96422e23 Merge pull request #22571 from zmerlynn/regional-registry
Auto commit by PR queue bot
2016-03-06 13:21:19 -08:00
k8s-merge-robot e5a908c898 Merge pull request #22476 from ixdy/cluster-logs
Auto commit by PR queue bot
2016-03-05 23:06:29 -08:00
Justin Santa Barbara 523e1d0d8c Ubernetes-Lite: reuse existing configuration when reusing master
In particular, we need to share the kubelet cert & key, otherwise we
can't connect to the kube-api.

Fix #22593
2016-03-05 17:00:02 -05:00
k8s-merge-robot 271784e5fa Merge pull request #21167 from andyzheng0831/trusty-release
Auto commit by PR queue bot
2016-03-05 01:57:52 -08:00
Zach Loafman 60e1fccc7f Regional registries: Hack the manifests!
Allow the gcr.io/google_containers registry to be overridden
regionally by just blasting a new KUBE_ADDON_REGISTRY out. Instead of
adding every addon to Salt and asking all of the other consumers
(Trusty, Juju, Mesos, etc) to change, just script the sed ourselves.

This is probably the 9th grossest thing I've ever done, but it works
well, and it works quickly. I kind of wish it didn't.
2016-03-04 20:00:54 -08:00
Abhi Shah 506f4d2212 Merge pull request #22551 from dchen1107/test1
Enable --log-level=info for docker daemons for scalability jenkins jo…
2016-03-04 16:50:19 -08:00
Abhi Shah c47564f00b Merge pull request #22542 from timstclair/heapster
Use the summary_api with heapster by default
2016-03-04 13:37:52 -08:00
Dawn Chen fd10ca2f45 Enable --log-level=info for docker daemons for jenkins jobs and e2e tests except soak-continuous. 2016-03-04 13:31:42 -08:00
Andy Zheng 242b9977c7 Remove manifest copies from Trusty support
This change revises the way to provide kube-system manifests for clusters on Trusty. Originally, we maintained copies of some manifests under cluster/gce/trusty/kube-manifests, which is not scalable and hard to maintain. With this change, clusters on Trusty will use the same source of manifests as ContainerVM. This change also fixes some minor problems such as shell variables and comments to meet the style guidance better.
2016-03-04 11:16:49 -08:00
Abhi Shah 4d599ea309 Merge pull request #22261 from gmarek/kube-up
kube-up for GCE chooses master size based on number of nodes
2016-03-04 10:55:12 -08:00
Abhi Shah f9c4b3db1e Merge pull request #22493 from andyzheng0831/enhance
Fix a breakage of kubelet in Trusty
2016-03-04 10:50:03 -08:00
Abhi Shah bfe4896b00 Merge pull request #22043 from roberthbailey/cluster-name
Add the GCE cluster name to instance metadata
2016-03-04 10:43:39 -08:00
Abhi Shah 05ba8ca7fa Merge pull request #22170 from metmajer/master
Pass through EXTRA_DOCKER_OPTS.
2016-03-04 10:40:17 -08:00
Tim St. Clair 1d90394bf6 Use the summary_api with heapster by default 2016-03-04 10:37:00 -08:00
Jeff Lowdermilk 93e14a63e8 Revert "Enable --log-level=info for docker daemons for scalability jenkins jo…" 2016-03-03 19:21:11 -08:00
Andy Zheng e077ebf874 Fix a breakage of kubelet in Trusty
The kubelet flag "nosystem" was removed recently, which breaks kubelet in Trusty. This changes remove the flag usage accordingly. It also revises several aspects of Trusty support to make it in the same page as running on ContainerVM, such as new flags in kubelet and new logic in api-server and etcd pods.
2016-03-03 17:19:00 -08:00
Jeff Lowdermilk 7215860ecd Merge pull request #22453 from dchen1107/test1
Enable --log-level=info for docker daemons for scalability jenkins jo…
2016-03-03 16:29:34 -08:00
Jeff Grafton d70c516d4f Remove log collection code in cluster/gce/util.sh.
Also update some docs to mention cluster/log-dump.sh.
2016-03-03 15:28:33 -08:00
Jeff Lowdermilk 5fd2de1d1e Merge pull request #22394 from zmerlynn/display_licenses
Show LICENSES in /etc/motd
2016-03-03 15:20:24 -08:00
Robert Bailey 30b78e4d7f Add the GCE cluster name to instance metadata. 2016-03-03 13:57:31 -08:00
Jeff Lowdermilk 73479d5209 Merge pull request #22441 from thockin/flake-22244-gce-static-ip
Check static IP postcondition if op fails
2016-03-03 11:38:50 -08:00
Dawn Chen 84689a7a69 Enable --log-level=info for docker daemons for scalability jenkins job and e2e test. 2016-03-03 11:11:56 -08:00
Tim Hockin 6dca871693 Check static IP postcondition if op fails 2016-03-03 08:20:12 -08:00
k8s-merge-robot 2cf3c7809e Merge pull request #21471 from justinsb/kube_up_auto_upgrade
Auto commit by PR queue bot
2016-03-02 21:00:43 -08:00
Jeff Lowdermilk 5214ae1c89 Merge pull request #22313 from andyzheng0831/fix
Fix a breakage of kube-proxy in Trusty
2016-03-02 16:19:02 -08:00
Zach Loafman 820842036b Show LICENSES in /etc/motd
Plumb through from the server tarball to
/usr/local/share/docs/kubernetes/LICENSES, then display in the motd.
2016-03-02 15:23:17 -08:00
k8s-merge-robot 940e0a9b94 Merge pull request #22360 from justinsb/pass_hash_to_download_or_bust
Auto commit by PR queue bot
2016-03-02 10:47:48 -08:00
k8s-merge-robot a6e534ff6a Merge pull request #21745 from bryk/release-beta1
Auto commit by PR queue bot
2016-03-02 08:33:56 -08:00
Justin Santa Barbara b058c6b3e1 AWS: Add sha to download-or-bust
download-or-bust was changed on the GCE side to verify a hash if passed,
so we need to pass a hash in the AWS scripts that reuse this function.
2016-03-02 10:12:39 -05:00
gmarek 6a873e04d2 kube-up for GCE chooses master size based on number of nodes 2016-03-02 12:27:54 +01:00
k8s-merge-robot c9accdfd57 Merge pull request #22234 from zmerlynn/regional-buckets
Auto commit by PR queue bot
2016-03-02 03:01:54 -08:00
Joe Finney 74515a6b23 Fix detect-nodes in cluster/gce/util.sh. 2016-03-01 17:12:43 -08:00
Andy Zheng 0ee1bd6160 Fix a breakage of kube-proxy in Trusty
PR #22022 added a new variable "cpurequest" in kube-proxy.manifest. This makes kubelet in Trusty fail to start the kube-proxy pod as this variable value is not set.
2016-03-01 14:57:37 -08:00
Zach Loafman 5a031bf52c GCE startup: Regional release .tar.gz support
* In kube-up.sh, create a staging bucket with a location nearest the
zone being created. If new variable RELEASE_REGION_FALLBACK is set
(default false), create multiple buckets and stage to fallback
URLs. (In open source, this path is primarily for testing.)

* In configure-vm.sh, split the URL env variables by comma (if any
extra are present) and retry on the fallback URLs. Also factor the
hash checking into this path rather than outside, since a corrupt
release in a particular geo can be retried in a different geo.

* Remove the local already-staged .tar.gz checks. They've caused
several issues along the way, and with this code path become virtually
unmaintainable. (I could add a sentinel for each bucket it's possibly
staged to, but ew.)
2016-03-01 09:59:39 -08:00
k8s-merge-robot a40f8fb4d8 Merge pull request #21827 from spxtr/upgrade-subgroup
Auto commit by PR queue bot
2016-03-01 05:29:47 -08:00
Martin Etmajer f1b2fc39ba Pass through EXTRA_DOCKER_OPTS. 2016-02-29 19:46:58 +01:00
bryk 1fa320bac9 Set Dashboard UI addon version to latest release
Release details:
https://github.com/kubernetes/dashboard/releases/tag/v1.0.0-beta1
2016-02-29 16:17:14 +01:00
Justin Santa Barbara 8b122b102f kube-up: Only upgrade if AUTO_UPGRADE set, but set it on AWS
Installing upgrades is kind of dangerous, so make it not the default.
But also set AUTO_UPGRADE=true on AWS.
2016-02-27 20:55:33 -05:00
Justin Santa Barbara ee58dc22d7 Merge pull request #21673 from gmarek/kube-down
Auto commit by PR queue bot
2016-02-27 19:21:18 -05:00
k8s-merge-robot 43792754d8 Merge pull request #21469 from wojtek-t/parallel_namespace_deletion
Auto commit by PR queue bot
2016-02-27 07:26:49 -08:00
Fabio Yeon 30a9cb26bd Merge pull request #22083 from zmerlynn/take-out-apt-get
configure-vm.sh: Only "apt-get update" when we need to install a package
2016-02-26 14:53:28 -08:00
k8s-merge-robot fb1ee74e78 Merge pull request #21917 from yifan-gu/gce_coreos_cloud_config
Auto commit by PR queue bot
2016-02-26 14:50:15 -08:00
Zach Loafman 43cb32ab1c configure-vm.sh: Only "apt-get update" when we need to install a package
Factors out package install and checks for package before "apt-get update"

Also fix another "echo sleep 5".

Fixes #22071
2016-02-26 13:47:36 -08:00
Fabio Yeon 1460dceea4 Merge pull request #21004 from roberthbailey/gce-e2e-admission-controllers
Remove the SecurityContextDeny admission controller so that the testing environment matches the production environment
2016-02-26 13:13:44 -08:00
k8s-merge-robot 286e017e35 Merge pull request #21720 from zmerlynn/i20878
Auto commit by PR queue bot
2016-02-26 07:27:44 -08:00
Wojciech Tyczynski 506899008f Parallelization of namespace deletion 2016-02-25 16:33:25 +01:00
gmarek 98eb12e1ed Update memory requirements for influxdb 2016-02-25 16:15:54 +01:00
Robert Bailey a238d90d49 Remove the SecurityContextDeny admission controller so that the
testing environment matches the production environment. This
was removed from config-default.sh in #16986.
2016-02-24 21:07:16 -08:00
Yifan Gu aff803bed9 gce/coreos: Refactor the downloading command to handle errors better. 2016-02-24 12:06:56 -08:00
gmarek 053e882622 kube-down looks for instance templates even if instance group does not exists 2016-02-24 11:15:45 +01:00
Joe Finney 372d1b6020 Remove check for rolling-updates gcloud subgroup. 2016-02-23 17:45:44 -08:00
Zach Loafman e85cf1bb97 Attempt to delete node-template before retry
I don't think we've seen this commonly, so I'm proposing a simplistic
fix for now.

Fixes #20878
2016-02-22 16:09:15 -08:00
Jeff Lowdermilk c406665b2b Plumb node labels through salt
Expose node-labels flag on kubelet for gce via a startup script
env var.
2016-02-22 15:31:34 -08:00
Dawn Chen 699c80b752 Merge pull request #21641 from bprashanth/promisc
Teach the kubelet about promiscuous mode, take 2
2016-02-22 15:08:18 -08:00
k8s-merge-robot 85018f728e Merge pull request #21258 from gmarek/heapster
Auto commit by PR queue bot
2016-02-22 01:24:58 -08:00
k8s-merge-robot 1ce188e557 Merge pull request #21430 from spxtr/e2e-internal
Auto commit by PR queue bot
2016-02-21 12:08:22 -08:00
k8s-merge-robot d6192dd152 Merge pull request #21342 from spxtr/remove-e2e-test
Auto commit by PR queue bot
2016-02-21 00:39:38 -08:00
Prashanth Balasubramanian 2e8ff81de1 Teach the kubelet about --hairpin-mode=promiscuous-bridge. 2016-02-20 22:40:54 -08:00
k8s-merge-robot 65b5d0cbf4 Merge pull request #21269 from gmarek/metrics-grabber
Auto commit by PR queue bot
2016-02-20 16:37:16 -08:00
Daniel Smith a8b943dddd Revert "Put the container bridge in promiscuous mode." 2016-02-19 23:14:53 -08:00
Prashanth Balasubramanian a694a7ae4b Teach the kubelet about --hairpin-mode=promiscuous-bridge. 2016-02-19 14:59:16 -08:00
Phillip Wittrock 8151021369 Merge pull request #21508 from mml/slow-flake
Also retain docker and kubelet logs.
2016-02-18 18:53:20 -08:00
Zach Loafman 7f94e3ecdc Bump container-vm in 1.2 to container-v1-2-v20160218 (prerelease) 2016-02-18 15:00:50 -08:00
Matt Liggett 58283aff67 Also retain docker and kubelet logs.
Still trying to debug #20916
2016-02-18 13:32:18 -08:00
Phillip Wittrock be803eaf64 Merge pull request #21439 from zmerlynn/container-vm-v20160217
Bump GCE to container-vm-v20160217
2016-02-18 11:39:54 -08:00
k8s-merge-robot 5acdb92126 Merge pull request #21177 from laushinka/spelling-fixes
Auto commit by PR queue bot
2016-02-18 10:29:49 -08:00
Justin Santa Barbara b70f1c1220 kube-up: install updates & reboot automatically on boot
We run unattened-upgrades manually, and then reboot automatically if we
find /var/run/reboot-required; then we check if any services need
restarting and restart them automatically using the needrestart tool.

This should mean we don't _have_ to build new images on every security
update, though we can do so to avoid a reboot.

Issue #21382
2016-02-18 12:52:43 -05:00
Joe Finney 2b756ca56d Move E2E kube-up call into test-setup from e2e-internal. 2016-02-17 16:49:07 -08:00
Zach Loafman c8d90f1a61 Bump GCE to container-vm-v20160217 2016-02-17 16:39:58 -08:00
laushinka 7ef585be22 Spelling fixes inspired by github.com/client9/misspell 2016-02-18 06:58:05 +07:00
Madhusudan.C.S f06a195855 Remove all {KUBE_,}ENABLE_{DEPLOYMENT,DAEMONSET} variables from all our bash scripts. 2016-02-17 15:04:28 -08:00
Madhusudan.C.S e647804ba4 Replica set is enabled by default now, so it is not necessary to explicitly enable it in the test config script. 2016-02-17 15:03:15 -08:00
Madhusudan.C.S ab1e9c200f Graduate DaemonSet to v1beta1 API, enable it by default. 2016-02-17 15:03:12 -08:00
Phillip Wittrock a8744279eb Merge pull request #21347 from yujuhong/health_check
Switch to using `docker version` as health check
2016-02-17 14:48:44 -08:00
k8s-merge-robot 207b90ae63 Merge pull request #19578 from quinton-hoole/2016-01-04-ube-lite-e2e
Auto commit by PR queue bot
2016-02-17 04:29:48 -08:00
Dawn Chen 1af5c9f7b2 Disable REGISTER_MASTER_KUBELET for gce default configuration since
no one is working on e2e tests.
2016-02-16 15:32:32 -08:00
Yu-Ju Hong b92e2903fa Switched to using `docker version` as health check
`docker ps` can sometimes take a long time to finish, and restarting
docker in this case doesn't help.
2016-02-16 15:10:15 -08:00
Joe Finney 6f7182e500 Remove hack/e2e-test.sh in favor of hack/e2e.go. 2016-02-16 14:54:50 -08:00
Quinton Hoole b4a3559807 Add Jenkins e2e test job for multi-zone Ubernetes Lite 2016-02-16 13:07:17 -08:00
k8s-merge-robot a0489cb54b Merge pull request #21297 from yifan-gu/add_dashborad_addons
Auto commit by PR queue bot
2016-02-16 13:00:11 -08:00
k8s-merge-robot 13b2a8a60b Merge pull request #21191 from zmerlynn/change-motd
Auto commit by PR queue bot
2016-02-16 06:07:35 -08:00
k8s-merge-robot 2299547ca5 Merge pull request #21183 from mml/slow-flake
Auto commit by PR queue bot
2016-02-16 05:12:50 -08:00
Yifan Gu c2c3ccdaa7 cluster/gce/coreos: Replace kube-ui with dashboard in configure-node.sh 2016-02-16 16:46:33 +08:00
gmarek 63dd014412 Update SchedulerMetrics 2016-02-15 16:52:41 +01:00
k8s-merge-robot b1dedc0900 Merge pull request #21058 from gmarek/fix
Auto commit by PR queue bot
2016-02-15 06:12:27 -08:00
gmarek 9c722ba98e Update memory requirements for new Heapster 2016-02-15 14:05:47 +01:00
Matt Liggett c25331f251 Save the master logs to separate files rather than dumping to stdout. 2016-02-12 17:30:45 -08:00
Zach Loafman db01dec0a4 Reset /etc/motd to include version, a pointer to source image and GitHub
Companion to #21031
2016-02-12 17:29:23 -08:00
Mike Danese b8aa23f0fa Merge pull request #21194 from dchen1107/test1
Make master component pods burstable, instead of guaranteed.
2016-02-12 17:08:27 -08:00
Dawn Chen 64ca54c2cc Make master component's manifest consistent with the ones on debian 2016-02-12 14:56:12 -08:00
Dawn Chen 11a6d7df26 Make coreos's master component manifest consistent with debian ones. 2016-02-12 14:55:28 -08:00
Janet Kuo 2874f30c05 Enable Deployments by default 2016-02-12 12:29:14 -08:00
Mike Danese 2172e0dea0 Merge pull request #21108 from mml/slow-flake
Include some debug output when the API server never appears.
2016-02-12 11:27:12 -08:00
Matt Liggett 7a2e649745 Include some debug output when the API server never appears.
Helps with #20916
2016-02-11 16:33:35 -08:00
gmarek aa79f04aed Fix #21027 2016-02-11 22:25:08 +01:00
k8s-merge-robot f6ae6b47ae Merge pull request #20687 from vishh/systemd-support
Auto commit by PR queue bot
2016-02-11 13:06:29 -08:00
k8s-merge-robot 798b88e512 Merge pull request #20960 from andyzheng0831/fix
Auto commit by PR queue bot
2016-02-11 06:51:13 -08:00
Vishnu kannan c3b5d5774c Update flag values for cgroups managed by kubelet.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-10 17:33:29 -08:00
Vishnu kannan 51e4ccf106 Updating the default values for the cgroups hierarchies that kubelet
creates for managing the nodes.

Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-10 16:02:36 -08:00
k8s-merge-robot 646cb70fe3 Merge pull request #20905 from yifan-gu/add_command_in_templates
Auto commit by PR queue bot
2016-02-10 07:11:20 -08:00
k8s-merge-robot c0dd58c001 Merge pull request #20811 from mwielgus/cm-scripts
Auto commit by PR queue bot
2016-02-10 04:50:06 -08:00
k8s-merge-robot 372c9271ee Merge pull request #20871 from andyzheng0831/kube-addon
Auto commit by PR queue bot
2016-02-10 04:24:27 -08:00
Marcin b7d72ef36d Startup scripts for custom metrics 2016-02-10 12:32:04 +01:00
k8s-merge-robot e5a61c038b Merge pull request #20622 from wstrange/master
Auto commit by PR queue bot
2016-02-09 23:26:29 -08:00
Andy Zheng 126f3c4784 Fix kubelet and kube-proxy log level in Trusty
This change corrects how we determine the log level. Moreover, it explicitly redirects kubelet log to /var/log/kubelet.log, as we noticed it may miss sometimes.
2016-02-09 19:20:20 -08:00
Prashanth Balasubramanian c3a3a2bacd Pipe hairpin-mode flag through kubelet, enable on soak. 2016-02-09 12:12:19 -08:00
Yifan Gu 9f2d219331 cluster/gce/coreos: Add command in addon templates.
As appc spec only has one field for executable path
(Exec v.s. ENTRYPOINT + CMD), specifying only args
will override the image's original ENTRYPOINT.
2016-02-09 23:29:43 +08:00
k8s-merge-robot 68a165cda9 Merge pull request #20681 from justinsb/aws_sync_kubeup_gce_step3
Auto commit by PR queue bot
2016-02-09 02:08:48 -08:00
Andy Zheng 20444558a3 Fix two issues of master on Trusty
This change moves the code of running and monitoring addon pods in a daemon type upstart job, so that addon manifest monitoring can be restarted automatically upon failure. Second, it updates the usage of "kube-ui" to "dashboard" to match the change in PR #20330.
2016-02-08 16:46:18 -08:00
gmarek 208e98b58e Fix #20788 2016-02-08 10:21:04 +01:00
Justin Santa Barbara fd5c44c72e kube-up: Finish refactor of AWS to reuse GCE script
We override key functions in the GCE script with AWS equivalents.
2016-02-06 22:52:01 -05:00
k8s-merge-robot a08ac362a9 Merge pull request #19839 from madhusudancs/replicaset-e2e-enable
Auto commit by PR queue bot
2016-02-06 12:54:34 -08:00
k8s-merge-robot 9d981b696c Merge pull request #20642 from justinsb/aws_sync_kubeup_gce_step2
Auto commit by PR queue bot
2016-02-06 11:56:47 -08:00
Madhusudan.C.S 48c4173f5f Enable ReplicaSets in e2e tests. 2016-02-06 03:46:17 -08:00
k8s-merge-robot fe269474ca Merge pull request #20330 from bryk/kubernetes-dashboard
Auto commit by PR queue bot
2016-02-06 00:15:10 -08:00
Daniel Smith 75c1dcaacd Merge pull request #20463 from andyzheng0831/trusty-master
Support master on Ubuntu Trusty
2016-02-05 15:49:28 -08:00
bryk 46f51d74bb Set kubernetes-dashboard as the default UI addon
Dashboard release info:
https://github.com/kubernetes/dashboard/releases/tag/v0.1.0

This replaces kube-ui addon
2016-02-05 13:36:37 +01:00
Warren Strange fed1d947bc added shell guard in case var is not set 2016-02-04 16:45:20 -07:00
Justin Santa Barbara 732e76fb4e kube-up: Refactor SSL cert helpers into common
Next step in the the GCE/AWS harmonization
2016-02-04 09:10:41 -05:00
Warren Strange 24b06d805a Add preemtible option to master 2016-02-03 19:34:27 -07:00
Andy Zheng b103f0f279 Support master on Ubuntu Trusty
This change support running kubernetes master on Ubuntu Trusty.
It uses pure cloud-config and shell scripts, and completely gets
rid of saltstack or the release salt tarball.
2016-02-03 11:22:28 -08:00
Dan Williams fabb65c13f Add a network plugin that duplicates "configureCBR0" functionality 2016-02-03 10:08:08 -06:00
Jeff Lowdermilk 4a9b046515 Merge pull request #20432 from brendandburns/flake5
Don't re-check with gcloud for a firewall's existence to fix a potential flake.
2016-02-02 11:59:54 -08:00
Jeff Lowdermilk ec4b94aabc Merge pull request #20509 from yujuhong/docker_health
Change docker health checker to using `docker ps`
2016-02-02 11:50:04 -08:00
Yu-Ju Hong 156d301140 Change docker health checker to using `docker ps`
`docker ps` is a more reliable health check than docker version from past
experiences.
2016-02-02 11:08:21 -08:00
k8s-merge-robot 30375b21d6 Merge pull request #19776 from justinsb/aws_sync_kubeup_gce
Auto commit by PR queue bot
2016-02-01 14:44:18 -08:00
Brendan Burns 78c9a7718a Don't re-check with gcloud for a firewall's existence to fix a potential flake. 2016-02-01 14:17:36 -08:00
Fabio Yeon 574f354b73 Merge pull request #20143 from roberthbailey/list-resources-gke
Fix list-resources.sh to work with the GKE provider
2016-01-28 13:48:05 -08:00
Justin Santa Barbara c556e8f0f5 kube-up: Refactor kube-env into common; use in AWS
Use kube-env on the AWS master also
2016-01-28 10:31:51 -08:00
Justin Santa Barbara 4d88a4ed2c kube-up: move sha1sum-file into common
Also hash the tar files in AWS kube-up
2016-01-28 10:19:38 -08:00
Justin Santa Barbara ae75a7d259 kube-up: move build-runtime-config from AWS & GCE into common 2016-01-28 10:19:38 -08:00
Justin Santa Barbara 0df6f5d8c5 kube-up: move yaml-quote from GCE & AWS to common 2016-01-28 10:19:38 -08:00
k8s-merge-robot a95f1b84cb Merge pull request #17243 from yifan-gu/gce_coreos
Auto commit by PR queue bot
2016-01-27 13:02:20 -08:00
Zach Loafman cb9afa65f0 REALLY bump to container-vm-v20160127 2016-01-27 10:28:04 -08:00
Zach Loafman 727fb1a97a Bump to container-vm-v20160127 2016-01-27 09:22:07 -08:00
Robert Bailey a8cad507db Fix list-resources.sh to work with the GKE provider. Also update
the grep command to work for versions of grep that don't
understand '\s'.
2016-01-26 15:05:29 -08:00
Zach Loafman 23b4bfb370 Merge pull request #20126 from kubernetes/revert-19957-container-vm-v20160121
Revert "Bump to container-vm-v20160121"
2016-01-26 10:38:32 -08:00
Dawn Chen 93168c1ede Merge pull request #20036 from ihmccreery/instance-prefix
Use INSTANCE_PREFIX to prefix uploaded binaries in GCE
2016-01-25 16:07:13 -08:00
Zach Loafman abfbf68287 Revert "Bump to container-vm-v20160121" 2016-01-25 15:54:41 -08:00
Quinton Hoole 10f7985dfb Merge pull request #19995 from justinsb/gce_label_pd
Ubernetes-Lite GCE: Label volumes with zone information
2016-01-25 10:34:10 -08:00
Isaac Hollander McCreery 9477bc08a5 Use INSTANCE_PREFIX to prefix uploaded binaries in GCE, fixes #8705 2016-01-22 15:27:33 -08:00
Mike Danese 0fdaa41c5e cluster/gce: fix unbound variable 2016-01-22 14:42:32 -08:00
Justin Santa Barbara 88eeec4f13 GCE: Register the PersistentVolumeLabel admission controller 2016-01-22 17:16:39 -05:00
Yifan Gu 5817ca1c71 cluster/gce/coreos: Add scripts for configuring the master/node. 2016-01-21 16:32:15 -08:00
Yifan Gu 1705f4919f cluster/gce/coreos: Update master and node cloud config. 2016-01-21 16:32:15 -08:00
Yifan Gu fe70bf8485 cluster/gce/coreos: Upload templates during kube-up.
Also added create-master-instance() and create-node-instance-template()
2016-01-21 16:32:15 -08:00
Yifan Gu d7f4f6b3e0 cluster/gce/coreos: Add manifests for addons and master components. 2016-01-21 16:32:15 -08:00
Zach Loafman 5965252421 Bump to container-vm-v20151215
No new kubelet/docker. Bump kernel to address CVE-2016-0728.
2016-01-21 14:32:20 -08:00
Alex Mohr d8be60ee57 Merge pull request #19777 from justinsb/echo_sleep_is_silly
kube-up scripts: don't 'echo sleep'
2016-01-21 10:44:38 -08:00
Justin Santa Barbara 43cbfb74fe Ubernetes Lite GCE: Support multiple zones in GCE cloud provider
We adapt the existing code to work across all zones in a region.

We require a feature-flag to enable Ubernetes-Lite

Reasons:

* There are some behavioural changes if users create volumes with
the same name in two zones.
* We don't want to make one API call per zone if we're not running
Ubernetes-Lite.
* Ubernetes-Lite is still experimental.

There isn't a parallel flag implemented for AWS, because at the moment
there would be no behaviour changes from this.
2016-01-20 23:04:53 -05:00
Justin Santa Barbara 2958ea253a GCE: Allow for reuse of master
This is for internal use at the moment, for testing Ubernetes Lite, but
arguably makes the code a little cleaner.

Also rename KUBE_SHARE_MASTER -> KUBE_USE_EXISTING_MASTER
2016-01-20 15:37:00 -05:00
Justin Santa Barbara d2e65a89d0 kube-up scripts: don't 'echo sleep'
'echo sleep 5' just prints 'sleep 5'; replace with 'sleep 5'.
2016-01-17 21:29:01 -05:00
k8s-merge-robot bd8d37f6f2 Merge pull request #19522 from apcera/dev_python3
Auto commit by PR queue bot
2016-01-17 03:21:07 -08:00
Prashanth Balasubramanian 7a97163914 Remove undefined color_ variables. 2016-01-15 18:06:32 -08:00
Josh Ellithorpe 76e8a8b08d Fix issues with Python3 and bring up a dev cluster 2016-01-12 11:08:42 -08:00
Mike Danese 22cfa5ea7e build: move some of hack/lib/ into a new cluster/lib/
Some functionality in hack/lib is currently depended on by
cluster/common.sh so kube-up from the full release tar (which
does not include hack/) is currently broken. With this PR we
create cluster/lib/ and move the necessary bits from hack/
over to get kube-up working again.

Fixes: 96d1b8d1b2
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-11 17:10:26 -08:00
k8s-merge-robot b1e4831265 Merge pull request #19148 from andyzheng0831/trusty
Auto commit by PR queue bot
2016-01-06 17:29:48 -08:00
Andy Zheng d27e3ae8a1 Run kube-proxy in Trusty in a static pod.
We copy the manifest from salt configurations, and then remove the salt
content in the file and replace the variables with values.
2016-01-05 16:11:58 -08:00
Madhusudan.C.S 059c2aa799 Mitigate node out of disk status oscillation by delaying it.
Implement a flag that defines the frequency at which a node's out of
disk condition can change its status. Use this flag to suspend out of
disk status changes in the time period specified by the flag, after
the status is changed once.

Set the flag to 0 in e2e tests so that we can predictably test out of
disk node condition.

Also, use util.Clock interface for all time related functionality in
the kubelet. Calling time functions in unversioned package or time
package such as unversioned.Now() or time.Now() makes it really hard
to test such code. It also makes the tests flaky and sometimes
unnecessarily slow due to time.Sleep() calls used to simulate the
time elapsed. So use util.Clock interface instead which can be faked
in the tests.
2016-01-04 12:23:38 -08:00
k8s-merge-robot b4189f965e Merge pull request #19136 from gmarek/cleanup
Auto commit by PR queue bot
2016-01-02 08:02:30 -08:00
Vishnu kannan 72abc47930 Disable serializing image pulls for e2e tests.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2015-12-28 10:27:13 -08:00
gmarek d776a331de Pipe things written in salt pillars which was missing it through sed 2015-12-28 12:23:59 +01:00