Andy Zheng
b8fd9e1a8d
Trusty: Add debug supports for docker and kubelet
2016-04-21 09:49:52 -07:00
Prashanth Balasubramanian
b066cb5357
Templatize l7 rc
2016-04-20 16:15:22 -07:00
k8s-merge-robot
70bfe6aeea
Merge pull request #24531 from andyzheng0831/manifest
...
Automatic merge from submit-queue
Trusty: Handle the new var in kube-proxy manifest
This is to capture the kube-proxy manifest change in PR #24429 .
@roberthbailey @fabioy @zmerlynn please review this change and mark it as cherry pick candidate. We need to catch up 1.2.3 release.
cc/ @dchen1107 @wonderfly @cjcullen FYI.
I have verified this fix. Without this fix, kube-proxy pod in Trusty nodes cannot be started correctly, i.e., the command line has an unhadled variable. And some other kube-system pods do not work correctly as kube-proxy is not working well. After applying this fix, kube-proxy can be started correctly, and all kube-system pods run successfully.
2016-04-20 10:48:39 -07:00
Mike Danese
e095f8c377
don't source the kube-env in addon-manager
2016-04-20 09:44:44 -07:00
Prashanth Balasubramanian
2ec06f8d4a
Generate a kube_uuid salt pillar.
2016-04-20 09:29:27 -07:00
Andy Zheng
7772b7f1ce
Trusty: Handle the new var in kube-proxy manifest
2016-04-20 08:27:41 -07:00
k8s-merge-robot
b274911e0e
Merge pull request #23829 from derekwaynecarr/fix_admission_order
...
Automatic merge from submit-queue
ResourceQuota should be last admission controller
For background, see documentation:
http://kubernetes.io/docs/admin/admission-controllers/#resourcequota
2016-04-20 04:58:04 -07:00
Yu-Ju Hong
e97eb4dc6a
Remove host port in influxdb-grafana-controller.yaml
...
There is no valid reason to keep the host ports in the pod spec.
2016-04-18 16:29:58 -07:00
k8s-merge-robot
26c99fee00
Merge pull request #24112 from cjcullen/rmcomments
...
Automatic merge from submit-queue
Strip comments from configure-vm.sh for gce
We are getting very close to the 32KiB limit on GCE metadata entry length. We used to strip comments before putting the value in metadata, but I think we removed it in a refactor because it wasn't absolutely necessary, and leaving it out made the scripts slightly cleaner. It's close to being necessary again.
Removing comments reduces the size from 31,609B to 27,221B: https://www.diffchecker.com/0xmmecvw .
2016-04-18 00:43:36 -07:00
Daniel Smith
7e666e0865
Merge pull request #24213 from mikedanese/max-time
...
add a timeout for a single retry in download-or-bust
2016-04-14 16:53:51 -07:00
Euan Kemp
9f9c54cdd2
jenkins: Allow configuration of release bucket
...
This allows others to leverage the existing E2E code to test some
patched kube binary by simply overriding the bucket and reusing many of
the existing scripts
2016-04-14 12:26:43 -07:00
k8s-merge-robot
a12cec52e5
Merge pull request #24172 from andyzheng0831/fix
...
Automatic merge from submit-queue
Trusty: Fixes for running GKE master
This PR includes two fixes for running GKE master on our image:
(1) The kubelet command line assembly had a missing part for cbr0. We did not catch it because the code path is not covered by OSS k8s tests;
(2) Remove the "" from the variables in the cert files. It causes a parsing issue in GKE. Again, this code path is not covered by k8s tests.
This PR also refactors the code for assembling kubelet flag. I move all logic into a single function assemble_kubelet_flags in configure-helper.sh for better readability and also simplify node.yaml and master.yaml.
@roberthbailey @dchen1107 please review it, and mark it as cherrypick-candidate. This PR is verified by @maisem. Together with his CL for GKE, we can run GKE cluster with master on our image and nodes on ContainerVM.
cc/ @maisem @fabioy @wonderfly FYI
2016-04-13 20:04:15 -07:00
Mike Danese
8e8c55a323
add a timeout for a single retry in download-or-bust
...
This only applies to gce kube-up. 60 seconds of open connection should
be sufficient for anything that we should be downloading. The release
tar is currently 255M.
2016-04-13 12:24:11 -07:00
Andy Zheng
b5a1595c98
Trusty: Fix master kubelet command assembly
2016-04-12 15:53:16 -07:00
derekwaynecarr
e3d58499db
ResourceQuota should be last admission controller
2016-04-12 13:40:52 -04:00
Andy Zheng
988f16a1e2
Trusty: Avoid unnecessary in-memory temp files
2016-04-11 15:55:01 -07:00
CJ Cullen
5a785698aa
Strip comments from configure-vm.sh for gce
2016-04-11 15:13:02 -07:00
Jeff Lowdermilk
e17213a2a8
Merge pull request #23491 from onorua/master
...
set KillMode for kubelet to process, fix for #13511
2016-04-08 16:39:32 -07:00
Jeff Lowdermilk
7720a16bcf
Merge pull request #23893 from mbhinder/kubernetes
...
Fixed typo: kuberntes -> kubernetes
2016-04-08 12:47:36 -07:00
Jeff Lowdermilk
d8f42f848d
Merge pull request #23996 from andyzheng0831/fix
...
Trusty: Do not create the docker-daemon cgroup
2016-04-08 12:45:16 -07:00
Jeff Lowdermilk
650d99fbd9
Fix list-resources grep
2016-04-08 12:19:24 -07:00
Andy Zheng
b1e18f3ca0
Trusty: Do not create the docker-daemon cgroup
2016-04-07 13:43:26 -07:00
Preet Bhinder
d178d78013
Fixed typo: kuberntes -> kubernetes
...
"Kubernetes" was misspelled in a couple of places.
2016-04-05 16:20:08 -07:00
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
gmarek
fc6247152b
Split levels of verbosity of test logging on components.
2015-12-28 11:41:09 +01:00
k8s-merge-robot
de338e88ff
Merge pull request #18784 from zmerlynn/test_containervm
...
Auto commit by PR queue bot
2015-12-20 15:46:50 -08:00
gmarek
e138ad3d43
Don't fail kube-down if no MIGs are present
2015-12-18 11:12:42 +01:00
k8s-merge-robot
f84c175e04
Merge pull request #18615 from ixdy/gce-cert-creation
...
Auto commit by PR queue bot
2015-12-17 07:15:13 -08:00
k8s-merge-robot
caae39b122
Merge pull request #18731 from mikedanese/disable-kube-push
...
Auto commit by PR queue bot
2015-12-16 13:57:31 -08:00
Zach Loafman
7996bf3393
Bump to container-vm-v20151215:
...
New kubelet version (which doesn't matter), no new Docker version, new
base bits. Cherry-pickable to 1.1.
2015-12-16 13:08:24 -08:00
k8s-merge-robot
582c84b562
Merge pull request #18485 from andyzheng0831/trusty-release
...
Auto commit by PR queue bot
2015-12-15 21:18:58 -08:00
Mike Danese
93a58415d6
disable kube-push in gce until it's fixed
2015-12-15 14:50:41 -08:00
k8s-merge-robot
9c77dabb1b
Merge pull request #18475 from andyzheng0831/fix
...
Auto commit by PR queue bot
2015-12-15 01:18:29 -08:00
gmarek
2b6c78818b
Allow creation of clusters larger than 500 nodes in GCE, take 2.
...
The change from the take 1 is to remove the suffix from the name of the
last MIG.
2015-12-14 14:02:26 +01:00
k8s-merge-robot
9067833a31
Merge pull request #18382 from yujuhong/resource_usage
...
Auto commit by PR queue bot
2015-12-13 21:23:29 -08:00
Jeff Grafton
7ac3b7d665
Print output from cert creation cmds on failure
2015-12-11 18:13:31 -08:00
Zach Loafman
9492fd6a80
Revert "Allow creation of clusters larger than 500 nodes"
2015-12-10 16:07:17 -08:00
Andy Zheng
75e23a3845
Add release support for trusty kube-system manifests.
...
This is a follow-up work for PR 18115. It adds release support for
kube-system manifests.
2015-12-10 10:47:01 -08:00
gmarek
0c6126911b
Allow creation of clusters larger than 500 nodes
2015-12-10 12:13:26 +01:00
Zach Loafman
f1f250c6b4
Merge pull request #18377 from roberthbailey/gcloud-prompts
...
Use gcloud install instead of gcloud update for components to remove the annoying prompt
2015-12-09 15:13:04 -08:00
Andy Zheng
317f778a05
Update the commandline of kubelet in Trusty nodes.
...
This change is to pick up the fix in PR #18178 . It avoids confusing
cadvisor when systemd is present in an instance but does not act
as the init system.
2015-12-09 14:57:32 -08:00
Zach Loafman
e264db4349
Merge pull request #17580 from mikedanese/stage-image
...
add an option to push/pull component images from a registry using kube-up
2015-12-09 13:49:45 -08:00
k8s-merge-robot
d0965bc440
Merge pull request #18115 from andyzheng0831/trusty
...
Auto commit by PR queue bot
2015-12-09 13:26:33 -08:00
Wojciech Tyczynski
fcca8b7e49
Merge pull request #18380 from roberthbailey/rsa-tarball-retries
...
Add retries to fetch the easy-rsa bundle from GCS.
2015-12-09 14:28:20 +01:00
k8s-merge-robot
89250980eb
Merge pull request #18376 from ixdy/list-resources-script
...
Auto commit by PR queue bot
2015-12-09 03:37:36 -08:00
Mike Danese
4ace8280a0
add an option to push/pull component images from a registry using kube-up
2015-12-08 14:19:30 -08:00
Robert Bailey
628ac539e8
Add retries to fetch the easy-rsa bundle from GCS.
...
Fixes #18335 .
2015-12-08 11:44:11 -08:00
Jeff Grafton
96f302d771
Quote string to preserve newlines in output
2015-12-08 11:27:49 -08:00
Robert Bailey
48a84bae68
Use gcloud install instead of gcloud update for components to remove
...
the annoying prompt.
Fixes #18374
2015-12-08 11:26:04 -08:00
gmarek
d62b910c88
Enable Masters Kubelet registration in gce-test by default
2015-12-08 10:28:09 +01:00
Yu-Ju Hong
c1a0502487
Change the kubelet --max-pods limit to 110 for test clusters
...
This allows resource usage monitoring test to launch 100 test pods per node, in
addition to the add-on pods.
Also reduce the test time length since the results over the shorter period are
representative enough.
2015-12-07 15:41:40 -08:00
gmarek
4060eba626
Use KubeletPort from API object, salt changes, take 2
...
This reverts commit a7425bf070
, reversing
changes made to 4a9b0fc715
.
2015-12-07 10:31:11 +01:00
k8s-merge-robot
f71f418a37
Merge pull request #18060 from brendandburns/startup
...
Auto commit by PR queue bot
2015-12-05 23:36:27 -08:00
Brendan Burns
15aa0c4415
Add a facility for custom user startup scripts via env variable
2015-12-04 16:13:24 -08:00
Andy Zheng
816b29536a
Prepare kube-system pods manifest for trusty nodes.
...
This change refactors the code of preparing kube-system manifests
for trusty based cluster. The manifests used by nodes do not contain
salt configuration, so we can simply copy them from the directory
cluster/saltbase/salt, make a tarball, and upload to Google Storage.
2015-12-04 15:43:29 -08:00
Brad Erickson
0bd16e0437
Minion->Node rename: kube-util hosting provider helper functions
2015-11-26 09:31:46 -08:00
k8s-merge-robot
0c4f302e5e
Merge pull request #17601 from eosrei/shell-var-MINION-to-NODE
...
Auto commit by PR queue bot
2015-11-26 05:02:44 -08:00
Brad Erickson
a506030e63
Minion->Node rename: PREEMPTIBLE_NODE
2015-11-25 00:45:10 -08:00
Brad Erickson
53172a5356
Minion->Node rename: NUM_NODES
2015-11-25 00:45:10 -08:00
Brad Erickson
e67be19a5b
Minion->Node rename: OLD_NODE_TAG, NODE_TAG
2015-11-25 00:45:09 -08:00
Brad Erickson
bd06c19aa8
Minion->Node rename: NODE_SIZE
2015-11-25 00:45:09 -08:00
Brad Erickson
1846cfc129
Minion->Node rename: NODE_ROOT_DISK_SIZE, NODE_ROOT_DISK_TYPE, etc
...
NODE_SCOPES
2015-11-25 00:45:09 -08:00
Brad Erickson
fc04b55088
Minion->Node rename: NODE_NAMES, NODE_NAME, NODE_PORT
2015-11-25 00:45:09 -08:00
Brad Erickson
83ed2fa22e
Minion->Node rename: NODE_DISK_SIZE, NODE_DISK_TYPE, NODE_HOSTNAME, etc
...
NODE_IDS
NODE_ID
NODE_IMAGE_PROJECT
NODE_IMAGE
2015-11-25 00:45:09 -08:00
Brad Erickson
ae314ad246
Minion->Node rename: KUBE_NODE_IP_ADDRESSES, KUBE_NODE_IP_ADDRESS
2015-11-25 00:43:52 -08:00
Brad Erickson
6b91b45eff
Minion->Node rename: IAM_PROFILE_NODE, KUBE_ENABLE_NODE_PUBLIC_IP, etc
...
KUBE_GCE_NODE_IMAGE, KUBE_GCE_NODE_PROJECT, KUBEMARK_NUM_NODES
2015-11-25 00:43:51 -08:00
Prashanth Balasubramanian
9aa0efa393
Turn flannel off by default
2015-11-25 09:43:48 +01:00
Prashanth Balasubramanian
ad2d3d4c20
Docs etc
2015-11-25 09:42:59 +01:00
Prashanth Balasubramanian
4cd1ee177b
Salt configuration for flanneld
2015-11-25 09:42:59 +01:00
Marek Grabowski
7f72d18550
Revert "Salt changes to enable using non-default Kubelet port"
2015-11-25 09:15:36 +01:00
k8s-merge-robot
2a92571190
Merge pull request #17428 from azr/master
...
Auto commit by PR queue bot
2015-11-24 20:11:08 -08:00
gmarek
3ffa01d7cd
Salt changes to enable using non-default Kubelet port
2015-11-23 16:02:46 +01:00
Adrien Delorme
f64024e245
Allow to specify the type of minion disks on GCE
2015-11-18 14:39:42 +01:00
Yifan Gu
9bf6bc1817
cluster/gce: Move build-kube-env to util.sh
...
This allows all 3 distros(coreos, debian, trusty) to share the same
build-kube-env.
2015-11-17 17:23:04 -08:00
k8s-merge-robot
840f3dad53
Merge pull request #16960 from andyzheng0831/trusty
...
Auto commit by PR queue bot
2015-11-17 01:21:15 -08:00
k8s-merge-robot
1bcf03f3fb
Merge pull request #16646 from aalexand/dns-poll
...
Auto commit by PR queue bot
2015-11-16 03:57:24 -08:00
Andy Zheng
5ca070478e
Refactor cluster/gce/trusty/node.yaml
...
The node.yaml has some logic that will be also used by the kubernetes
master on trusty work (issue #16702 ). This change moves the code
shared by the master and node configuration to a separate script, and
the master and node configuration can source it to use the code.
Moreover, this change stages the script for GKE use.
2015-11-13 16:46:55 -08:00
k8s-merge-robot
b873dce298
Merge pull request #16006 from paralin/remove-experimental-api-env
...
Auto commit by PR queue bot
2015-11-11 16:23:35 -08:00
k8s-merge-robot
b7d4f55df2
Merge pull request #16187 from brendandburns/heapster
...
Auto commit by PR queue bot
2015-11-11 01:46:35 -08:00
Christian Stewart
d61d57adec
Remove ENABLE_EXPERIMENTAL_API and similar in favor of KUBE_RUNTIME_CONFIG.
...
Addresses #15968
This patch removes KUBE_ENABLE_EXPERIMENTAL_API and similar calls in
favor of specifying desired features in KUBE_RUNTIME_CONFIG. Changes
have also been made to e2e scripts to re-enable using
KUBE_RUNTIME_CONFIG rather than EXPERIMENTAL_API env vars.
This also introduces KUBE_ENABLE_DAEMONSETS and KUBE_ENABLE_DEPLOYMENTS.
Signed-off-by: Christian Stewart <christian@paral.in>
2015-11-10 21:36:34 -05:00
Brendan Burns
bd65c733b3
Add some more retry...
2015-11-10 13:06:12 -08:00
k8s-merge-robot
18c74de9a8
Merge pull request #16986 from pmorie/gce-sc
...
Auto commit by PR queue bot
2015-11-10 11:15:27 -08:00
Paul Morie
ff88cc4df9
Allow security context in GCE clusters
2015-11-06 13:01:54 -05:00
k8s-merge-robot
75dadbc117
Merge pull request #16763 from zmerlynn/bump-containervm
...
Auto commit by PR queue bot
2015-11-05 14:55:40 -08:00
k8s-merge-robot
3a6c9df1f5
Merge pull request #16719 from mikedanese/enable-deploy
...
Auto commit by PR queue bot
2015-11-05 13:11:31 -08:00
Zach Loafman
4b29260bc6
Bump ContainerVM to container-vm-v20151103
2015-11-03 15:44:36 -08:00
Mike Danese
7206a5615f
enable deployments by default in test clusters
2015-11-02 23:07:58 -08:00
Paul Morie
b38e114889
Suppress output from running which sw_vers
2015-11-02 23:32:42 -05:00
Andy Zheng
b3133a1c16
Update docker version in trusty node to 1.8.3
...
This change is for using the latest qualified docker in trusty nodes.
2015-11-02 15:58:27 -08:00
Mike Danese
172eab6b21
build kube-env in build-kube-env, not in verify-prereqs
2015-11-02 10:31:43 -08:00
aalexand
26439bb225
Fix GCE DNS readiness polling.
...
If the `hostname` commands used in the polling loop fail, their stdout
is going to be empty and so `getent hosts` command will actually
succeed. For the loop to work as expected, make sure the subcommands
return a string which is an invalid host name.
2015-10-31 17:02:13 -07: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
Alex Robinson
887b9dd78a
Merge pull request #16232 from bprashanth/salt
...
Cluster-loadbalancing addon
2015-10-30 09:45:16 -07:00
Prashanth Balasubramanian
962cc11f73
Cluster-loadbalancing addon
2015-10-29 15:07:25 -07:00
Zach Loafman
f0e6ae4b8f
Merge pull request #12393 from jsafrane/devel/gce-tests
...
Update e2e scripts to run storage tests on GCE/Vagrant
2015-10-29 07:46:17 -07:00
Jan Safranek
fe0741bffe
Configure cluster for e2e tests.
...
When KUBE_E2E_STORAGE_TEST_ENVIRONMENT is set to 'true', kube-up.sh script
will:
- Install the right packages for all storage volumes.
- Use devicemapper as docker storage backend. 'aufs', the default one on
Debian, does not support extended attibutes required by Ceph RBD and Gluster
server containers.
Tested on GCE and Vagrant, e2e tests for storage volumes passes without any
additional configuration.
2015-10-29 11:03:34 +01:00
Tim Hockin
b6506c6af0
Kill a few more uses of 'gcloud preview'
2015-10-26 14:48:41 -07:00
Vishnu kannan
af1ef55008
Disable google cloud monitoring sinks in heapster by default.
2015-10-23 16:21:00 -07:00
Dawn Chen
038f871c43
Merge pull request #16071 from brendandburns/heapster
...
Make heapster config creation dynamic
2015-10-23 09:25:59 -07:00
Saad Ali
76c5e0e553
Revert "Use KubeletPort reported in NodeStatus instead of cluster-wide master config"
2015-10-22 21:25:38 -07:00
k8s-merge-robot
a6b8e112ac
Merge pull request #12919 from gmarek/use_api_ports
...
Auto commit by PR queue bot
2015-10-22 19:53:41 -07:00
Brendan Burns
90d9e6e935
Make heapster config creation dynamic
2015-10-22 12:05:49 -07:00
k8s-merge-robot
9b667d1690
Merge pull request #16003 from mikedanese/extensions
...
Auto commit by PR queue bot
2015-10-21 16:43:57 -07:00
gmarek
60404a55fc
Make Node.yaml use KUBELET_PORT instead of hardcoded 10250
2015-10-21 17:19:31 +02:00
gmarek
6d6cd8e46a
Use KubeletPort reporeted in NodeStatus instead of cluster-wide master config.
2015-10-21 17:19:31 +02:00
Mike Danese
dbb84c963d
enable all extensions in e2e test clusters
2015-10-20 20:29:25 -07:00
Piotr Szczesniak
57a5f8d5a5
Removed flag ENABLE_HORIZONTAL_POD_AUTOSCALER which is no longer used
2015-10-20 13:59:00 +02:00
k8s-merge-robot
b2dcbb6439
Merge pull request #15721 from andyzheng0831/trusty
...
Auto commit by PR queue bot
2015-10-17 01:06:38 -07:00
k8s-merge-robot
b255e7c478
Merge pull request #15793 from ihmccreery/fix-push
...
Auto commit by PR queue bot
2015-10-16 17:02:10 -07:00
k8s-merge-robot
fd176642d3
Merge pull request #15789 from dchen1107/fix
...
Auto commit by PR queue bot
2015-10-16 13:35:31 -07:00
Isaac Hollander McCreery
a379e52c57
Factor find-release-tars into cluster/common
2015-10-16 13:09:52 -07:00
Dawn Chen
1ef70419f2
Enable registry master kubelet by default for gce.
2015-10-16 11:48:03 -07:00
k8s-merge-robot
d4249b6930
Merge pull request #15749 from yifan-gu/fix_coreos_gce
...
Auto commit by PR queue bot
2015-10-16 05:02:09 -07:00
Yifan Gu
e2b9b002fc
gce/coreos: update node.yaml.
...
Add cbr0 configuration option for kubelet.
Add docker options
Remove rkt metadata service (it's no longer required for using
rkt)
2015-10-15 17:57:41 -07:00
nikhiljindal
a558fca24b
Enabling deployments on GCE when the corresponding env var is set to true
2015-10-15 16:54:17 -07:00
Andy Zheng
59e5e07763
Fix a bug in trusty node.yaml config
...
The --log-level="\debug\" flag in DOCKER_OPTS may not be correctly
interpreted in some cases. We turn on this flag only for testing
clusters. In addition to fixing the docker flag, this change
also removes the confusing numbers from the lines of separating
upstart jobs.
2015-10-15 13:43:25 -07:00
Mike Danese
ef015c3574
add config-vm flag to enable terminated pod garbage collection.
2015-10-15 08:19:39 -07:00
k8s-merge-robot
5d66bf9741
Merge pull request #15519 from ihmccreery/upgrade-versioning
...
Auto commit by PR queue bot
2015-10-15 06:30:12 -07:00
Isaac Hollander McCreery
60c316b54a
Upgrades and upgrade tests take versions of the form release/stable instead of stable_release:
...
- Refactor common and gce/upgrade.sh to use arbitrary published releases
- Update hack/get-build to use cluster/common code
- Use hack/get-build.sh in cluster upgrade test logic
2015-10-14 10:16:21 -07:00
k8s-merge-robot
f6bed84af7
Merge pull request #15252 from brendandburns/flakes3
...
Auto commit by PR queue bot
2015-10-13 09:53:13 -07:00
Brendan Burns
5d67b1525f
Add some retry to static ip creation
2015-10-12 14:43:02 -07:00
Piotr Szczesniak
35cf8cc76c
Enabled InitialResources e2e in autoscaling suite
2015-10-12 11:30:47 +02:00
k8s-merge-robot
834ce9ddb5
Merge pull request #15189 from ixdy/resource-check
...
Auto commit by PR queue bot
2015-10-10 12:26:21 -07:00
Chao Xu
cc4ec80ec7
in scripts, experimental/v1alpha1->extensions/v1beta1
2015-10-09 15:19:13 -07:00
k8s-merge-robot
9305a98ffc
Merge pull request #15205 from a-robinson/purge
...
Auto commit by PR queue bot
2015-10-08 20:40:26 -07:00
k8s-merge-robot
0655c9d8ad
Merge pull request #15209 from ixdy/gce-cluster-init-timeout
...
Auto commit by PR queue bot
2015-10-08 19:17:13 -07:00
k8s-merge-robot
0c089dcf11
Merge pull request #15265 from andyzheng0831/trusty
...
Auto commit by PR queue bot
2015-10-08 14:51:10 -07:00
Piotr Szczesniak
952a058357
Merge pull request #15153 from wojtek-t/common_resync_period
...
Extend resyncPeriods in controllers in production.
2015-10-08 14:07:04 +02:00
Piotr Szczesniak
7bbb7a2d9f
Merge pull request #15219 from wojtek-t/change_default_to_test
...
Unify default and test configuration in GCE
2015-10-08 11:12:23 +02:00
Wojciech Tyczynski
df79026b79
Extend resyncPeriods in controllers in production.
2015-10-08 09:10:09 +02:00
Andy Zheng
3a5f3f0615
Enable privileged containers in Trusty nodes
...
This change also removes an outdated TODO comment.
2015-10-07 15:10:14 -07:00
Dawn Chen
c29296f9a8
Set manifest-url-header when enable_manifest_url is set
2015-10-07 13:27:03 -07:00
Jeff Grafton
0e29d81904
Print error messages to stderr
2015-10-07 11:19:32 -07:00
Wojciech Tyczynski
d16995b24b
Unify default and test configuration in GCE
2015-10-07 12:47:28 +02:00
Jeff Grafton
efd3968335
Add a timeout for GCE cluster initialization
2015-10-06 19:39:55 -07:00
Alex Robinson
55278545a4
Also delete firewall rules and static IP addresses from stranded GCE LBs
2015-10-06 18:28:06 -07:00
Alex Robinson
9f80b87843
Fix hard-coded project IDs and region in script for deleting stranded LBs
2015-10-06 18:24:41 -07:00
Jeff Grafton
004c3bc7ad
Add script to use gcloud to print GCP resources used.
2015-10-06 17:38:34 -07:00
Dawn Chen
37720e8899
unset Kubelet flag for manifest_url for master node.
2015-10-06 17:33:29 -07:00
k8s-merge-robot
57a08b5563
Merge pull request #15148 from piosz/registry-addon
...
Auto commit by PR queue bot
2015-10-06 14:43:45 -07:00
Abhi Shah
aa9957e754
Merge pull request #15035 from ArtfulCoder/admissionChange
...
Removed DenyEscalatingExec from the list of default admission control…
2015-10-06 14:25:12 -07:00
Abhishek Shah
a1b6dbe870
Removed DenyEscalatingExec from the list of default admission controllers.
2015-10-06 13:35:32 -07:00
Piotr Szczesniak
ee815a87d9
Disabled cluster registry addon by default
2015-10-06 10:53:29 +02:00
Mike Danese
833be48d61
enable all experimental flags with one controller
2015-10-05 14:54:19 -07:00
Ananth Suryanarayana
d50d7763da
Add opencontrail networking provisioning support in kubernetes salt based provisioning
...
OpenContrail is an open-source based networking software which provides virtualization support for the cloud.
This change-set adds ability to install and provision opencontrail software for networking in kubernetes based cloud environment.
There are basically 3 components
o kube-network-manager -- plugin between contrail components and kubernets components
o provision_master.sh -- OpenContrail software installer and provisioner in master node
o provision_minion.sh -- OpenContrail software installer and provisioner in minion node(s)
These are driven via salt configuration files
One can provision opencontrail by just setting "export NETWORK_PROVIDER=opencontrail"
Optionally, OPENCONTRAIL_TAG, and OPENCONTRAIL_KUBERNETES_TAG can be used to
specify opencontrail and contrail-kubernetes software versions to install and provision.
Public-IP Subnet provided by contrail can be configured via OPENCONTRAIL_PUBLIC_SUBNET
environment variable
At this moment, plan is to add support for aws, gce and vagrant based platforms
For more information on contrail-kubernetes, please visit https://github.com/juniper/contrail-kubernetes For more information on opencontrail, please visit http://www.opencontrail.org
2015-10-03 08:03:02 -07:00
k8s-merge-robot
e29eab2a75
Merge pull request #14804 from brendandburns/fix3
...
Auto commit by PR queue bot
2015-10-02 17:09:38 -07:00
Brendan Burns
9cf5cc6641
Add a utility to clean up stranded load balancers.
2015-09-30 11:16:03 -07:00
Mike Danese
ed23abe181
Merge pull request #14690 from mikedanese/fix-2
...
trim mig template name if it's over the gce validated length limit
2015-09-30 10:52:43 -07:00
Mike Danese
05355145b9
trim mig template name if it's over the gce validated length limit
2015-09-29 11:52:35 -07:00
Mike Danese
5b58a6cb34
sanitize + in KUBE_VERSION during gce upgrade
2015-09-28 17:35:34 -07:00
Marek Grabowski
f8a9943d90
Merge pull request #14651 from mwielgus/cluster_request
...
Add cpu/mem reservation metrics for autoscaler in kube-up
2015-09-28 17:40:05 +02:00