Commit Graph

2223 Commits

Author SHA1 Message Date
hurf
ce35bb4208 Remove trace of "kubectl stop"
Remove doc and use of "kubectl stop" since it's deprecated.
2015-10-30 14:12:20 +08:00
hurf
29a0fe9032 Display controllers along with type when describing a pod
There're more controllers than replication controller, the patch
displays annotation item with key "kuberntetes.io/created-by" in
the form of "Controllers: type/name".
2015-10-30 11:16:46 +08:00
Mike Danese
88008de96b Merge pull request #16459 from mikedanese/enable-exp
enable deployment and daemonset in gce upgrade tests
2015-10-29 20:05:20 -07:00
Mike Danese
d28d1344ae Merge pull request #16533 from ihmccreery/upgrade-test-fixes
Jenkins upgrade job fixes
2015-10-29 16:43:11 -07:00
Jeff Lowdermilk
f03a04c097 Remove -t in gotest-dockerized.sh 2015-10-29 14:16:52 -07:00
Isaac Hollander McCreery
0f5bd2e739 Set E2E_SET_CLUSTER_API_VERSION properly for GKE jobs, build against ci/latest-1.0 instead of release/latest-1.0 2015-10-29 13:22:25 -07:00
k8s-merge-robot
0d29759b26 Merge pull request #16287 from jlowdermilk/fix-jenkins-test-image
Auto commit by PR queue bot
2015-10-29 12:29:28 -07:00
Jeff Lowdermilk
04e891c7d3 Modify jenkins unit/integration scripts to work on branches
Also add a makefile. This will need a cherrypick onto 1.0,1.1
with edits to hack/jenkins/test-dockerized.sh to run branch-specific
test scripts.

Also had to modify hack/verify-api-reference.sh to handle volume mount
path peculiarity when doing `docker run -v` inside a container started
with `docker run -v`. See associated comment in
hack/jenkins/test-dockerized.sh
2015-10-29 11:08:35 -07:00
gmarek
ce3317cb9f Don't delete namespace after kubemark tests, as cluster will be torn down either way 2015-10-29 18:53:56 +01:00
k8s-merge-robot
f2208a9855 Merge pull request #16269 from gmarek/delete-namespace
Auto commit by PR queue bot
2015-10-29 02:34:31 -07:00
Wojciech Tyczynski
0fa259f329 Increase logs verbosity in scalability tests. 2015-10-29 10:12:44 +01:00
k8s-merge-robot
1ef85cd78c Merge pull request #16329 from ixdy/resource-check
Auto commit by PR queue bot
2015-10-29 02:02:36 -07:00
k8s-merge-robot
eda8e8b55f Merge pull request #16415 from wojtek-t/fix_update_codecgen_script
Auto commit by PR queue bot
2015-10-29 00:51:07 -07:00
Isaac Hollander McCreery
4dd0618b38 Use k8s-jkns-upgrade-fixed-1 instead of kubernetes-jenkins-gke-upgrade for GKE stable-latest job 2015-10-28 15:59:36 -07:00
Mike Danese
3343522546 enable deployment and daemonset in gce upgrade tests 2015-10-28 15:28:27 -07:00
Isaac Hollander McCreery
2ab10c4772 stable-latest GKE upgrade jobs 2015-10-28 12:36:28 -07:00
Wojciech Tyczynski
adb9685fe9 Fix hack/update-codecgen.sh script 2015-10-28 09:35:43 +01:00
k8s-merge-robot
d5e680afbb Merge pull request #16386 from ihmccreery/version-skew-step6
Auto commit by PR queue bot
2015-10-27 21:27:59 -07:00
k8s-merge-robot
3850579313 Merge pull request #16207 from janetkuo/kubectl-apply-tests
Auto commit by PR queue bot
2015-10-27 20:29:17 -07:00
k8s-merge-robot
77f3c7ebf5 Merge pull request #16363 from ashcrow/disable-flake-16285
Auto commit by PR queue bot
2015-10-27 17:14:33 -07:00
Daniel Smith
6219b50280 Merge pull request #16160 from kargakis/windows-fixes-for-edit
edit: Windows fixes
2015-10-27 15:44:26 -07:00
k8s-merge-robot
908edd2827 Merge pull request #15943 from gmarek/grab-profiles
Auto commit by PR queue bot
2015-10-27 15:30:15 -07:00
Daniel Smith
e1901bf891 Merge pull request #16196 from erictune/job-e2e-fix
Fix e2e test flakes.
2015-10-27 15:04:57 -07:00
Isaac Hollander McCreery
749c036de5 Don't check version skew on step6 of upgrade jobs 2015-10-27 14:01:47 -07:00
Daniel Smith
b7ecbbf744 Merge pull request #16378 from quinton-hoole/2015-10-27-promote-PD-e2e
Promote PD tests out of flaky.
2015-10-27 13:13:29 -07:00
k8s-merge-robot
8aa993266c Merge pull request #15172 from justinsb/aws_integration_tests
Auto commit by PR queue bot
2015-10-27 12:46:25 -07:00
Quinton Hoole
b548a8617e Promote PD tests out of flaky.
Fixes #15382, #16377.
2015-10-27 10:36:08 -07:00
Steve Milner
f7449ce3fa flake: Disable flaky service e2e per #16285 2015-10-27 09:26:34 -04:00
Jerzy Szczepkowski
154923221f Merge pull request #15951 from kargakis/factory-expose-method
Make CanBeExposed and CanBeAutoscaled composable
2015-10-27 11:04:40 +01:00
Jerzy Szczepkowski
bbee6cfcd7 Merge pull request #15461 from kargakis/relax-exposing-multiport-objects
expose: Enable exposing multiport objects
2015-10-27 10:25:54 +01:00
gmarek
a087a418c1 Add a script to automatically grab profiles from running components 2015-10-27 09:42:27 +01:00
gmarek
0150d87a73 Add an option to not delete a namespace after e2e test 2015-10-27 09:23:50 +01:00
Jeff Grafton
253254fc80 Isolate Jenkins GKE jobs into separate Google Cloud projects 2015-10-26 16:57:56 -07:00
Janet Kuo
4281497869 Test that kubectl apply update annotation only if apply is already called 2015-10-26 15:21:34 -07:00
Eric Tune
40a33dcc7e Fix e2e test flakes.
Makes number of failures per pod fixed at 1, for the RestartOnFailure
case, which prevents Kubelet restart backoff, which causes test timeout.
For RestartNever tests, it keeps using the random success/failure.

Fixes #15389.
Renables previously flaky e2e.
2015-10-26 12:02:04 -07:00
gmarek
7fc9b06f5d Fix type in e2e.go 2015-10-26 12:14:45 +01:00
gmarek
1ceb31ffaa Add 500 node kubemark test to Jenkins 2015-10-26 11:57:55 +01:00
k8s-merge-robot
03583fb8dc Merge pull request #16017 from wojtek-t/godeps_codecgen_in_verify
Auto commit by PR queue bot
2015-10-26 03:02:11 -07:00
feisky
13dce74adb Gendocs for docs/admin/kube-* 2015-10-25 19:24:23 +08:00
Abhi Shah
354b1f9c24 Merge pull request #15860 from mikedanese/ds-promote
actually promote daemonset simple test out of flaky and skip all daemonset tests in gke
2015-10-24 16:05:06 -07:00
kargakis
4befdf5b49 Make CanBeExposed and CanBeAutoscaled composable 2015-10-24 20:07:35 +02:00
kargakis
73713ce268 edit: Windows fixes
Contains the following fixes for Windows users of kubectl edit:
* Defaults to notepad as the default Windows editor
* Uses CRLF line endings
* Ensures a file lock is freed
2015-10-24 17:06:49 +02:00
k8s-merge-robot
46a6c68c3a Merge pull request #16159 from ashcrow/api-ref-docs
Auto commit by PR queue bot
2015-10-24 05:34:43 -07:00
k8s-merge-robot
6d10b76b11 Merge pull request #15980 from janetkuo/kubectl-edit-updateapplyannotation
Auto commit by PR queue bot
2015-10-24 02:48:22 -07:00
k8s-merge-robot
6600fbcf7d Merge pull request #15854 from thockin/service-e2e-not-flaky
Auto commit by PR queue bot
2015-10-24 00:25:52 -07:00
Saad Ali
6db9d462b0 Merge pull request #16140 from jlowdermilk/jenkins-test-image
Dockerfile for jenkins build/test
2015-10-23 12:44:20 -07:00
Jeff Lowdermilk
150ed6a429 Dockerfile for jenkins build/test
To allow jenkins to run verify/unit/cmd/integration tests in a
container.
2015-10-23 10:12:35 -07:00
Steve Milner
6ee5c0ec20 Fixes for update-api-reference-docs.sh 2015-10-23 11:56:24 -04:00
Filip Grzadkowski
edd10d8a83 Merge pull request #15914 from vishh/serialize-pull
make kubelet image pulls serialized by default.
2015-10-23 14:04:23 +02:00
k8s-merge-robot
29c2706ba0 Merge pull request #15797 from ArtfulCoder/udpTimeoutFlag
Auto commit by PR queue bot
2015-10-22 22:52:40 -07:00
Janet Kuo
f5adda3d81 Fixed the error for kubectl edit multiple resources 2015-10-22 22:35:15 -07:00
Vishnu kannan
0df4b46d4c Adding a kubelet flag to optionally enable parallel image pulls. 2015-10-22 17:19:51 -07:00
Jeff Lowdermilk
7c3c0485f7 Remove nonblocking on flock, update comment. 2015-10-22 13:38:18 -07:00
Filip Grzadkowski
cc62dd9b9b Merge pull request #16001 from ixdy/resource-check
Fail Jenkins if GCP resources are leaked
2015-10-22 14:46:49 +02:00
k8s-merge-robot
0c4bfcff02 Merge pull request #16072 from ixdy/jenkins-configs
Auto commit by PR queue bot
2015-10-22 01:09:47 -07:00
Brendan Burns
7ba06c7f82 fix e2e.sh again... 2015-10-21 21:05:02 -07:00
Justin Santa Barbara
636a4a15ac AWS: Add kubernetes-e2e-aws job to hack/jenkins/e2e.sh
We'll probably have to do something more scalable than duplicate every
GCE job, but this is probably the most important job to have.
2015-10-21 21:59:34 -04:00
Jeff Lowdermilk
bf57290869 Revert the flock command to the working version and add a warning
This is the second time this command has been "fixed" resulting in
half the builds breaking. The comment explains why it should be the
way it is, with a warning for future readers.
2015-10-21 17:42:13 -07:00
Abhishek Shah
d172ca6986 Added UdpIdleTimeout flag 2015-10-21 17:25:35 -07:00
Jeff Grafton
39d94b5b16 Make 1.1 GCE e2e and soak builds use the correct CI-build release 2015-10-21 15:56:52 -07:00
Jeff Lowdermilk
d4de35e177 Merge pull request #15921 from brendandburns/fix2
Add a --expose flag to kubectl run
2015-10-21 13:17:26 -07:00
Jeff Lowdermilk
572db1849c Merge pull request #15906 from nikhiljindal/updateAPIReference
Adding a script to verify api reference docs are upto date
2015-10-21 13:15:36 -07:00
k8s-merge-robot
ba39496eb4 Merge pull request #15886 from ixdy/e2e-release-soak
Auto commit by PR queue bot
2015-10-21 03:12:16 -07:00
Marek Grabowski
fdd2677d23 Merge pull request #15941 from piosz/hpa-cleanup
Removed flag ENABLE_HORIZONTAL_POD_AUTOSCALER which is no longer used
2015-10-21 12:09:41 +02:00
Wojciech Tyczynski
119b958cca codecgen from Godeps in scripts 2015-10-21 09:53:20 +02:00
gmarek
a283a06fae Remove gcloud components update preview from jenkins/e2e.sh 2015-10-21 08:42:22 +02:00
Marek Grabowski
a5bedd4cf4 Revert "Revert "Fix 'flock' command in hack/jenkins/e2e.sh"" 2015-10-21 08:36:07 +02:00
Brendan Burns
54fd60727e add a --expose flag to kubectl run 2015-10-20 20:21:09 -07:00
Jeff Grafton
4addd0770d Fail Jenkins if GCP resources are leaked 2015-10-20 19:51:24 -07:00
nikhiljindal
24dcc9bfae Adding a script to verify api reference docs 2015-10-20 13:17:24 -07:00
k8s-merge-robot
37afbf6f33 Merge pull request #14587 from ixdy/jenkins-verify
Auto commit by PR queue bot
2015-10-20 13:01:16 -07:00
Jeff Lowdermilk
685c09fda0 Merge pull request #15896 from pmorie/mount-test-owner
Add ownership inspection to mount tester image
2015-10-20 11:53:56 -07:00
Mike Danese
7cbf249bf0 Merge pull request #15836 from wojtek-t/codecgen_from_godeps
Build codecgen from Godeps in update-codecgen.sh
2015-10-20 10:52:31 -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
0888c2ef38 Merge pull request #15909 from caesarxuchao/use-local-swagger
Auto commit by PR queue bot
2015-10-20 04:06:11 -07:00
k8s-merge-robot
a66ab00f44 Merge pull request #15497 from zmerlynn/fix_cherry_pick
Auto commit by PR queue bot
2015-10-19 23:09:21 -07:00
Chao Xu
b47ea12a99 gen-swagger-docs now uses local swagger spec 2015-10-19 21:36:10 -07:00
k8s-merge-robot
345cda76b3 Merge pull request #15871 from mikedanese/upgrade-gce-1-to-11
Auto commit by PR queue bot
2015-10-19 19:35:56 -07:00
Paul Morie
2ff043e75f Add ownership inspection to mount tester image 2015-10-19 18:42:07 -04:00
Jeff Grafton
1016b493df Add Jenkins shell script to setup and run verification tests 2015-10-19 14:42:42 -07:00
Jeff Grafton
7b1d15ad58 Save config for gce weekly soak deploy and add release-1.1 gce soak 2015-10-19 14:34:36 -07:00
k8s-merge-robot
b896a66679 Merge pull request #15739 from JanetKuo/kubectl-autoscale
Auto commit by PR queue bot
2015-10-19 14:15:23 -07:00
Jeff Grafton
4cafa3e92d Ignore _gopath in verify scripts
The _gopath directory is used in Jenkins to install extra dependencies,
and any files in it should be ignored by the various verification
scripts.
2015-10-19 14:09:23 -07:00
Mike Danese
92404e7cb6 add upgrade test between 1.0 and 1.1 for gce 2015-10-19 13:51:57 -07:00
Mike Danese
95b8394a22 Merge pull request #15861 from mikedanese/upgrade-num-minion
increase NUM_MINIONS for jenkins gce upgrade test
2015-10-19 12:01:12 -07:00
Mike Danese
ece5779f5a increase NUM_MINIONS for jenkins gce upgrade test 2015-10-19 11:14:20 -07:00
Mike Danese
b8b35afaec actually promote daemonset simple test out of flaky and skip all daemonset tests in gke 2015-10-19 11:11:20 -07:00
Janet Kuo
8105aa44a0 Implement kubectl autoscale 2015-10-19 09:59:22 -07:00
Tim Hockin
6a2d040070 Remove service tests from flaky lists after recent revamp 2015-10-19 09:57:52 -07:00
Wojciech Tyczynski
e86a1a6407 Build codecgen from Godeps in update-codecgen.sh 2015-10-19 18:30:39 +02:00
k8s-merge-robot
77207d75e1 Merge pull request #15667 from JanetKuo/kubectl-watch-list
Auto commit by PR queue bot
2015-10-19 06:28:35 -07:00
kargakis
7d0e691520 expose: Enable exposing multiport objects
The generated service will inherit all the ports from the exposed object.
2015-10-19 11:25:14 +02:00
k8s-merge-robot
67cb65d906 Merge pull request #15788 from caesarxuchao/gen-docs-extensions
Auto commit by PR queue bot
2015-10-18 18:02:09 -07:00
k8s-merge-robot
d3ca12f61b Merge pull request #15053 from smarterclayton/stdin_once
Auto commit by PR queue bot
2015-10-17 00:03:32 -07:00
k8s-merge-robot
e12019c658 Merge pull request #15682 from smarterclayton/make_proxy_resync_longer
Auto commit by PR queue bot
2015-10-16 20:30:36 -07:00
Clayton Coleman
e9a465d635 Make kubectl run attach behave like docker run
Have stdin closed by default, can be left open with --leave-stdin-open.
Add e2e tests for the behavior.
2015-10-16 20:33:51 -04: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
535090312f Merge pull request #13180 from samsabed/backoff_e2e
Auto commit by PR queue bot
2015-10-16 13:33:36 -07:00
Isaac Hollander McCreery
ef3d56433b Fix KUBE_TAR_URL issue and fix root cause; fixes #15738 2015-10-16 13:09:52 -07:00
Chao Xu
a3cbf49ea4 update the source code 2015-10-16 11:30:11 -07:00
Wojciech Tyczynski
07383950c3 Add scripts for updating autogenerated files. 2015-10-16 10:12:08 +02:00
k8s-merge-robot
90362394c1 Merge pull request #14454 from ixdy/e2e-upload-to-gcs
Auto commit by PR queue bot
2015-10-15 21:18:34 -07:00
Nikhil Jindal
c6b5f7ff5a Merge pull request #15516 from nikhiljindal/runtimeConfig
Enable extensions/v1beta1 by default and allow runtimeConfig to support enabling/disabling specific resources
2015-10-15 20:16:54 -07:00
k8s-merge-robot
4708fdceda Merge pull request #15729 from mikedanese/swv-fix
Auto commit by PR queue bot
2015-10-15 19:35:38 -07:00
k8s-merge-robot
558e7560ac Merge pull request #15748 from fgrzadkowski/fix_verify
Auto commit by PR queue bot
2015-10-15 19:35:27 -07:00
Sam Abed
78979c77ce backoff e2e tests
Signed-off-by: Sam Abed <samsabed@gmail.com>
2015-10-16 13:09:29 +11:00
Filip Grzadkowski
13079fb6d6 Fix update-generated-swagger-docs.sh 2015-10-16 02:15:15 +02:00
Isaac Hollander McCreery
a52fcc6f29 Add get-build to our packaged test files for upgrade-tests 2015-10-15 14:41:08 -07:00
nikhiljindal
39e461b7f9 Updating swagger spec to include the new extension resources that are enabled by default 2015-10-15 14:26:37 -07:00
k8s-merge-robot
5174ca21f6 Merge pull request #15717 from ihmccreery/fix-jenkins-upgrade-versioning
Auto commit by PR queue bot
2015-10-15 14:02:31 -07:00
Eric Tune
5a1a0b3040 Merge pull request #15428 from mikedanese/gc
Add e2e test for pod garbage collection
2015-10-15 13:58:00 -07:00
Mike Danese
d379a360c6 copy directory not contents of directory 2015-10-15 13:43:20 -07:00
Jeff Grafton
35db467216 Remove extraneous newline 2015-10-15 12:49:57 -07:00
Eric Tune
056ef2d556 Merge pull request #15722 from yujuhong/soak_cluster
e2e: disable component killing/restarting tests in the soak cluster
2015-10-15 12:21:49 -07:00
Yu-Ju Hong
2dacbc3dda e2e: disable component killing/restarting tests in the soak cluster
This fixes #15649
2015-10-15 11:34:08 -07:00
Jeff Grafton
23fb8a8b76 Add script to upload test artifacts and log to GCS using gsutil
This new script is designed to be source'd by Jenkins jobs. It'll
automatically upload all test artifacts and the console log to GCS on
exit.
2015-10-15 11:32:11 -07:00
Isaac Hollander McCreery
79df5f58ff kubernetes-upgrade-1.0-1.1-gke configs using ci/latest-1.1 2015-10-15 10:30:09 -07:00
Clayton Coleman
9440d17041 Proxy resync period should not be 30 seconds 2015-10-15 11:26:49 -04:00
Mike Danese
402e68e05c add slow test for terminated pod garbage collection 2015-10-15 08:19:39 -07:00
Eric Paris
363d8a6fec Remove all _test.go files in Godep 2015-10-15 11:17:04 -04: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
k8s-merge-robot
7ef2a1b293 Merge pull request #15427 from brendandburns/controllerversion
Auto commit by PR queue bot
2015-10-15 05:38:33 -07:00
k8s-merge-robot
4c8e6f47ec Merge pull request #15394 from JanetKuo/kubectl-proxy-api-prefix
Auto commit by PR queue bot
2015-10-15 05:12:30 -07:00
k8s-merge-robot
8c753c84eb Merge pull request #15191 from caesarxuchao/validate-UID
Auto commit by PR queue bot
2015-10-15 04:20:24 -07:00
Marek Grabowski
8a5f748846 Merge pull request #15336 from ixdy/install-etcd
Move hack/travis/install-etcd.sh to hack/, and update etcd version to 2.0.12
2015-10-15 09:29:25 +02:00
Janet Kuo
33b9235312 Better error handling for watching a list of resources specified in a file 2015-10-14 16:38:03 -07:00
Brendan Burns
947a558320 Dynamically enable controllers based on what resources the server has.
Dynamically delete namespaces based on what resources the server has.
2015-10-14 15:53:19 -07:00
Janet Kuo
c2eef6b3d6 Use default www-prefix when proxy in test-cmd and fix some related bugs 2015-10-14 15:49:52 -07:00
Janet Kuo
f47c2be539 Change kubectl proxy --api-prefix default to allow /apis/ 2015-10-14 15:49:52 -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
Isaac Hollander McCreery
b9c7cf43b2 Merge pull request #15422 from ihmccreery/branched-ci-builds
Branched CI builds for building release candidates
2015-10-14 09:53:09 -07:00
Marek Grabowski
066089d312 Merge pull request #15620 from wojtek-t/fix_exporting_vars
Export env vars from scalability suite
2015-10-14 15:18:37 +02:00
Wojciech Tyczynski
43019c5c89 Export vars from scalability suite 2015-10-14 14:51:39 +02:00
k8s-merge-robot
b7ff9344a7 Merge pull request #15559 from mikedanese/simple-ds-promote
Auto commit by PR queue bot
2015-10-14 05:02:30 -07:00
Chao Xu
be0754750f add common fields validation before updaing a resource; make the repair of malformed update request flippable by a flag. 2015-10-13 16:28:32 -07:00
Dawn Chen
7dbfa46d91 Merge pull request #15548 from gmarek/fix-kubemark
Small changes in Kubemark requested by @wojtek-t
2015-10-13 16:25:26 -07:00
Dawn Chen
c9a1ae6788 Merge pull request #15130 from mikedanese/upgrade
add intermediate e2e runs to GCE upgrade suite to mirror GKE upgrade suite
2015-10-13 16:22:42 -07:00
Jeff Grafton
fbd58294b2 Update test helpers and dev doc to use etcd v2.0.12. 2015-10-13 16:05:56 -07:00
Jeff Grafton
28314c79ce Move hack/travis/install-etcd.sh to hack/ 2015-10-13 16:04:44 -07:00
Isaac Hollander McCreery
ea6c385674 Update swagger scripts, (this supplants #14596) 2015-10-13 14:35:58 -07:00
Mike Danese
c0943f1139 add intermediate e2e runs to gce upgrade 2015-10-13 12:47:16 -07:00
Mike Danese
10d56ff18a promote simple daemonset test out of flaky 2015-10-13 11:09:19 -07:00
Chao Xu
a503e5301a add a test to check if patch works with resourceVersion as a precondition 2015-10-13 10:41:09 -07:00
gmarek
4625f50131 Small changes in Kubemark requested by @wojtek-t 2015-10-13 16:26:19 +02:00
Marcin Wielgus
2fa2ddbdb4 Merge pull request #15515 from jlowdermilk/actually-rename-shameshameshame
fix jobname for kubernetes-e2e-gce-release-1.1
2015-10-13 13:51:26 +02:00
k8s-merge-robot
eeeb5e0cd6 Merge pull request #15452 from jayunit100/petstore-dev
Auto commit by PR queue bot
2015-10-13 04:36:25 -07:00
Jeff Lowdermilk
a48515bfb0 fix jobname for kubernetes-e2e-gce-release-1.1 2015-10-12 17:18:38 -07:00
Dawn Chen
cf0bdadd96 Merge pull request #15486 from ixdy/resource-check
jenkins/e2e: only run ./cluster/gce/list-resources.sh if it exists
2015-10-12 17:03:05 -07:00
Dawn Chen
49b56d1788 Merge pull request #15508 from quinton-hoole/2015-10-12-mark-flaky-deployment-test
Label flaky deployment test as per #15369.
2015-10-12 16:06:09 -07:00
Dawn Chen
88f6a03cb1 Merge pull request #15507 from quinton-hoole/2015-10-12-mark-flaky-tests-as-flaky
Mark flaky Jobs e2e test as flaky as per #15389.
2015-10-12 15:56:29 -07:00
Dawn Chen
6bcb31511f Merge pull request #15407 from jlowdermilk/fix-release-clobbering
Rename e2e-gce-rc to e2e-gce-release-1.1
2015-10-12 15:54:32 -07:00
Quinton Hoole
ba0f7a0a1f Label flaky deployment test as per #15369. 2015-10-12 15:40:28 -07:00
Quinton Hoole
76fa1ade51 Mark flaky Jobs e2e test as flaky as per #15389. 2015-10-12 15:28:11 -07:00
Dawn Chen
69a8dc64c7 Merge pull request #15247 from spiffxp/kube-api-limits
Expose kube-api burst/qps settings for kube components
2015-10-12 15:19:46 -07:00
Dawn Chen
4da423c41d Merge pull request #15490 from saad-ali/15382MovePDTestsToFlaky
Move flaky PD tests to flaky
2015-10-12 13:57:38 -07:00
Dawn Chen
72f85e0641 Merge pull request #15354 from JanetKuo/test-kubectl-list-with-validate
Enable validate when test kubectl with List
2015-10-12 13:54:21 -07:00
Zach Loafman
21db47a309 Fix cherry_pick_pull.sh to workaround hub#976
A number of people have run across
https://github.com/github/hub/issues/976 when trying to do cherry
picks using this script. Rather than stealing stdin, just create a
tmpfile and give hub full access to stdin, which will let it prompt
for the password it so dearly wants.

Tested by being unauth'd.
2015-10-12 13:40:15 -07:00
Dawn Chen
60d9d2fa3f Merge pull request #14379 from derekwaynecarr/local_up_cluster_enforce_cfs_quota
Add flag to enable cpu limit enforcement when using local up cluster
2015-10-12 13:24:06 -07:00
Dawn Chen
d802138c1f Merge pull request #15325 from caesarxuchao/fix-15181-retry-test-cmd
Adding a retry function in test-cmd.sh
2015-10-12 13:18:49 -07:00
Jeff Grafton
1a3d273bdb jenkins/e2e: only run ./cluster/gce/list-resources.sh if it exists 2015-10-12 12:28:25 -07:00
saadali
09e61383d9 Move flaky PD tests to flaky 2015-10-12 12:01:00 -07:00
Dawn Chen
b07e29b03c Merge pull request #14789 from JanetKuo/fix-e2e-test-flake-kubectl-proxy
Use random ports when doing kubectl proxy in testing
2015-10-12 11:46:24 -07:00
Chao Xu
12bcea336a add a retry function in test-cmd.sh 2015-10-12 10:04:12 -07:00
Aaron Crickenberger
69351e3e88 Expose kube-api burst/qps settings for kube components
Default to hardcodes for components that had them, and 5.0 qps, 10 burst
for those that relied on client defaults

Unclear if maybe it'd be better to just assume these are set as part of
the incoming kubeconfig.  For now just exposing them as flags since it's
easier for me to manually tweak.
2015-10-12 11:56:15 -04:00
jayvyas
c897798c27 Cleaning/Updating k8petstore dev tooling and build fixing, moving webserver to
main.go.  Replacing vagrant tooling with docker-machine.
2015-10-12 08:31:30 -04:00
Piotr Szczesniak
35cf8cc76c Enabled InitialResources e2e in autoscaling suite 2015-10-12 11:30:47 +02:00
Janet Kuo
001899e394 Enable validate when test kubectl with List 2015-10-11 20:56:15 -07: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
k8s-merge-robot
d94307b71e Merge pull request #15042 from JanetKuo/test-loop-add-rclist-svclist
Auto commit by PR queue bot
2015-10-10 10:57:24 -07:00
k8s-merge-robot
fa557f6101 Merge pull request #15409 from caesarxuchao/extension/v1beta1
Auto commit by PR queue bot
2015-10-10 09:03:43 -07:00
Robert Bailey
8372091104 Merge pull request #15410 from jlowdermilk/rename-e2e-release
Rename e2e-gce-release job to e2e-gce-release-1.0
2015-10-09 20:05:21 -07:00
Mike Danese
b635fc53f9 Merge pull request #15228 from mesosphere/sttts-conformance-tags
Use [Conformance] to tag conformance tests
2015-10-09 18:03:56 -07:00
Mike Danese
392f33e417 Merge pull request #14054 from mikedanese/register-master
register master kubelet with the apiserver
2015-10-09 17:12:37 -07:00
Jeff Lowdermilk
b0fee799d4 Rename e2e-gce-release job to e2e-gce-release-1.0 2015-10-09 16:34:39 -07:00
Jeff Lowdermilk
54afad28db Rename e2e-gce-rc to e2e-gce-release-1.1
and add gcs staging suffix to avoid colliding with kubernetes-e2e-gce-release-1.0
2015-10-09 16:23:04 -07:00
Chao Xu
f40f1de81e fix verify-generated-conversions.sh 2015-10-09 16:11:54 -07:00
Chao Xu
cd98de5188 fix verify-generated-deep-copies.sh 2015-10-09 16:08:52 -07:00
Janet Kuo
5d08dcf837 Use random ports when doing kubectl proxy in testing 2015-10-09 15:52:59 -07:00
Chao Xu
ccf989a2ae manual fix hack/after-build/update-generated-deep-copies.sh 2015-10-09 15:38:38 -07:00
Chao Xu
cc4ec80ec7 in scripts, experimental/v1alpha1->extensions/v1beta1 2015-10-09 15:19:13 -07:00
Dr. Stefan Schimanski
cb00df9b28 Tag conformance tests with a [Conformance] string in the description
- remove skip list from conformance-test.sh and filter by the new tag
- remove experimental api tests from conformance test suite
- remove all tests from conformance test suite which are either
  restricted to e.g. gce, gke, aws or require SSH
2015-10-09 23:14:43 +01:00
Janet Kuo
ee0ce32736 Add test for kubectl support of ReplicationControllerList and ServiceList 2015-10-09 09:36:23 -07:00
Wojciech Tyczynski
cabe8d9394 Merge pull request #15363 from gmarek/fix-jenkins
Increase a number of minions in kubemark-scale cluster
2015-10-09 12:01:53 +02:00
gmarek
2be5f3a92d Increase a number of minions in kubemark-scale cluster 2015-10-09 11:57:27 +02:00
k8s-merge-robot
a4ac5ef564 Merge pull request #14302 from timstclair/prometheus-update
Auto commit by PR queue bot
2015-10-09 02:35:09 -07:00
gmarek
62ee051c67 Remove publish green version from Kubemark runs 2015-10-09 09:35:07 +02:00
k8s-merge-robot
bdec6db9be Merge pull request #14988 from bprashanth/IngressE2E
Auto commit by PR queue bot
2015-10-09 00:26:14 -07:00
k8s-merge-robot
0fb7c80edf Merge pull request #14888 from JanetKuo/kubectl-get-list
Auto commit by PR queue bot
2015-10-09 00:03:01 -07:00
k8s-merge-robot
52ce36eae8 Merge pull request #14455 from ixdy/jenkins-configs
Auto commit by PR queue bot
2015-10-08 22:34:59 -07:00
Mike Danese
fa60bbe8e6 add flag to kubelet to ignore the cidr passed down by the apiserver on the master 2015-10-08 21:21:19 -07:00
Isaac Hollander McCreery
3b6a8e2e40 Add kubernetes-upgrade-gke-1-0 jobs that upgrade from release/latest-1.0 to ci/v1.1.0-alpha.1. 2015-10-08 11:38:45 -07:00
k8s-merge-robot
731a47bc94 Merge pull request #15248 from mikedanese/sw-spec
Auto commit by PR queue bot
2015-10-08 07:41:05 -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
gmarek
a16350853e Run 1000 node Kubemark experiments on Jenkins 2015-10-08 12:09:14 +02:00
Wojciech Tyczynski
df79026b79 Extend resyncPeriods in controllers in production. 2015-10-08 09:10:09 +02:00
Quinton Hoole
8ec4f29e32 Move kubernetes-kubemark-scale-gce Jenkins job to asia-east1-a zone.
Because that's where we have enough quota.
2015-10-07 18:46:34 -07:00
Jeff Lowdermilk
b0bebe89ac Merge pull request #15168 from ihmccreery/pin-releases
Use JENKINS_PUBLISHED_VERSION instead of JENKINS_USE_RELEASE_TARS and JENKINS_USE_STABLE
2015-10-07 17:43:54 -07:00
Quinton Hoole
1b7f8f540e Bring up a 4000 node kubemark cluster in Jenkins.
This is a bit of a hack of the existing scripts, but the quickest way to get this cluster up.
Will restructure e2e.sh to do this in a more sane way in a separate PR.
2015-10-07 16:46:32 -07:00
Prashanth Balasubramanian
941963d953 Ingress E2E 2015-10-07 14:33:19 -07:00
Isaac Hollander McCreery
653de8fec7 Use JENKINS_PUBLISHED_VERSION instead of JENKINS_USE_RELEASE_TARS and JENKINS_USE_STABLE 2015-10-07 14:29:01 -07:00
Mike Danese
53e14c7a1e diff all of pkg/ when verifying swagerspec instead of just pkg/api/ 2015-10-07 11:44:12 -07:00
k8s-merge-robot
67768eb51c Merge pull request #14769 from lavalamp/parallel_tests
Auto commit by PR queue bot
2015-10-06 22:59:50 -07:00
k8s-merge-robot
da0ba77ce3 Merge pull request #15040 from caesarxuchao/fix-gen-swagger-docs.sh
Auto commit by PR queue bot
2015-10-06 19:42:12 -07:00
Janet Kuo
f4cb23975b Merge pull request #15044 from nikhiljindal/deploymentController
Enabling deployments on kubernernetes-upgrade-gce test suite
2015-10-06 18:11:00 -07:00
Jeff Grafton
0024bfd1d5 List and diff GCP resources before/after in Jenkins
This currently won't fail runs if there is a diff.

Additionally, clean up some unnecessary symlinking of JUnit test reports.
2015-10-06 17:38:41 -07:00
Paul Morie
123a5bd465 Merge pull request #13978 from jayunit100/api_server_append_13152
NodePort option: Allowing for apiservers behind load-balanced endpoint.
2015-10-06 20:09:03 -04:00
Jeff Lowdermilk
8b37e74fd0 Merge pull request #15184 from jlowdermilk/gke-reboot-test
Don't skip reboot when testing reboot
2015-10-06 16:10:30 -07:00
Jeff Lowdermilk
fafb00db7a Merge pull request #15165 from jlowdermilk/gke-skip-shell
Re-add Shell to gke required filter
2015-10-06 15:44:37 -07:00
nikhiljindal
c062afc6de Enabling deployments on kubernernetes-upgrade-gce test suite 2015-10-06 14:50:25 -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
Janet Kuo
f4bbb32bd9 Merge pull request #15024 from mikedanese/expcontroller
enable all experimental controllers in controller-manager with one flag
2015-10-06 14:20:11 -07:00
Abhishek Shah
a1b6dbe870 Removed DenyEscalatingExec from the list of default admission controllers. 2015-10-06 13:35:32 -07:00
Tim St. Clair
8d49c8e29a Update prometheus libraries to new versions. 2015-10-06 12:56:14 -07:00
Jeff Lowdermilk
89144068e0 Don't skip reboot when testing reboot 2015-10-06 11:39:21 -07:00
Jeff Lowdermilk
f6b5719b05 Re-add Shell to gke required filter 2015-10-06 11:25:31 -07:00
gmarek
393d8f0887 Unset NUM_MINIONS variable in Kubemark Jenkins run, to allow use of Kubemark default 2015-10-06 10:32:21 +02:00
k8s-merge-robot
b53c9d8c9a Merge pull request #15129 from ixdy/test-go-junit-report
Auto commit by PR queue bot
2015-10-05 23:50:01 -07:00
Mike Danese
05ef8ed219 Merge pull request #15104 from mikedanese/ds-e2e
break up daemonset test into two small tests to isolate flakiness
2015-10-05 22:32:59 -07:00
Jeff Grafton
a163f02c1b Add option to save the verbose output from unit tests
Also enable this option in our Jenkins runs.
2015-10-05 18:17:57 -07:00
jayvyas
be2a2ec3cd NodePort apiserver option for exposing KubernetesMasterService NodePort on startup. 2015-10-05 20:34:25 -04:00
Alex Robinson
48c6b7ea96 Merge pull request #14728 from kargakis/truncate-inherited-service-names
expose: Truncate service names
2015-10-05 16:29:14 -07:00
Alex Robinson
32b9d8aad0 Merge pull request #14823 from wojtek-t/move_events_to_separate_etcd
Move events to a separate etcd instance
2015-10-05 16:28:04 -07:00
Mike Danese
fe820fc4df break up daemonset test into two tests 2015-10-05 15:54:15 -07:00
Mike Danese
833be48d61 enable all experimental flags with one controller 2015-10-05 14:54:19 -07:00
Alex Robinson
662137116f Merge pull request #14904 from wojtek-t/unskip_e2e_tests
Remove reference to "Shell" from jenkins/e2e.sh
2015-10-05 14:41:25 -07:00
Alex Robinson
0b6bcab091 Merge pull request #15049 from Juniper/opencontrail-provisioning
Add opencontrail networking provisioning support in kubernetes via salt based provisioning
2015-10-05 14:40:11 -07:00
Alex Robinson
4b7329ad8c Merge pull request #15081 from pmorie/sc-local-cluster
Add option to allow security context in local cluster
2015-10-05 14:02:11 -07:00
Alex Robinson
84f8f01d45 Merge pull request #14432 from mesosphere/sur-k8sm-492-launch-grace-period
MESOS make launchGracePeriod configurable
2015-10-05 13:27:12 -07:00
Alex Robinson
934ada3d03 Merge pull request #15086 from jlowdermilk/parallel-expose-test
Remove kubectl expose from GCE_PARALLEL_FLAKY_TESTS
2015-10-05 12:58:47 -07:00
Jeff Grafton
bf8153c644 KubeProxy e2e test is still slow 2015-10-05 11:54:39 -07:00
Janet Kuo
1f35cf2e5b Fix get with List 2015-10-05 11:44:57 -07:00
Alex Robinson
f86140f1a4 Merge pull request #15010 from JanetKuo/test-loop-same-steps
Loop three types of files for each "multiple resources" test
2015-10-05 11:20:15 -07:00
Paul Morie
3d4b76d722 Add option to allow security context in local cluster 2015-10-05 12:59:37 -04:00
Wojciech Tyczynski
0f1cbe37a4 Events in separate etcd 2015-10-05 10:54:24 +02:00
kargakis
989806d9ec expose: Truncate service names
In case the generated service inherits the exposed object's name (the user didn't specify
a name via --name), truncate it up to the maximum length for a valid service name
2015-10-05 10:39:42 +02: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
0e58e9a49f Merge pull request #14777 from brendandburns/fixer3
Auto commit by PR queue bot
2015-10-02 18:08:08 -07:00
CJ Cullen
f615e18dda Merge pull request #15003 from ihmccreery/upgrade-test-version-skew-fix
Don't check for version skew when testing an upgraded-to-CI cluster
2015-10-02 18:02:17 -07:00
Chao Xu
f816491fdb fix the title of the operations.html 2015-10-02 17:20:27 -07:00
Jeff Lowdermilk
85d0838496 Remove kubectl expose from GCE_PARALLEL_FLAKY_TESTS 2015-10-02 16:55:51 -07:00
Jeff Lowdermilk
deddfeb9ee Merge pull request #14919 from jlowdermilk/rc-e2e-config
Test config for release candidate e2e run
2015-10-02 14:32:20 -07:00
Isaac Hollander McCreery
cedc07568b Don't check for version skew when testing an upgraded-to-CI cluster 2015-10-02 13:36:53 -07:00
Janet Kuo
b10e86038e Loop three types of files for each "multiple resources" test 2015-10-02 13:24:15 -07:00
k8s-merge-robot
6b7fe871b2 Merge pull request #14972 from piosz/ir-namespace
Auto commit by PR queue bot
2015-10-02 11:18:27 -07:00
k8s-merge-robot
41d1f889f6 Merge pull request #14793 from JanetKuo/e2e-kubectl-multi-resource
Auto commit by PR queue bot
2015-10-02 08:48:25 -07:00
k8s-merge-robot
5d47e88e66 Merge pull request #14928 from mikedanese/upgrade
Auto commit by PR queue bot
2015-10-02 06:11:58 -07:00
Piotr Szczesniak
f3cfdb0ef7 Extended prediction algorithm in Initial Resource to use also namespace 2015-10-02 14:56:06 +02:00
Wojciech Tyczynski
5456b4519b Remove reference to Shell from jenkins/e2e.sh 2015-10-02 13:16:32 +02:00
k8s-merge-robot
ff85f0ba95 Merge pull request #14698 from yujuhong/gce_only
Auto commit by PR queue bot
2015-10-02 02:53:27 -07:00
gmarek
e58aff001b Stop existing Kubemark cluster before creating new one in Jenkins 2015-10-02 10:32:57 +02:00
Sergiusz Urbaniak
42c84954fd executor,scheduler: make launchGracePeriod configurable 2015-10-02 07:43:49 +02:00
Janet Kuo
7a2a5b021c Add test of kubectl support for multiple resources 2015-10-01 14:36:17 -07:00
David Oppenheimer
f01e124ca5 Merge pull request #14760 from ihmccreery/gke-upgrade-tests
First pass at getting visibility into 1.0/1.1 upgrades & version skew
2015-10-01 13:53:57 -07:00
Jeff Lowdermilk
aef32aa1a5 Test config for release candidate e2e run 2015-10-01 13:23:30 -07:00
Mike Danese
905e971651 be explicit about minion group size in upgrade test 2015-10-01 12:01:04 -07:00
k8s-merge-robot
f579f8edc3 Merge pull request #14790 from yujuhong/restart_count
Auto commit by PR queue bot
2015-10-01 11:34:32 -07:00
Yu-Ju Hong
15cdc45b09 Split kubelet e2e resource usage tracking tests
Some tests in this test suite expects --max-pods (i.e. the maximum pod capacity
on kubelet) to be greater than default, which applies only to the GCE test
environment. Split the tests into two sets so that we can better categorize
the tests in the jenkins setup, without making the test itself aware of the
environment.
2015-10-01 11:09:06 -07:00
k8s-merge-robot
d50810a1db Merge pull request #14831 from deads2k/allow-yaml-patch
Auto commit by PR queue bot
2015-10-01 08:48:45 -07:00
gmarek
a1e0ce8972 Fix Kubemark on Jenkins 2015-10-01 16:33:28 +02:00
gmarek
9a74980da2 Make kubemark work on Jenkins 2015-10-01 15:26:39 +02:00
Daniel Smith
bd7e2e5d8e Add -p option to hack/test-go.sh 2015-09-30 16:25:11 -07:00
Brendan Burns
40bb24d692 Revert "Fix 'flock' command in hack/jenkins/e2e.sh" 2015-09-30 12:27:02 -07:00
Brendan Burns
0a16257df5 Re-activate DaemonRestart tests, they've been clean in gce-flaky for > 10 runs 2015-09-30 11:00:17 -07:00
deads2k
8b063a34b0 allow yaml as argument to patch 2015-09-30 11:58:42 -04:00
gmarek
8e56866a0a Change the Jenkins kubemark Job name to match kubernetes-.*-gce regexp 2015-09-30 16:16:31 +02:00
gmarek
fd14fa5c48 Add first attempt of Kubemark config to jenkins/e2e.sh 2015-09-30 16:11:39 +02:00
Filip Grzadkowski
28d71418ca Merge pull request #14824 from gmarek/fix-jenkins
Fix 'flock' command in hack/jenkins/e2e.sh
2015-09-30 15:29:15 +02:00
gmarek
cf31d16d94 Fix 'flock' command in hack/jenkins/e2e.sh 2015-09-30 15:27:53 +02:00
Brendan Burns
e827934d78 Merge pull request #12677 from andronat/kubectl_doc_cmd
A new command to read types' description from Swagger - kubectl explain
2015-09-29 19:35:37 -07:00
k8s-merge-robot
b661cfd21e Merge pull request #14643 from liguangbo/change_Oom_to_OOM
Auto commit by PR queue bot
2015-09-29 18:54:22 -07:00
Yu-Ju Hong
5177e82d3a e2e: restore the test for monotonically increasing restart count
The test was disabled because sometimes restart count could not reach the
target before timeout. This change lowers the target restart count, increases
the timeout threshold to 5 minutes, and adds the test to the SLOW suite.
Running the test in a local cluster takes ~1m40s to complete.
2015-09-29 17:22:12 -07:00
Isaac Hollander McCreery
5ddadc5f62 First pass at getting visibility into 1.0/1.1 upgrades & version skew 2015-09-29 14:28:48 -07:00
Jeff Lowdermilk
e849c00b08 Disable Deployment tests in GKE
unbreak gke-ci. again.
2015-09-29 10:21:36 -07:00
k8s-merge-robot
4645ad3cb0 Merge pull request #14594 from nikhiljindal/deploymentE2e
Auto commit by PR queue bot
2015-09-28 20:22:14 -07:00
Mike Danese
ae7d3d5a54 add gce-upgrade to jenkins/e2e.sh 2015-09-28 13:52:42 -07:00
liguangbo
12299087da Change Oom to OOM 2015-09-28 18:18:04 +08:00
gmarek
dd3bd73948 Initial Kubemark commit 2015-09-28 11:39:05 +02:00
Anastasis Andronidis
e8b9dde623 new kubectl explain command 2015-09-26 14:25:53 +03:00
Jordan Liggitt
b71fbb3df9 Lengthen integration test timeout 2015-09-25 20:46:02 -04:00
nikhiljindal
d61ed52799 Adding an e2e test for deployment 2015-09-25 17:14:31 -07:00
Brian Grant
8236335697 Merge pull request #14580 from ixdy/hack-verify-print-status
In verify-all.sh, print check and its status in verbose mode
2015-09-25 16:30:58 -07:00
Brian Grant
10a7f2b1fa Merge pull request #14453 from yujuhong/kubelet_benchmark
Add a slow e2e test to monitor kubelet resource usage
2015-09-25 13:31:59 -07:00
Jeff Grafton
d466c63f5c In verify-all.sh, print check and its status in verbose mode 2015-09-25 13:25:44 -07:00
Brian Grant
313918f561 Merge pull request #14148 from brendandburns/perf
Add a method for encoding directly to a io.Writer and use it for HTTP
2015-09-25 13:19:58 -07:00
Brian Grant
44b0bb1ae7 Merge pull request #14325 from mikedanese/podgc
add pod garbage collection
2015-09-25 11:24:01 -07:00
Brian Grant
d6c3ac54b8 Merge pull request #14392 from caesarxuchao/fix-swagger-docs-move-v1alpha1
simplify group-version-to-pkg-path
2015-09-25 11:02:52 -07:00
Marcin Wielgus
039acb8c1d Merge pull request #14463 from nikhiljindal/DeploymentOnGCE
Allow enabling deployment controller on GCE and GKE
2015-09-25 13:47:36 +02:00
Mike Danese
376faea1cf add pod garbage collection 2015-09-24 22:47:53 -07:00
Chao Xu
d599d07bc3 simplify group-version-to-pkg-path 2015-09-24 21:33:32 -07:00
Chao Xu
c449baea46 Remove ExpStorageVersion and Add StorageVersions to APIServer struct 2015-09-24 17:44:59 -07:00
Brendan Burns
8998219686 Add a method for encoding directly to a io.Writer and use it for HTTPx 2015-09-24 15:52:09 -07:00
Chao Xu
ae1293418b move experimental/v1 to experimental/v1alpha1;
use "group/version" in many places where used to expect "version" only.
2015-09-24 15:32:11 -07:00
Eric Tune
f4f8ec68f8 Merge pull request #14518 from nikhiljindal/flag-exceptions
printf->print in hack/verify-flags-underscore.py script
2015-09-24 14:03:37 -07:00
nikhiljindal
0799c11cb5 printf->print 2015-09-24 13:10:25 -07:00
nikhiljindal
ed5d24ed52 Allow enabling deployment controller on GCE and GKE 2015-09-24 11:37:16 -07:00
Brendan Burns
ec427f22b1 Disable race detection for all integration tests 2015-09-24 09:37:01 -07:00
Jerzy Szczepkowski
c8238c079a E2E tests for horizontal pod autoscaler.
Fixes & tuning in horiontal pod autoscaler and its e2e tests; two of the tests added to "Autoscaling suite".
2015-09-24 14:14:35 +02:00
gmarek
24b03c4db2 Move broken service tests to the flaky suite to make GCE suite happy again 2015-09-24 09:13:00 +02:00
Yu-Ju Hong
0b8244505c Add a slow e2e test to monitor kubelet resource usage
This test tracks kubelet resource usage over a long period of time (1hr)
when running N pods (e.g., N=0,50), and prints out the resource usage. This
would give us an idea how much kubelet's management overhead is in a stable
cluster.

Some followup items:
 * Use a more realistic workload (e.g., including probing)
 * Fail the test if the resource usage is too high.

Caveat:
 * We assume the scheduler would do a decent job distributing the pause pods,
   but we should double check.
 * Cluster addon pods could be unevenly distributed and skews the resource
   usage on nodes.
2015-09-23 18:22:20 -07:00
Eric Tune
d3beca6f06 Merge pull request #14381 from dchen1107/fix
Flag controlled RLIMIT_NOFILE for kubelet.
2015-09-23 16:30:11 -07:00
Eric Tune
13821de107 Merge pull request #14427 from mesosphere/sttts-resource-tests
Avoid assumption of a fixed list of cgroups in e2e conformance tests
2015-09-23 16:22:53 -07:00
Eric Paris
2e814b3b79 hack/verify-all.sh: return error on error 2015-09-23 16:37:22 -04:00
Eric Paris
1ef9e05341 hack/verify-all.sh: turn tab into space 2015-09-23 16:34:38 -04:00
Dr. Stefan Schimanski
f9f91fd99d Remove cgroup list dependent e2e test from conformance test suite
As discussed @gmarek the given test does not belong into the conformance test
suite because it makes a lot of static assumptions about the cgroup setup of the
nodes which cannot be fulfilled by all cluster providers. Depending on the
installation the kubelet is not allowed to move around process
into specific containers.

Fixes https://github.com/mesosphere/kubernetes-mesos/issues/439.
2015-09-23 16:52:56 +02:00
gmarek
816b20a179 Move one of the service tests to skipped. 2015-09-23 15:18:19 +02:00
Dawn Chen
5649939a36 Add new flag to flag file. 2015-09-22 15:18:34 -07:00
Abhishek Shah
a64dad04c7 Make KubeProxy test faster 2015-09-22 13:43:43 -07:00
derekwaynecarr
321b4b577d Add flag to enable cpu limit enforcement when using local up cluster 2015-09-22 16:31:28 -04:00
Tim Hockin
bd3cd82a12 Change kube-proxy flag: annotation for proxy-mode
This changes the --legacy-userspace-proxy flag to be a string flag
--proxy-mode.  If specified, the flag will be respected ('userspace' and
'iptables' being valid values).  If left blank (default) we will choose the
"best".  best means userspace for now UNLESS the user adds an annotation
(net.experimental.kubernetes.io/proxy-mode) to their node, in which case we
will try to use that.

This allows people to try it on a single machine without fear of global failure
and without it getting rolled back on reboots.  It is a poor-man's config blob.
2015-09-21 18:06:24 -07:00
k8s-merge-robot
c96c76b729 Merge pull request #13780 from smarterclayton/pod_logs
Auto commit by PR queue bot
2015-09-21 17:02:47 -07:00
Jeff Grafton
4ce49b6f45 Filter test output when running unit tests in verbose mode 2015-09-21 13:11:12 -07:00
Clayton Coleman
c2e90cd154 Support extended pod logging options
Increase the supported controls on pod logging. Add validaiton to pod
log options. Ensure the Kubelet is using a consistent, structured way to
process pod log arguments.

Add ?sinceSeconds=<durationInSeconds>, &sinceTime=<RFC3339>, ?timestamps=<bool>,
?tailLines=<number>, and ?limitBytes=<number>
2015-09-21 15:39:32 -04:00
k8s-merge-robot
843134885e Merge pull request #12470 from simon3z/add-host-ipc
Auto commit by PR queue bot
2015-09-21 09:15:01 -07:00
Eric Paris
6766b732a5 Update verify-godeps.sh to actually work
The diff was incorrect. It was doing `diff -NIaupr`. And so diff was
interpreting the argument to -I to be `aupr`. So it was not running
recursively. The fix is not so simple because there is an intentionally
broken symlink in one of the godeps. Which diff -r fails on by default.
On linux there is an options to not dereference symlink and just make
sure they point to the same thing. No so on OS X. So we have to exclude
all files called "symlink". Which thankfully there is only one of.
2015-09-19 16:55:12 -04:00
Quinton Hoole
62a0aba550 Fix regex to banish KubeProxy test as slow. 2015-09-19 00:59:03 -07:00
Quinton Hoole
8a95a82c88 Merge pull request #14206 from ixdy/jenkins-configs
Demote "KubeProxy should test kube-proxy" to slow tests
2015-09-18 19:10:00 -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
Jeff Grafton
85179f3352 Demote "KubeProxy should test kube-proxy" to slow tests 2015-09-18 15:00:41 -07:00
Federico Simoncelli
f21d9ac9e4 Support pods with containers using host ipc
Add a HostIPC field to the Pod Spec to create containers sharing
the same ipc of the host.

This feature must be explicitly enabled in apiserver using the
option host-ipc-sources.

Signed-off-by: Federico Simoncelli <fsimonce@redhat.com>
2015-09-18 21:13:39 +02:00
Tamer Tas
cb5f921df1 Add newline to the end of bash scripts 2015-09-18 19:35:05 +03:00
Eric Paris
ed5668f405 Hack to make godep work again 2015-09-18 11:03:29 -05:00
Quinton Hoole
e1c75e91fe Spaces don't work in e2e regex's. Doh! 2015-09-17 15:47:02 -07:00
Kris
f4ad00d9ae Moving Status object to a common package 2015-09-17 14:09:53 -07:00
Quinton Hoole
ceea590f7e Demote e2e test "Daemon set ... launch a pod on every node of the cluster" to flaky. 2015-09-17 13:11:51 -07:00
Eric Paris
650e38e12b Merge pull request #14083 from eparis/fix-doc-gen-on-mac
Fix doc generation on Macs
2015-09-17 09:56:13 -05:00
k8s-merge-robot
b342591032 Merge pull request #13604 from JanetKuo/kubectl-edit
Auto commit by PR queue bot
2015-09-17 03:00:33 -07: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
Eric Paris
2c9708967e Fix doc generation on Macs
The find util on macs require a path. Linux does not. So give it the
path to work on both.
2015-09-16 20:13:14 -04:00
Jeff Lowdermilk
12010e9832 Add kubectl expose to GCE_PARALLEL_FLAKY_TESTS
It's essentially the same as Services.*expose, just using kubectl
instead of client lib.

Fixes #14078
2015-09-16 16:26:36 -07:00
Jeff Grafton
42dc0ca484 Mark "Networking should function for intra-pod communication" as flaky in parallel. 2015-09-16 16:09:19 -07:00
Alex Mohr
b44714da1d Merge pull request #14007 from quinton-hoole/2015-09-15-make-daemon-restart-e2e-run
Make Restart e2e regex more specific so that it doesn't accidentally …
2015-09-16 15:42:21 -07:00
Alex Mohr
063e6d93f1 Merge pull request #14002 from ixdy/e2e-stage-time
Explicitly log how long each step of e2e setup/test/teardown takes.
2015-09-16 15:40:16 -07:00
k8s-merge-robot
b051f3d3df Merge pull request #14024 from ixdy/jenkins-build-test
Auto commit by PR queue bot
2015-09-16 13:10:40 -07:00
Abhi Shah
c2ffe68d0f Merge pull request #13982 from ArtfulCoder/netexec
Created netexec docker image
2015-09-16 10:00:37 -07:00
k8s-merge-robot
22f698f5b0 Merge pull request #13953 from liguangbo/change_iff_to_if_and_only_if
Auto commit by PR queue bot
2015-09-16 08:35:20 -07:00
liguangbo
4df68f03a3 change iff to if and only if to improve annotation readability 2015-09-16 08:29:36 +00:00
Jeff Grafton
a345704c92 hack/test-go.sh: make kube::test::find_dirs actually work correctly
(Also sort the list of excluded directories.)
2015-09-15 23:32:23 -07:00
k8s-merge-robot
d007c9141d Merge pull request #13951 from ixdy/jenkins-go-tests
Auto commit by PR queue bot
2015-09-15 22:48:20 -07:00
Janet Kuo
5a608446ba pull "kubectl edit" from openshift upstream 2015-09-15 19:16:23 -07:00
Abhishek Shah
65fbf5a5fb Created netexec docker image 2015-09-15 19:05:03 -07:00
Jeff Lowdermilk
e0aeb1151b Merge pull request #9870 from markturansky/recyc_config
Allow Volume Plugins to be configurable
2015-09-15 17:53:49 -07:00
Jeff Lowdermilk
a327844575 Merge pull request #13974 from gmarek/framework
Allow disabling waiting for a service account in e2e tests
2015-09-15 17:44:45 -07:00
Jeff Lowdermilk
ebc0b02b7d Merge pull request #13613 from eparis/rework-doc-generation
Rework automatic doc generation
2015-09-15 17:35:47 -07:00
Quinton Hoole
d3996beb07 Make Restart e2e regex more specific so that it doesn't accidentally match DaemonRestart. 2015-09-15 15:41:47 -07:00
Jeff Grafton
170962becb Explicitly log how long each step of e2e setup/test/teardown takes. 2015-09-15 15:04:05 -07:00
Jeff Grafton
beb476d96b Add script to run unit/integration tests on Jenkins 2015-09-15 13:42:59 -07:00
Jeff Grafton
8a41cb46fa Jenkins gke e2e: don't use sudo with gsutil cp 2015-09-15 13:31:00 -07:00
Jeff Lowdermilk
4c01b2a589 Merge pull request #13927 from jlowdermilk/gke-upgrade-tests
Add gke upgrade tests to hack/jenkins/e2e.sh
2015-09-15 13:30:14 -07:00
Paul Weil
ed80c2b940 pid mode 2015-09-15 13:51:44 -04:00
gmarek
96a90f45c3 Allow disabling waiting for a service account in e2e tests 2015-09-15 12:49:49 -04:00
markturansky
7bc55b5aea configurable pv recyclers 2015-09-15 12:48:25 -04:00
k8s-merge-robot
b8e938b795 Merge pull request #13184 from feihujiang/limitTypesForExposeCommand
Auto commit by PR queue bot
2015-09-15 01:21:19 -07:00
k8s-merge-robot
1381d0cc36 Merge pull request #13887 from nikhiljindal/deploymentController
Auto commit by PR queue bot
2015-09-14 22:01:06 -07:00
k8s-merge-robot
c55cc2c68c Merge pull request #13938 from jlowdermilk/fix-hack-test-go
Auto commit by PR queue bot
2015-09-14 20:48:00 -07:00
k8s-merge-robot
92b2d0156e Merge pull request #13941 from ghodss/local-up-cluster-speedup
Auto commit by PR queue bot
2015-09-14 20:22:39 -07:00
feihujiang
98689a99ec Limit the type for kubectl expose command 2015-09-15 11:17:04 +08:00
nikhiljindal
c97b9db700 Adding a deploymentController 2015-09-14 18:39:46 -07:00
Sam Ghods
b021c83ac3 Speed up hack/local-up-cluster.sh build time 2015-09-14 15:39:53 -07:00
Jeff Lowdermilk
1f71ac8c17 remove unneccessary echo in hack/test-go.sh 2015-09-14 15:25:33 -07:00
Jeff Lowdermilk
7fa7852205 disable Daemon set test when running e2e on gke 2015-09-14 13:34:13 -07:00
Jeff Lowdermilk
8e509be45f Add gke upgrade tests to hack/jenkins/e2e.sh 2015-09-14 10:03:11 -07:00
Jeff Lowdermilk
e25ae7fdb2 Merge pull request #13833 from caesarxuchao/central-latest
[WIP] Making a generic latest package
2015-09-14 09:26:58 -07:00
k8s-merge-robot
4aa412e04d Merge pull request #13810 from quinton-hoole/2015-09-10-banish-flaky-tests
Auto commit by PR queue bot
2015-09-12 21:10:49 -07:00
Chao Xu
f734a6f038 register experimental/v1 in test-cmd.sh and test-integration.sh 2015-09-11 17:34:32 -07:00
Chao Xu
a7b5e11171 fix KUBE_API_VERSIONS in update_swagger_spec.sh 2015-09-11 17:33:22 -07:00
Chao Xu
347ce513cc modifying hack/test* scripts 2015-09-11 17:29:37 -07:00
k8s-merge-robot
cb481b4a00 Merge pull request #13837 from brendandburns/kubectl2
Auto commit by PR queue bot
2015-09-11 17:18:29 -07:00
Eric Paris
58d6b29e97 Rework doc generation to simplify and centralize
Just do all doc generation in the hack::util::gen-docs instead of spread
around. We also only track the generated docs in a single file for the
whole tree.
2015-09-11 19:32:08 -04:00
Daniel Smith
7a0fc719fb Fix tooling for apis/experimental's new home
* fix package name
* add a script to auto-gofmt everything, useful after grep/sed incantations
* update conversion/deep copy generation
* doc update
2015-09-11 16:06:10 -07:00
Eric Paris
9cf7bb6b4f Automatically clean up KUBE_TEMP
kube::util:ensure-temp-dir claims that it will automatically clean it
up. But it obviously doesn't. Since we cannot add multiple trap in bash
add a function that lets us trap and clean up KUBE_TEMP even if someone
already set a trap.
2015-09-11 18:58:49 -04:00
Brendan Burns
9ba13ff361 Address comments 2015-09-11 13:55:16 -07:00
Jeff Lowdermilk
7229096453 Add config for the main gke-jenkins jobs to e2e.sh 2015-09-11 11:05:30 -07:00
Jerzy Szczepkowski
5be8817315 Turning on pod autoscaler on GCE.
Implemented optional turning on of pod autoscaler in kube-up script for GCE.
2015-09-11 12:03:41 +02:00
Abhishek Shah
44ce4aa423 Create a LB for a K8S with the LB-IP provided by user. 2015-09-10 21:05:06 -07:00
k8s-merge-robot
bfc60709b1 Merge pull request #13468 from yifan-gu/rkt_doc
Auto commit by PR queue bot
2015-09-10 20:32:08 -07:00
Mike Danese
b0457bee94 Merge pull request #13058 from mvdan/go1.5
Race condition and test fixes
2015-09-10 15:10:19 -07:00
Yifan Gu
4f6f5586d2 hack/local-up-cluster.sh: add new rkt flags for kubelet. 2015-09-10 14:58:03 -07:00
Yifan Gu
e7b9c50ba1 kubelet/rkt: add support for different stage1 image.
Also enable grace stop for service files.
2015-09-10 14:58:03 -07:00
Mike Danese
a48f218264 Merge pull request #13754 from tummychow/labels-deps
Move util.StringSet into its own package
2015-09-10 13:10:54 -07:00
Mike Danese
1fec199356 Merge pull request #13824 from kubernetes/revert-13547-hpa-kubeup
Revert "Turning on pod autoscaler on GCE."
2015-09-10 12:53:10 -07:00
Quinton Hoole
eaf0e3e2f3 Merge pull request #13813 from quinton-hoole/2015-09-10-banish-e2e-try-again
Banish service up and down e2e test in parallel to flaky
2015-09-10 12:27:12 -07:00
tummychow
78ce5da988 Move util.StringSet into its own package
A lot of packages use StringSet, but they don't use anything else from
the util package. Moving StringSet into another package will shrink
their dependency trees significantly.
2015-09-10 12:04:15 -07:00
Jeff Lowdermilk
08442974bb Revert "Turning on pod autoscaler on GCE." 2015-09-10 11:46:37 -07:00
Daniel Martí
c054b20148 Avoid using two periods in templates
Since $id_field already starts with a period, .$id_field would result in the
following in Go 1.5:

error: error parsing template {{range.items}}{{..metadata.name}}:{{end}}, template: output:1: unexpected . after term "."

Apparently, Go 1.4 allowed this. Unnecessary anyway.
2015-09-10 11:44:14 -07:00
Quinton Hoole
662e41cdcc Banish services up and down e2e test in parallel to flaky. 2015-09-10 09:08:19 -07:00
Quinton Hoole
72cfaf4955 Demote namespace e2e test to flaky in parallel (and fix it's name). 2015-09-10 08:55:11 -07:00
Jerzy Szczepkowski
b41862b670 Turning on pod autoscaler on GCE.
Implemented optional turning on of pod autoscaler in kube-up script for GCE.
2015-09-10 16:10:01 +02:00
Chao Xu
fe0a7ae51a Merge pull request #13740 from soltysh/fix_runtime_config_flag
Fixed passing RUNTIME_CONFIG flag
2015-09-09 17:15:30 -07:00
Maciej Szulik
08aae94dea Fixed passing RUNTIME_CONFIG flag, since currently it fails passing eg.
RUNTIME_CONFIG="experimental/v1=true" to the server.
2015-09-09 21:55:57 +02:00
jiangyaoguo
1460a1fb9e Rate limit events in kubelet
1. Add EvnetRecordQps and EventBurst parameter in kubelet.
2. If  EvnetRecordQps and EventBurst was set, rate limit events in kubelet
with a independent ratelimiter as setted.
2015-09-09 16:57:21 +08:00
k8s-merge-robot
45742e885c Merge pull request #13452 from aveshagarwal/master-api-rate-burst-remove
Auto commit by PR queue bot
2015-09-09 00:42:59 -07:00
Chao Xu
1c02ea04a7 Merge pull request #13605 from caesarxuchao/fix-verify-descriptions
Fix verify-descriptions.sh
2015-09-08 11:41:44 -07:00
k8s-merge-robot
1eb348c59b Merge pull request #13591 from gmarek/update-all
Auto commit by PR queue bot
2015-09-08 09:02:09 -07:00
Chao Xu
10c8179030 enable verify-description.sh for pkg/expapi/v1/types.go 2015-09-08 08:59:52 -07:00
k8s-merge-robot
0d21b5888f Merge pull request #13550 from gmarek/verify-all
Auto commit by PR queue bot
2015-09-08 03:35:51 -07:00
k8s-merge-robot
01d11b9f8f Merge pull request #13617 from mesosphere/config-exec-resources
Auto commit by PR queue bot
2015-09-07 01:53:04 -07:00
gmarek
e232840673 Add a verify-all script that runs most of 'verify' scripts 2015-09-07 10:26:40 +02:00
gmarek
de9614af37 Add an hack/update-all.sh script that run all update scripts 2015-09-07 09:36:07 +02:00
James DeFelice
cf908df89c add flags for initial executor cpu and memory resources 2015-09-06 02:16:09 +00:00
Dai Zuozhuo
2e2ef3e830 change -o template to -o go-template=... 2015-09-05 22:30:47 +08:00
Chao Xu
9fc79e9d99 refactor testapi and test scripts to prepare for multiple API groups. 2015-09-04 18:01:32 -07:00
Quinton Hoole
e4fbfa9777 Merge pull request #13025 from pires/example_elasticsearch
Revamped Elasticsearch example
2015-09-04 12:28:17 -07:00
Quinton Hoole
a66087c83f Remove service latency e2e test from the flaky bucket. 2015-09-04 11:52:59 -07:00
Quinton Hoole
eff8ea2432 Banish some more Services e2e tests to flaky in parallel. 2015-09-04 08:44:34 -07:00
Piotr Szczesniak
47af1a0c9b Merge pull request #13421 from mesosphere/optout_pod_resource_constraints
MESOS: Add --contain-pod-resources flag to determine how k8s-mesos will contain pod resources
2015-09-04 13:43:22 +02:00
Piotr Szczesniak
48b9c365c7 Merge pull request #13308 from timothysc/watch-cache-disable
Plumb through configuration option to disable watch cache
2015-09-04 13:40:46 +02:00
Paulo Pires
0a64995b7b Revamped Elasticsearch example that now uses an Alpine Linux container with JRE 8u51 and Elasticsearch 1.7.1.
Replaced Go discovery mechanism for Elasticsearch discovery plug-in that supports Kubernetes.
2015-09-04 09:39:14 +01:00
Jerzy Szczepkowski
2684018bb5 Configurations of jenkins e2e cluster and default private e2e cluster made consistent.
Configurations of jenkins e2e cluster and default private e2e cluster made consistent.
2015-09-04 09:15:01 +02:00
Piotr Szczesniak
97abc950db Merge pull request #13526 from ixdy/jenkins-build-test
Don't override KUBE_RELEASE_RUN_TESTS if set in enviroment
2015-09-04 09:06:31 +02:00
James DeFelice
a1cea8dd87 Flexible resource accounting and pod resource containment:
- new: introduce AllocationStrategy, Predicate, and Procurement to scheduler pkg
- new: --contain-pod-resources flag (workaround for docker+systemd+mesos problems)
- new: --account-for-pod-resources flag (for testing overcommitment)
- bugfix: forward -v flag from minion controller to executor
2015-09-04 00:49:13 +00:00
Abhi Shah
c9f2d3151b Merge pull request #13155 from derekwaynecarr/enforce_limits
Map cpu limits to cpu-quota in docker run
2015-09-03 16:28:04 -07:00
Quinton Hoole
ea6238ddc3 Remove redundant filter from e2e-gce-parallel test job. 2015-09-03 15:54:12 -07:00
k8s-merge-robot
d1c7a5f04e Merge pull request #13362 from mesosphere/proxy-runtime
Auto commit by PR queue bot
2015-09-03 15:26:56 -07:00
Avesh Agarwal
f0d0e2a089 Remove unused api-rate and api-burst params. 2015-09-03 17:57:35 -04:00
Quinton Hoole
e76e0477f2 Make PR builder and e2e-gce-parallel e2e runs use the same number of nodes. 2015-09-03 11:48:52 -07:00
derekwaynecarr
5dc74e8dbf Add support for CFS quota in kubelet 2015-09-03 13:44:28 -04:00
Jeff Grafton
e3bb7834d9 Don't override KUBE_RELEASE_RUN_TESTS if set in enviroment 2015-09-02 14:37:15 -07:00
Chao Xu
530a9a0238 cover expapi when genereate types_swagger_doc_generated.go 2015-09-02 10:01:40 -07:00
Marcin Wielgus
77e2d4f918 Merge pull request #13132 from piosz/initial
Implemented first version of InitialResources plugin.
2015-09-02 13:11:35 +02:00
Marcin Wielgus
f7bb05f58e Merge pull request #13504 from Huawei-PaaS/fix_heapster_cadvisor_port
Fix a typo `-cadvisor_port` to `--cadvisor-port`
2015-09-02 12:13:49 +02:00
qiaolei
d2a0f2b66f Fix a typo -cadvisor_port to --cadvisor-port
Where `-cadvisor_port` should be `--cadvisor-port`
2015-09-02 17:52:52 +00:00
James DeFelice
7fbd290167 moved cgroup-root detection to minion service; kube proxy now configured to run in mesos container 2015-09-02 06:13:26 +00:00
k8s-merge-robot
0a062c5b24 Merge pull request #11942 from ironcladlou/rolling-update-availability
Auto commit by PR queue bot
2015-09-01 16:51:13 -07:00
Dan Mace
da5e4d7bd5 Rolling updater availability enhancements
Enhance the rolling updater to support maintaining minimum pod
availability for the duration of the update process.
2015-09-01 12:54:08 -04:00
Piotr Szczesniak
7967642cf0 Implemented first version of InitialResources plugin. 2015-09-01 17:24:13 +02:00
Quinton Hoole
5b853a2384 Skip GCE_SKIP and GCE_FLAKY e2e tests when soak testing. 2015-08-31 14:58:50 -07:00
k8s-merge-robot
de60651cc0 Merge pull request #12858 from MatMaul/master
Auto commit by PR queue bot
2015-08-30 21:46:50 -07:00
k8s-merge-robot
4a7115d272 Merge pull request #11955 from pedro-r-marques/flag_resolv_conf
Auto commit by PR queue bot
2015-08-30 21:03:54 -07:00
k8s-merge-robot
8925363863 Merge pull request #13325 from quinton-hoole/2015-08-28-move-slow-e2e-tests
Auto commit by PR queue bot
2015-08-28 21:26:40 -07:00
k8s-merge-robot
b6e355d2d3 Merge pull request #13142 from jszczepkowski/exp-flag
Auto commit by PR queue bot
2015-08-28 17:08:06 -07:00
Quinton Hoole
ac52c996aa Add a regex and Jenkins job for slow e2e tests. 2015-08-28 17:08:02 -07:00
k8s-merge-robot
66f71bafe1 Merge pull request #13114 from ixdy/test-go-junit-report
Auto commit by PR queue bot
2015-08-28 16:22:30 -07:00
k8s-merge-robot
8cf3d1a792 Merge pull request #13050 from mesosphere/minion-path
Auto commit by PR queue bot
2015-08-28 10:46:26 -07:00
Timothy St. Clair
2145371c45 Plumb through configuration option to disable watch cache
because we are seeing anomolies on our cluster.
2015-08-28 12:36:40 -05:00
k8s-merge-robot
721afd6f74 Merge pull request #13197 from soltysh/fix_local_up2
Auto commit by PR queue bot
2015-08-28 02:25:18 -07:00
Wojciech Tyczynski
9bdc85a228 Merge pull request #13292 from saad-ali/actuallyFix13257
Move E2E PD Test out of flaky
2015-08-28 09:13:33 +02:00
saadali
33b5616ebc Fix E2E Test "Pod Disks should schedule a pod w/ a RW PD, remove it, then schedule it on another host" out of flaky 2015-08-27 21:39:46 -07:00
Dr. Stefan Schimanski
cac58f6db7 Add --path-override to minion to change the PATH env var of subprocesses;
pass hostname-override through to kube-proxy (if defined)
2015-08-27 22:57:04 +00:00
Quinton Hoole
be1d01e2e4 Don't run flaky e2e tests in parallel test runs. 2015-08-27 10:26:06 -07:00
Piotr Szczesniak
4ef108a92d Moved failing tests to the flaky suite on Jenkins 2015-08-27 15:26:25 +02:00
Yu-Ju Hong
3789da1473 e2e: mark the restart count test flaky 2015-08-26 16:28:00 -07:00
Pedro Roque Marques
99b1da848d Add kubelet '--resolv-conf' flag.
Allow the user to specify the resolver configuration file that is used
to determine the default DNS parameters. This defaults to the system's
/etc/resolv.conf.
2015-08-26 15:41:36 -07:00
Jeff Grafton
75294b7a38 Add option to save unit test results as JUnit XML for Shippable 2015-08-26 15:26:51 -07:00
Maciej Szulik
7edb1afad6 Fixed typo in verify-flags-underscore 2015-08-26 13:29:10 +02:00
Maciej Szulik
4caa5e80b1 Updated deprecated flags (address and port). Added an option to pass runtime-config. 2015-08-26 13:28:40 +02:00
Piotr Szczesniak
99b9de9d76 Started running Autoscaling e2e test on dedicated Jenkins job 2015-08-26 12:12:51 +02:00
Mathieu Velten
57f18a0e04 Add a dockercfg_path parameter to the Mesos scheduler (the main purpose is to handle private repos auth).
This is implemented by copying the dockercfg file in the executor work directory.
2015-08-26 11:21:08 +02:00
Yu-Ju Hong
ac97aed837 Revert "Updated deprecated flags (address and port). Added an option to pass runtime-config." 2015-08-25 14:45:06 -07:00
Yu-Ju Hong
a74bea7f32 Merge pull request #13094 from soltysh/fix_local_up
Updated deprecated flags (address and port). Added an option to pass runtime-config.
2015-08-25 14:31:57 -07:00
Jerzy Szczepkowski
2de49358ab Added flags for horizontal pod autoscaler to controller-manager.
Added flags for horizontal pod autoscaler to controller-manager.
2015-08-25 17:28:17 +02:00
Eric Paris
03f4e52812 Make verify-flags-underscore.py return error on failure
We were running it in shippable and travis, but since it didn't return
an error it wasn't actually catching things.
2015-08-24 22:12:17 -05:00
Jeff Grafton
22cba0f86e Use GCE defaults for per-PR Jenkins 2015-08-24 15:49:59 -07:00
Nikhil Jindal
9eb0970bdb Merge pull request #13091 from mesosphere/python-set-sort
Fix sort on sets in hack/verify-flags-underscore.py
2015-08-24 14:07:12 -07:00
Nikhil Jindal
4e51cb2a86 Merge pull request #13090 from mesosphere/finally-undefined
Fix undefined variable f in 'finally' clause of verify-flags-underscore
2015-08-24 14:06:59 -07:00
Maciej Szulik
5bc93e0eb4 Updated deprecated flags (address and port). Added an option to pass runtime-config. 2015-08-24 21:43:16 +02:00
Nikhil Jindal
a09425d828 Merge pull request #10933 from andronat/swagger_auto_type_docs
Automatic Generation of Swagger Documentation in Types
2015-08-24 10:35:58 -07:00
Dr. Stefan Schimanski
211fe33f40 Fix undefined variable f in 'finally' clause of verify-flags-underscore.py 2015-08-24 16:36:52 +02:00
Dr. Stefan Schimanski
ce013e288c Fix sort on sets in hack/verify-flags-underscore.py 2015-08-24 15:06:33 +02:00
Zach Loafman
30a1fb06c7 Merge pull request #10957 from yifan-gu/oidc
plugin/pkg/auth: add OpenID Connect token authenticator
2015-08-21 18:51:04 -07:00
Anastasis Andronidis
10747841a0 move type documentation from tags to comments 2015-08-22 03:24:35 +02:00
Anastasis Andronidis
e27a76ae81 hack and hooks scripts for generating swagger docs 2015-08-22 02:27:41 +02:00
Anastasis Andronidis
9f21ae21e8 swagger type documentation generator 2015-08-22 02:26:03 +02:00
Zach Loafman
29369b0dde Merge pull request #13030 from justinsb/aws_jenkins_parallel
AWS: e2e: change instance default size, create kubernetes-e2e-aws-parallel
2015-08-21 16:06:56 -07:00
Zach Loafman
0a8291505a Merge pull request #9234 from ZJU-SEL/fix-e2e-test-hostdir
fix e2e hostdir test
2015-08-21 15:51:42 -07:00
Yifan Gu
6376e41850 plugin/pkg/auth: add OpenID Connect token authenticator.
Also add related new flags to apiserver:
"--oidc-issuer-url", "--oidc-client-id", "--oidc-ca-file", "--oidc-username-claim",
to enable OpenID Connect authentication.
2015-08-21 15:27:08 -07:00
Zach Loafman
afc35742de Merge pull request #12981 from BenTheElder/iptables_cleanup
Add --cleanup-iptables flag to kube-proxy
2015-08-21 14:36:31 -07:00
Zach Loafman
21b1453f25 Revert "Promoted Autoscaling e2e tests to standard suite" 2015-08-21 13:21:53 -07:00
Zach Loafman
86a10a142c Merge pull request #12950 from ixdy/coveralls
Enable reporting test coverage to Coveralls from Shippable and disable per-PR coverage
2015-08-21 11:45:55 -07:00
BenTheElder
81ab51709a Add --cleanup-iptables flag to kube-proxy
Adds a flag to cleanup iptables rules created by kube-proxy per
https://github.com/mesosphere/kubernetes-mesos/issues/353#issuecomment-1
27382832
2015-08-21 14:44:11 -04:00
Justin Santa Barbara
e7ce72cf35 AWS: Add kubernetes-e2e-aws-parallel for Jenkins
This should allow us to run tests on AWS much faster.
2015-08-21 10:24:05 -04:00
Jerzy Szczepkowski
3df1b9e151 Merge pull request #12986 from BenTheElder/masquerade_all_flag
Add flag to masquerade all in kube-proxy when using iptables proxier
2015-08-21 10:28:07 +02:00
Piotr Szczesniak
e485a6ca45 Promoted Autoscaling e2e tests to standard suite 2015-08-21 09:59:49 +02:00
k8s-merge-robot
1a18588a60 Merge pull request #12960 from smarterclayton/network_tester
Auto commit by PR queue bot
2015-08-20 22:44:30 -07:00
Saad Ali
93ffc9c57e Merge pull request #12992 from pmorie/description_checker
Make description checker check for descriptions in internal API
2015-08-20 17:32:44 -07:00
BenTheElder
1f2076ce64 Add flag to masquerade all in kube-proxy when using iptables proxier 2015-08-20 20:12:32 -04:00
Abhishek Shah
b6b8e99393 External IPs support. 2015-08-20 16:10:01 -07:00
Saad Ali
9b01580946 Merge pull request #12872 from runningwild/master
Fix several problems with using rkt on gce
2015-08-20 15:46:16 -07:00
Jeff Grafton
6f548cf5be Enable reporting test coverage to Coveralls from Shippable
However, enable coverage collection only on merges - not on pull
requests.
2015-08-20 15:34:20 -07:00
Saad Ali
e8009e828c Merge pull request #12632 from erictune/conformance-master-2
Add generic master detector; simplify conformance.
2015-08-20 14:32:36 -07:00
Saad Ali
489e75e073 Merge pull request #12202 from daizuozhuo/kubectl
add jsonpath to kubectl
2015-08-20 14:31:45 -07:00
Paul Morie
2dceb28444 Make description checker check for descriptions in internal API 2015-08-20 15:55:05 -04:00
Clayton Coleman
9267f829eb Update tests to prepare for graceful deletion
For cases where we want to immediately cleanup the pod, start using
gracePeriod 0 in test cases.
2015-08-19 22:20:29 -04:00
Clayton Coleman
9ee7b76bba Allow testing graceful shutdown via network-tester 2015-08-19 22:06:37 -04:00
Dai Zuozhuo
b61a905b19 add jsonpath to kubectl 2015-08-20 08:57:24 +08:00
He Simei
faeb45d69f fix host dir, to test volume r/w with different containers within a pod
Signed-off-by: He Simei <hesimei@zju.edu.cn>
2015-08-20 08:55:19 +08:00
Saad Ali
8a43bd621e Merge pull request #12745 from eparis/even-less-dash-false-positive
verify-flags-underscore.py: Even fewer dash false positives
2015-08-19 17:03:29 -07:00
Saad Ali
ee89f55bb9 Merge pull request #12188 from eparis/godeps-clean-test
verify-godeps.sh script to make sure all of Godeps is easily reproducible
2015-08-19 16:57:22 -07:00
Saad Ali
bce79d1368 Merge pull request #12850 from wojtek-t/scalability_suite_verbosity
Reduce logs verbosity in scalability tests
2015-08-19 15:37:58 -07:00
Saad Ali
14eadcccac Merge pull request #12521 from feihujiang/kubectlScaleAcceptFileNameParam
Kubectl scale command accepts a filename param
2015-08-19 15:00:26 -07:00
Eric Tune
29da889bbf Add generic master detector; simplify conformance.
Add detect-master-from-kubeconfig bash function.
Use it to no longer require conformance test user
to specify KUBE_MASTER_IP.
2015-08-19 13:20:22 -07:00
Saad Ali
d42864b0ad Merge pull request #12112 from JanetKuo/update-kubectl-get-pods-running
Hide terminated pods in 'kubectl' Printer by default
2015-08-19 12:51:18 -07:00
Jonathan Wills
80e799fc0c Allow configuring the rkt binary in a kubelet with a flag.
This is necessary because coreos comes with rkt installed, and if we want to use a different version
we need some way to avoid the default one.
2015-08-19 09:42:13 -04:00
Tim Hockin
16a33318b7 Use a valid address for swagger 2015-08-18 21:50:27 -07:00
Robert Bailey
08e6a43c1d Revert "Merge pull request #9165 from smarterclayton/graceful"
This reverts commit 4f856b595d, reversing
changes made to d78525a83b.

Conflicts:
	pkg/kubelet/status_manager.go
2015-08-18 17:34:49 -07:00
Janet Kuo
44a7a52a94 Hide failed/succeeded pods in 'kubectl get pods' by default 2015-08-18 13:47:19 -07:00
Robert Bailey
4f856b595d Merge pull request #9165 from smarterclayton/graceful
Enable graceful deletion using reconciliation loops in the Kubelet without TTL
2015-08-18 10:01:40 -07:00
Clayton Coleman
adc97bf936 Conversions 2015-08-18 09:08:45 -04:00
Clayton Coleman
89f1f3b1b8 Alter graceful deletion to not use TTL
Avoid TTL by deleting pods immediately when they aren't
scheduled, and letting the Kubelet delete them otherwise.

Ensure the Kubelet uses pod.Spec.TerminationGracePeriodSeconds
when no pod.DeletionGracePeriodSeconds is available.
2015-08-18 09:08:43 -04:00
Clayton Coleman
b842a7dd15 Revert "Revert "Gracefully delete pods from the Kubelet""
This reverts commit 98115facfd.
2015-08-18 08:57:02 -04:00
Wojciech Tyczynski
d9d7f6d964 Reduce logs verbosity in scalability tests 2015-08-18 11:14:14 +02:00
Prashanth Balasubramanian
83f1212e0b Confirms daemons restart and do sane things in an e2e test 2015-08-17 20:39:57 -07:00
Eric Paris
ca310ffdac Sort output from hack/verify-flag-underscore.py
So we get some consistency and readability to the exceptions.txt
2015-08-17 11:32:18 -07:00
Eric Paris
99dc464c9b verify-flags-underscore.py: update how to add to exclusion list 2015-08-17 11:19:32 -07:00
Eric Paris
b432f036db verify-flags-underscore.py: ignore juju variables 2015-08-17 11:19:32 -07:00
Eric Paris
f3fd2e1028 verify-flags-underscore.py: ignore if trailed by :
These are often yaml definitions, and thus not usages of kubernetes
flags.  Not necessarily always, but usually.
2015-08-17 11:19:32 -07:00
Eric Paris
d1ba0bb692 verify-flags-underscore.py: ignore salt grains 2015-08-17 11:19:31 -07:00
Eric Paris
d7f9477a94 verify-flags-underscore.py: exclude salt variable which look like flags 2015-08-17 11:19:31 -07:00
Eric Paris
7f96f9312b verify-flags-underscore.py: ignore 'flags' that look like bash variables
We ignore bad 'flags' if they are proceeded by $ or { as these are
likely bash variables and not in fact bad flag usage.
2015-08-17 11:19:31 -07:00
Eric Paris
055d648ed7 Change log_flush_frequency to use -
Since we have the rename, we don't need our declaration to look like
glog's.
2015-08-17 11:19:31 -07:00
Eric Paris
c560f41a4b Update docs which were incorrectly using _ in flag names
Each of these was verified that the actual flag declaration correctly
used -
2015-08-17 11:18:43 -07:00
Eric Paris
68716c7712 verify-flags-underscore.py: Remove contrib/ exceptions
As contrib was removed.
2015-08-17 11:08:24 -07:00
Marek Grabowski
d310eeaca9 Merge pull request #12783 from piosz/autoscaling_e2e
Enabled Autoscaling e2e test for Jenkins flaky job
2015-08-17 11:23:28 +02:00
Piotr Szczesniak
b6f1c9d989 Enabled Autoscaling e2e test for Jenkins flaky job 2015-08-17 10:54:33 +02:00
Mike Danese
fa40ced8f8 move contrib/for-tests to test/images 2015-08-14 20:42:46 -07:00
Brendan Burns
9cc5156b69 Merge pull request #12685 from eparis/goimports
Remove dependancy on external goimports binary
2015-08-14 20:29:00 -07:00
Brendan Burns
8e05da1316 Merge pull request #12696 from eparis/less-dash-false-positive
Fewer false positives in verify-flag-underscore.sh
2015-08-14 16:27:08 -07:00
Brendan Burns
d7763a1b2b Merge pull request #12557 from eparis/boilerplate-multiple-file-types
Speed up pre-commit boilerplate by only checking changed files
2015-08-14 16:26:00 -07:00
Eric Paris
823392e4e3 New test and commit hook to make sure changes to Godeps are reproducable
It is a pretty slow test (it downloads fresh) all of kube's Godeps, so only
run it when needed in pre-commit hook.

This also means that random changes to other non-kube repositories could
cause travis/shippable to just randomly stop working for all PRs which touch
Godeps after that moment (even though no changes have been made to Godeps by
us).  Examples would be things like other repos completely disappearing. Or
even the directory we include disappearing in master in the remote
project (even though the directory may exist at the commit we care
about) This is a bugwin godep, but it is a problem we have seen happen
with kube Godeps.
2015-08-14 14:21:43 -04:00
Eric Paris
56f6ad0c01 Specifically exclude some flag definitions in verify-flag-underscore.sh
We know there are some flags (declared with an _) which we wish to
ignore. These flags are used by container definitions, e2e, etc. By
explicitly ignoring those flags we can cut the amount of noise in the
whitelist.
2015-08-14 14:11:02 -04:00
Eric Paris
8a91d86783 Speed up pre-commit boilerplate by only checking changed files
Although the boilerplate checker was very fast it can be faster. With
this change we can hand the boilerplate a list of files which need to be
checked or give it no files. If given no files it will run all files in
the repo. Before you had to explicitly tell the boiler checker the
'extention' of the the files.  In this case we let the checker figure it
out and load the headers as needed.

Doing the whole repo takes about 0.4 seconds. Doing a single go file
takes < .04 seconds.
2015-08-14 10:19:33 -04:00
Piotr Szczesniak
fb44d5e045 Enabled Autoscaling e2e test for cpu utilization 2015-08-14 11:50:19 +02:00
Eric Paris
30d34d0e59 Reduce false positives with verify-flag-underscore.sh by updating regex
Check to make sure there is not an alphanumeric character immeditely
before or after the 'flag'.  It there is an alphanumeric character then
this is obviously not actually the flag we care about.  For example if
the project declares a flag "valid-name" but the regex finds something
like "invalid_name" we should not match.  Clearly this "invalid_name" is
not actually a wrong usage of the "valid-name" flag.
2015-08-13 21:06:39 -04:00
Eric Paris
8f3577e5d2 Do not use goimports in hack/update-generated-conversions.sh
Stop depending on an external binary needing to be on people's system.
Use the code directly.
2015-08-13 19:37:01 -04:00
Eric Paris
00929ed7d8 Convert generated-deep-copies to use golang.org/x/tools/imports
I don't like users to need an external binary which can easily get out
of sync. Just include the tools.
2015-08-13 19:36:57 -04:00
Eric Paris
c6a5b43df1 Update flag-dash whitelist
PRs older than the verifier landed in HEAD.  So update the whitelist
2015-08-13 17:43:00 -04:00
Brendan Burns
db39e5c45d Merge pull request #12667 from preillyme/issues_12666
Remove the "www" and "third-party ui" directories from kubernetes repo
2015-08-13 14:09:11 -07:00
Brendan Burns
d8a60d2271 Merge pull request #12623 from thockin/proxy-ipt
Auto commit by PR queue bot
2015-08-13 13:10:39 -07:00
Brendan Burns
15281a5e01 Merge pull request #12388 from feihujiang/kubectlPatchAcceptFileNameParam
Auto commit by PR queue bot
2015-08-13 11:49:41 -07:00
Patrick Reilly
bf02aaa97d remove other cluster addon references for container build 2015-08-13 10:23:55 -07:00
Tim Hockin
776132e1ae Make kube-proxy iptables sync period configurable 2015-08-13 09:53:32 -07:00
Ruddarraju, Uday Kumar Raju
937db3f70d Keystone authentication plugin 2015-08-13 09:46:30 -07:00
Wojciech Tyczynski
77f431649b Merge pull request #12462 from gmarek/cadvisor2
Add e2e test monitoring current container resource usage with updated constants.
2015-08-13 10:19:19 +02:00
feihujiang
1e10a7cc59 Kubectl scale command accepts a filename param 2015-08-13 14:26:25 +08:00
feihujiang
0110f3176b Kubectl patch command accepts a filename param 2015-08-13 11:13:31 +08:00
Brendan Burns
99b8df1812 Add field based sorting to the kubectl command line. 2015-08-12 16:51:36 -07:00
CJ Cullen
0f27307f82 Merge pull request #12609 from mikedanese/rewrite-shell
updating all references to GoogleCloudPlatform in .sh scripts
2015-08-12 16:00:43 -07:00
Mike Danese
f061875840 updating all references in .sh scripts 2015-08-12 14:41:59 -07:00
Eric Paris
f54098fe00 Verify all flag usage does not use _
This works by defining two 'static' lists in hack. The first is the list
of all flags in the project which use a `-` or an `_` in their name. All
files being processed by verify-flags-underscore.py (or all files in the
repo if no filename arguments are given) will be searched for flag
declaration using a simple regex. Its not super smart. If a flag is
found which is not in the static list it will complain/reject the commit
until a human adds it to the list. If we do not keep a static list of
flags it takes >.2 seconds to find them 'all' at runtime. Since this is
run in pre-commit saving every part of a second helps.

After it finds all of the flags it runs all of the arguments (or all
files in repo if no arguments) looking for usage of those flags which
includes an `_`. There are lots of places where these are false
positives. For example we have a flag named oom-adj-score but the kernel
calls it oom_adj_score. To handle this we keep a second 'whitelist' of
lines which are allowed to use these flag names with an `_`.

Running the entire git repo looking for flags in every golang file and
looking in every single file for bad usage takes about 8.75 seconds.

Running it in the precommit hook where we only check things that changed
takes about .06 seconds.
2015-08-12 16:17:02 -04:00
Eric Paris
ce6f2c8e4b Do not build genconversion and gendeepcopy twice
The hack/after-build/verify-* functions were using the hack/update-*
functions.  Which means that if you call hack/verify-* you will do the
build twice. Stop it.
2015-08-12 10:05:48 -04:00
Piotr Szczesniak
81fb0f9582 Merge pull request #12527 from piosz/jenkins-autoscaling
Actually changed monitoring level on Jenkins
2015-08-12 11:23:12 +02:00
Piotr Szczesniak
c91950f01c Merge pull request #12566 from uluyol/cleanup-convcopy
Add missing argument to function call and don't set GOPATH directly
2015-08-12 09:36:10 +02:00
Piotr Szczesniak
1df0267f4a Merge pull request #12551 from eparis/underscore-to-dash
Update code and docs to use - in flag names instead of _
2015-08-12 07:16:31 +02:00
Muhammed Uluyol
eba19cc96a Add missing argument to function call and don't set GOPATH directly 2015-08-11 21:54:37 -07:00
Muhammed Uluyol
567bb15432 Generate conversions/deep-copies for experimental. Currently we make (and register) duplicate functions but this is benign. 2015-08-11 17:12:24 -07:00
Eric Paris
5aa495cdad Update code to use - in flag names instead of _ 2015-08-11 16:31:52 -04:00
CJ Cullen
9fdd793555 Merge pull request #11841 from eparis/commit-speed
Speedups for precommit hooks
2015-08-11 12:58:58 -07:00
Eric Paris
bf9c3cd6ec Use cp instead of rsync in hack/verify-gendocs.sh
Instead of calling rsync over and over and over and over and over and
over and over and over and over (and probably over) use one `cp`

Before:
real	0m5.247s
user	0m2.294s
sys	0m1.300s

After:
real	0m2.260s
user	0m2.230s
sys	0m0.936s
2015-08-11 14:21:57 -04:00
Eric Paris
3b7c39656c Split hack/{verify,update}-* files so we don't always go build
Right now some of the hack/* tools use `go run` and build almost every
time. There are some which expect you to have already run `go install`.
And in all cases the pre-commit hook, which runs a full build wouldn't
want to do either, since it just built!

This creates a new hack/after-build/ directory and has the scripts which
REQUIRE that the binary already be built. It doesn't test and complain.
It just fails miserably. Users should not be in this directory. Users
should just use hack/verify-* which will just do the build and then call
the "after-build" version. The pre-commit hook or anything which KNOWS
the binaries have been built can use the fast version.
2015-08-11 14:20:46 -04:00
Eric Paris
985fa94ebd Move description.sh from hack/ to hooks/
Just to get everything in one place...
2015-08-11 14:20:38 -04:00
Eric Paris
302cb7dc7f Move boilerplate from hooks/ to hack/
Hooks seems like they should be hooks. Not sure hack makes a lot more
sense, but it has more stuff already.
2015-08-11 14:20:38 -04:00
Eric Paris
5aeebb4886 hack/lib/etcd: remove unused local var
It isn't used anywhere, why have it?
2015-08-11 14:20:38 -04:00
Eric Paris
055d008634 Update swagger to start etcd with known values
We were setting etcd values, but we started etcd before we set them.
Thankfully we were just setting them to etcd defaults, so it all worked
2015-08-11 14:20:38 -04:00
Piotr Szczesniak
5e58004131 Actually changed monitoring level on Jenkins 2015-08-11 15:25:36 +02:00
Piotr Szczesniak
63a88dd24a Changed monitoring level to googleinfluxdb in kubernetes-e2e-gce Jenkins job. 2015-08-11 10:07:48 +02:00
gmarek
bc8565d55e Add e2e test monitoring current container resource usage with updated
constants.

This reverts commit 1f7ea4f08e.
2015-08-11 09:16:14 +02:00
Alex Robinson
f7cab137df Merge pull request #12019 from gmarek/soak
Move initialization of Jenkins variables for GCE soak tests to hack/jenkins/e2e.sh
2015-08-10 16:19:57 -07:00
Alex Robinson
59c0fbb6a9 Merge pull request #12444 from thockin/nix-cmd-kubernetes
Remove old 'kubernetes' cmd
2015-08-10 16:19:35 -07:00
Alex Robinson
462fed62b7 Merge pull request #12189 from feihujiang/describeKindNoArguments
kubectl describe <kind> work with no arguments
2015-08-10 11:05:34 -07:00
feihujiang
73b694e6c1 kubectl describe <kind> work with no arguments
Add describe_resource_assert to test describe <kind> with no object arg
2015-08-10 14:08:38 +08:00
Tim Hockin
bef7c99619 Remove old 'kubernetes' cmd 2015-08-08 20:39:57 -07:00
Veres Lajos
9f77e49109 typofix - https://github.com/vlajos/misspell_fixer 2015-08-08 22:31:48 +01:00
Satnam Singh
1f7ea4f08e Revert "Add e2e test monitoring current container resource usage" 2015-08-07 22:40:15 -07:00
Satnam Singh
991775e77b Merge pull request #10724 from eparis/convert-underscore-to-dash
Convert underscore to dash
2015-08-07 16:40:05 -07:00
Eric Paris
7715290bbd Convert hack/ from --flag_name= to --flag-name= 2015-08-07 11:00:13 -04:00
gmarek
1c22fd39ff Add e2e test monitoring current container resource usage.wq 2015-08-07 10:27:00 +02:00
Dawn Chen
9af5d8bd23 Merge pull request #12305 from GoogleCloudPlatform/puller
Exit if hub isn't installed, add verbiage to message.
2015-08-06 16:08:30 -07:00
Max Forbes
acef505cfd Implement 'Nodes Network' test for GKE; add optional verbose SSH. 2015-08-06 14:25:53 -07:00
Wojciech Tyczynski
e366f2c597 Merge pull request #12206 from derekwaynecarr/move_doc
LimitRange documentation should be under admin
2015-08-06 13:43:58 +02:00
Wojciech Tyczynski
871ca7a05f Merge pull request #12320 from mikedanese/rewrite-pr-issue-links
rewrite all links to issues and PRs to k8s links
2015-08-06 09:55:44 +02:00
Mike Danese
8326697055 rewrite all links to prs to k8s links 2015-08-05 21:11:11 -07:00
Alex Crawford
79f14822a9 Plumb linker flags through from the Makefile 2015-08-05 20:42:54 -07:00
Mike Danese
fb02b33e99 fix build 2015-08-05 17:52:56 -07:00
Dawn Chen
a90075d7eb Merge pull request #12008 from smarterclayton/fix_mac
mktemp on OSX behaves differently than Linux
2015-08-05 15:17:59 -07:00
Zach Loafman
fccca8fa5d Exit if hub isn't installed, add verbiage to message. 2015-08-05 14:26:14 -07:00
Dawn Chen
9bc54481e0 Merge pull request #12233 from brendandburns/velocity
Add automated pull request creation.
2015-08-05 12:02:25 -07:00
derekwaynecarr
577f2fa0a5 LimitRange documentation should be under admin 2015-08-05 10:26:52 -04:00
Brendan Burns
70d843176b Add automated pull request creation. 2015-08-04 21:32:03 -07:00
Alex Mohr
e92c63be74 Merge pull request #12172 from GoogleCloudPlatform/revert-12106-demote
Auto commit by PR queue bot
2015-08-04 18:48:49 -07:00
Eric Paris
08d8bea61d Support 1.5 in verify-gofmt 2015-08-04 19:59:19 -04:00
Alex Mohr
2d81775a2d Merge pull request #11151 from gmarek/max_pods_e2e
Auto commit by PR queue bot
2015-08-04 15:11:13 -07:00
gmarek
61d3b250ee Move initialization of Jenkins variables for soak tests to hack/jenkins/e2e.sh 2015-08-04 10:18:52 +02:00
Mike Danese
8e48431ca5 Revert "demote to flaky tests from parallel e2e" 2015-08-03 15:32:04 -07:00
Alex Mohr
2a397671bb Merge pull request #12060 from jlowdermilk/jenkins-default-version
Allow gke to use server-default version for jenkins runs
2015-08-03 13:22:07 -07:00
Mike Danese
b56edd1355 Merge pull request #11727 from ZJU-SEL/build-nonstatic-hyperkube
build hyperkube as a nonstatic binary
2015-07-31 15:46:04 -07:00
Mike Danese
cf4cb1a6a3 Merge pull request #10474 from kargakis/scale-multiple-controllers
Enable scaling multiple controllers
2015-07-31 14:51:43 -07:00
Mike Danese
e376a094af demote to flaky service tests from parallel e2e 2015-07-31 13:25:15 -07:00
Mike Danese
7c47d6bdbd Merge pull request #12009 from smarterclayton/fix_cmd_config
hack/test-cmd.sh can fail when ~/.kube/config exists
2015-07-31 10:25:35 -07:00
Mike Danese
0269e2baad Merge pull request #11941 from GoogleCloudPlatform/enact_version_md
Enacting versioning.md
2015-07-31 10:17:22 -07:00
kargakis
0e796ca09a Enable scaling multiple controllers 2015-07-31 10:24:59 +02:00
Jeff Lowdermilk
2707fab181 Allow gke to use server-default version for jenkins runs 2015-07-30 18:32:57 -07:00
Clayton Coleman
0f9fdcafea Revert "Revert "Improve conversion to support multiple packages""
This reverts commit 94a387d5d1.
2015-07-30 15:15:14 -04:00
Mike Danese
94a387d5d1 Revert "Improve conversion to support multiple packages" 2015-07-30 10:51:40 -07:00
Mike Danese
1a613c43fe Merge pull request #9971 from smarterclayton/make_conversion_more_flexible
Improve conversion to support multiple packages
2015-07-30 10:05:10 -07:00
Mike Danese
0ae48c449e Merge pull request #11927 from wojtek-t/remove_shell_services
Remove shell services test
2015-07-30 09:56:38 -07:00
Wojciech Tyczynski
2c5c1931e5 Revert "Implement 'Nodes Network' test for GKE" 2015-07-30 15:29:01 +02:00
Clayton Coleman
5df2188d3d hack/test-cmd.sh can fail when ~/.kube/config exists
Use the KUBE_TEMP dir for HOME
2015-07-30 00:47:50 -04:00
Clayton Coleman
1a64830ef1 mktemp on OSX behaves differently than Linux
hack/test-integration and hack/test-cmd are currently broken
2015-07-30 00:41:20 -04:00
Mike Danese
59a1dd4267 Merge pull request #11789 from mbforbes/nodesNetwork
Implement 'Nodes Network' test for GKE
2015-07-29 17:43:33 -07:00
Clayton Coleman
732647ea97 Improve conversion to support multiple packages
OpenShift uses multiple API packages (types are split) which
Kube will also eventually have as we introduce more plugins.
These changes make the generators able to handle importing different
API object packages into a single generator function.
2015-07-29 17:05:54 -04:00
Joe Beda
55e4941c5e Fix up memory requirements for release w/ boot2docker. 2015-07-29 13:13:59 -07:00