Commit Graph

1573 Commits (68717ddae09f2801d27780e18a58a65303de225b)

Author SHA1 Message Date
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
Mike Danese 6294070c51 Merge pull request #11803 from wojtek-t/move_back_from_flaky
Move remaining PD test back from flaky
2015-07-29 11:24:40 -07:00
Mike Danese daa6d4dde6 Merge pull request #11285 from liggitt/ca
Use self-signed cert as CA for local-up-cluster.sh
2015-07-29 11:13:23 -07:00
Mike Danese 9f16fd900e Merge pull request #11860 from ingvagabund/delimiter-for-X-option-eparis
Use the correct delimiter for -X option of --ldflags (more readable solution)
2015-07-29 10:52:59 -07:00
Wojciech Tyczynski 4b9903ec17 Move remaining PD test back from flaky 2015-07-29 08:18:07 +02:00
Brendan Burns a546a2979c Merge pull request #11726 from caesarxuchao/fix-types-link
Auto commit by PR queue bot
2015-07-28 13:24:11 -07:00
Zach Loafman 4363f14e77 Enacting versioning.md
This PR changes how we version going forward in the following ways:

* mark-new-version.sh is changed to a new policy of just splitting
branches, rather than the old backmerge policy, as discussed in
vX.Y.0, and a tag for vX.(Y+1).0-alpha.0 back to master.

* I eliminated PRs back to master by making the version/base.go
gitVersion and gitCommit just be `export-subst`. I testing that this
works with GitHub's source export tarballs. There's no reason to
bother with forcing the version into `base.go` (especially twice). The
tarball versions outside a git tree aren't perfect (master looks like
"v0.0.0+hash", and the release branches look more accurate), but our
build contract has never allowed that version is perfect in this
situation, so I think we can relax this.

* That master tag gets picked up by "git describe" on master, so e.g.
master would have immediately become v1.1.0-alpha.0

* In order to be more semVer compatible, the gitVersion field for the
master branch now looks something like 1.1.0-alpha.0.6+84c76d1142ea4d.
This is a tiny translation of the "git describe". I did this because
there are a ton of consumers out there of the "gitVersion" field
expecting it to be the full version, but it would be nice if this
field were actually semver compliant. (1.1.0-alpha.0-6-84c76d1142ea4d
is, but it's not *usefully* so.)

Fixes #11495
2015-07-28 11:58:44 -07:00
Wojciech Tyczynski b69ef7b5ca Remove shell services test 2015-07-28 17:14:18 +02:00
gmarek 36aff274f1 Add test that verifies that we don't allow resource overallocation on Nodes 2015-07-27 16:37:57 +02:00
Marek Grabowski 831827b4bb Merge pull request #11056 from wojtek-t/rewrite_services_in_go
Rewrite services shell test in Go.
2015-07-27 09:21:44 +02:00
Chao Xu 464385281b add a tool in cmd/ to check links in go file. Currently it's only used to check the links in api descriptions (pkg/api/.../types.go). 2015-07-24 20:21:16 -07:00
Mike Danese c0acfbcd4b Merge pull request #11421 from nikhiljindal/exposeServcPort
Updating kubectl expose to extract ports from the service being cloned
2015-07-24 17:16:31 -07:00
Max Forbes bd9e09ba00 Implement 'Nodes Network' test for GKE 2015-07-24 17:05:30 -07:00
nikhiljindal 242910e57c kubectl expose should extract ports from service 2015-07-24 15:17:48 -07:00
Prashanth Balasubramanian be0bfa97cc Fix resource aliasing flake 2015-07-24 11:15:38 -07:00
Mike Danese ae1c8e55ef Merge pull request #11737 from thockin/cleanup-remove-v1beta3
Remove v1beta3
2015-07-24 10:25:56 -07:00
Mike Danese 01ee1b8634 Merge pull request #10840 from jbeda/master
Fix up check for min memory for parallel builds
2015-07-24 08:02:33 -07:00
Jan Chaloupka 3a90386c78 golang 1.4 was happy with -X key val
golang 1.5 complains ans wants -X key=val
2015-07-24 16:56:18 +02:00
Jordan Liggitt 5893f1c5b6 Use self-signed cert as CA for local-up-cluster.sh 2015-07-24 07:16:07 -07:00
Tim Hockin 1c3233a1d4 Remove v1beta3 2015-07-23 17:21:27 -07:00
Vish Kannan 136d53466a Merge pull request #10892 from nikhiljindal/beta1
Removing references to pre v1beta3 apis in code
2015-07-23 17:05:43 -07:00
Jeff Grafton 4d45945b3b Require at least one healthy startup pod in GCE Jenkins e2e tests
Includes a small fix relative to e7547b97 to handle
$E2E_MIN_STARTUP_PODS being null.
2015-07-23 15:31:41 -07:00
Wojciech Tyczynski fdd7f1e4b2 Rewrite services shell test in Go. 2015-07-23 16:16:45 +02:00
gmarek be59c5a935 Change a value that join_regex returns for empty input and use it in ginkgo.focus statements 2015-07-23 13:30:01 +02:00
He Simei a210a96f5f build hyperkube as a nonstatic binary 2015-07-23 09:18:08 +08:00
Jeff Grafton 55e050e3f3 Create a Jenkins project to run only the examples e2e tests on GCE. 2015-07-20 13:39:09 -07:00
Wojciech Tyczynski a0f30586dd Move PD on two hosts test to flaky 2015-07-20 11:08:11 +02:00
David Oppenheimer e5208c83b7 Merge pull request #11357 from caesarxuchao/api-type-doc-tool-2
generate docs for types defined in pkg/api/v*/types.go
2015-07-17 15:57:17 -07:00
Chao Xu ab740cf93b Dockerfile and related scritps for a container that generates docs for API types 2015-07-17 15:46:54 -07:00
Tim Hockin 261d2ce423 Ignore whitespace when diffing generated docs 2015-07-17 15:28:58 -07:00
nikhiljindal 4734b938de Updating update-swagger-spec to build the apiserver before running 2015-07-17 12:10:56 -07:00
nikhiljindal 496f30a92f Introduce a new service generator that leaves service port unnamed 2015-07-16 20:40:40 -07:00
Brendan Burns 59bc8db554 Merge pull request #11360 from zmerlynn/fix_silly_backslash
Fix hack/cherry_pick_pull.sh on OS X (sigh):
2015-07-16 11:42:31 -07:00
Zach Loafman fb8613201b Fix hack/cherry_pick_pull.sh on OS X (sigh):
On OS X bash, for whatever reason, the ancient, forsaken bash version
(3.2!?) that will never be updated because it might insult the memory
of Steve Jobs doesn't allow me to accidentally escape the hash
character. Fix the unnecessary escaping.

For reviewers out there wondering about this syntax, it's documented
here: http://www.tldp.org/LDP/abs/html/parameter-substitution.html
under:

```
${var/#Pattern/Replacement}

  If prefix of var matches Pattern, then substitute Replacement for Pattern.
```

It just looks odd here because I'm adding the hash character to the
start of each array element.
2015-07-15 21:09:56 -07:00
Eric Tune 8c891cfb70 Merge pull request #11291 from thockin/jenkins
Better handling of ginkgo args in jenkins
2015-07-15 15:00:51 -07:00
Eric Tune c208c1c9a3 Merge pull request #11270 from mbforbes/jenkinsTypo
(jenkins/e2e) Fix typos and clarify instructions in comments
2015-07-15 12:57:46 -07:00
Eric Tune 97d13c25c2 Merge pull request #11314 from mikedanese/mungdocs-error
mungedoc should exit 1 when manual changes are required.
2015-07-15 12:54:20 -07:00
Mike Danese d4d99deb97 make mungedoc exit 1 if manual changes are needed and wire up erro message. 2015-07-15 11:20:11 -07:00
Zach Loafman af1a8b825a Add hack/cherry_pick_list.sh to list all automated cherry picks
* Adds hack/cherry_pick_list.sh to list all automated cherry picks
since the last tag.

* Adds a short python script to extract title/author and print it in
markdown style like our current release notes.

* Revises patch release instructions to use said script.
2015-07-15 10:30:00 -07:00
Tim Hockin 38d51f33e5 Better handling of ginkgo args in jenkins 2015-07-14 23:54:39 -07:00
Wojciech Tyczynski 635e82897f Fix tests on Jenkins 2015-07-15 08:27:41 +02:00
Mike Danese 337772a91f fix all tests 2015-07-14 21:51:30 -07:00
Tim Hockin f330a43329 fix test-cmd from file moves 2015-07-14 17:59:59 -07:00
Tim Hockin 43e315d686 Fix test-cmd after file moves 2015-07-14 15:57:41 -07:00
Max Forbes 392ca97d90 (jenkins/e2e) Fix typos and clarify instructions in comments 2015-07-14 15:12:05 -07:00
Eric Tune 4635cf381b Merge pull request #11211 from gmarek/flaky
Update Jenkins Flaky suite
2015-07-14 14:59:06 -07:00
Eric Tune 13434cea60 Merge pull request #11194 from zmerlynn/louder_release_fork
hack/cherry_pick_pull.sh: Coach user on how to make a pull against non-master
2015-07-14 13:00:47 -07:00
gmarek 9d55842a02 Move MaxPods back from Flaky suite 2015-07-14 12:09:27 +02:00
Daniel Smith ffcc6cadb0 run munger over examples dir 2015-07-13 17:47:48 -07:00
Daniel Smith bf77ecc3a9 Various munger changes
* Add analytics munger w/ munge heading
* More link autofixes
* Allow running a subset of munges
* Fix repo root detection
* Only process non-preformatted blocks
* Gendocs no longer adds the analytics link; mungedocs does that in a
  second pass.
2015-07-13 17:47:48 -07:00
Tim Hockin a41f508451 Merge pull request #11198 from thockin/fix-services-sh-e2e
Don't use a shell array where not needed
2015-07-13 17:40:26 -07:00
Tim Hockin 957514d932 Don't use a shell array where not needed 2015-07-13 17:17:51 -07:00
Tim Hockin a7364c08b0 Merge pull request #10994 from erictune/conformance_master
Conformance test update
2015-07-13 17:04:47 -07:00
Zach Loafman 4c078b1a99 hack/cherry_pick_pull.sh: Coach user on how to make a pull against non-master 2015-07-13 16:16:59 -07:00
Mike Danese 055115a109 fake realpath, and standardize treatment of trailing / of dirs in gendoc 2015-07-13 15:27:33 -07:00
Mike Danese b4514ee1f3 fix run-gendocs to point to new repo location 2015-07-13 13:01:20 -07:00
Tim Hockin 64e3047397 Merge pull request #11124 from thockin/docs-munge-branch-warnings_filter_munges
Make all docs have a warning if unversioned
2015-07-13 11:30:50 -07:00
Tim Hockin 558ae212a5 Merge pull request #11165 from brendandburns/e2e2
increase NUM_MINIONS to 3 for e2e + jenkins by default.
2015-07-13 11:28:38 -07:00
Tim Hockin 06a6623a70 Filter munges out during doc generation
This allows us to apply content-mutating munges to generated files and nothave
the verifier flag them as needing regeneration later.
2015-07-13 11:23:07 -07:00
Brendan Burns 910857a4a8 increase NUM_MINIONS to 3 for e2e + jenkins by default. 2015-07-13 10:35:15 -07:00
Tim Hockin 2ad0774562 Merge pull request #11122 from zmerlynn/multi-pick
hack/cherry_pick_pull.sh: Allow multiple pulls
2015-07-13 10:17:14 -07:00
Wojciech Tyczynski 403c39d742 Fix shell Services test 2015-07-13 16:43:06 +02:00
Zach Loafman 180a38c181 hack/cherry_pick_pull.sh: Allow multiple pulls
Reorder the arguments to allow for multiple pulls at the end:
  hack/cherry_pick_pull.sh <remote branch> <pr-number>...

This solves some common A-then-immediate-A' cases that appear
frequently on head. (There's a workaround, but it's a hack.) Updates
the documentation.
2015-07-13 07:11:12 -07:00
Rohit Jnagal e5ce898058 Merge pull request #9264 from derekwaynecarr/limit_range_readme
LimitRange example improvements, detailed README
2015-07-10 19:14:23 -07:00
Rohit Jnagal 869df32d00 Merge pull request #10987 from stefwalter/setup-golang-update-hack
hack: Add $GOPATH to hack/update-generated-xxx.sh scripts
2015-07-10 14:15:37 -07:00
Daniel Smith 59dca5ba7d fix verify-gendocs to call mungedocs --verify on the originals 2015-07-10 10:54:47 -07:00
Quinton Hoole f653932b87 Demote Shell.*services e2e test as it cannot be run in parallel with other tests (yet)
Fixes #10127
2015-07-10 08:33:22 -07:00
derekwaynecarr c8ad995462 LimitRange example improvements, detailed README 2015-07-10 11:07:54 -04:00
Wojciech Tyczynski 22e63a76b9 Merge pull request #11039 from nikhiljindal/beta3Conversion
Updating the scripts to not delete v1beta3 conversions and copies
2015-07-10 09:58:47 +02:00
Stef Walter a38a148e02 hack: Add $GOPATH to hack/update-generated-xxx.sh scripts
So that not everyone has to figure this out.
2015-07-10 09:47:47 +02:00
Wojciech Tyczynski dc711ee92d Promote Services shell out of flaky. Demote Elasticsearch 2015-07-10 08:26:42 +02:00
nikhiljindal 1350cc8bc3 Set KUBE_API_VERSIONS appropriately 2015-07-09 19:04:20 -07:00
Max Forbes 6b609f644b Jenkins: Allow fetching new tars for multi-job tests 2015-07-09 11:28:51 -07:00
Eric Tune 2459cfa96c Update conformance test.
Fix formatting and quote variable.
Fix comments from a previous review.
Move instructions to the top.
Change from using tag to using branch.
Improve documentation of conformance test.
Use stable random seed.
Fix bug where there was a double quote as a prefix and suffix to the
skip regexp.
Remove .* not needed in regex.
Skip a few more tests that are not reliable for me in the
Conformance test environment.
2015-07-09 09:08:48 -07:00
Victor Marmol b7da593d7c Merge pull request #10762 from erictune/toc
Automatic Doc Editing, with Table of Contents Generation
2015-07-09 08:13:45 -07:00
Wojciech Tyczynski 6d864527c9 Merge pull request #10932 from zmerlynn/fork-jenkins-release-21
Add skip/flaky arguments for gce-release job
2015-07-09 15:20:04 +02:00
Wojciech Tyczynski b33954c45e Merge pull request #10963 from thockin/cherrypick-fixes
Ignore untracked files in cherrypick
2015-07-09 11:28:11 +02:00
Wojciech Tyczynski 977b1d9579 Merge pull request #10823 from piosz/real_test
Added load test with pods doing real works
2015-07-09 11:26:47 +02:00
Wojciech Tyczynski 9d32830040 Merge pull request #10978 from wojtek-t/fix_shell_services
Fix Shell services test
2015-07-09 10:08:57 +02:00
Wojciech Tyczynski 9cb7bc2e90 Fix Shell services test 2015-07-09 09:46:10 +02:00
Wojciech Tyczynski e5836cc933 Merge pull request #10952 from mbforbes/JenkinsRemoveServer
Jenkins: remove dead 'use server version' code
2015-07-09 09:09:13 +02:00
Zach Loafman 1d6db553b0 Fix two issues in cherry_pick_pull:
* Ignore errexit in trap handler
* Check for branch (since two people have complained now..)
2015-07-08 18:16:27 -07:00
Tim Hockin b61985ad87 Ignore untracked files in cherrypick 2015-07-08 17:09:14 -07:00
Victor Marmol cfbc64e3c5 Merge pull request #10864 from mbforbes/gcloudUpdateJenkins
Fully update gcloud before Jenkins runs
2015-07-08 16:13:27 -07:00
Zach Loafman a6594dc38b Add skip/flaky arguments for the jenkins-gce-e2e-release job
I haven't added the job yet. Want to get the args in place first.

Related to #10676
2015-07-08 16:12:50 -07:00
Victor Marmol f5cbf5af0f Merge pull request #10923 from wojtek-t/promote_tests_2
Promote ElasticSearch test to non-flaky suite
2015-07-08 16:11:56 -07:00
Eric Tune c51e35e835 Support for in-place modification of docs
Adds cmd/mungedocs which is framework for processing
all files under docs/ and either verifying that no changes needed or
making in-place changes.

Did not reuse kube::util::gen-docs because that seemed to be
centered around handling added files, and this pass does not
add files.

Planned uses:
 - table of contents automatic updating
 - linkification
 - internal link checker
 - link-path-relativizer or absolutizer
 - example file syncer
 - header inserter.

Just table-of-contents updating in this PR.

Added Table of Contents to docs/networking.md.

Demonstrates use of new TOC generator presubmit.
Other docs will be added in future PRs.
Additional development will be needed to handle some
of the more complex cases.
2015-07-08 14:58:54 -07:00
nikhiljindal fc4da6844e removing references to pre v1beta3 apis 2015-07-08 13:51:43 -07:00
Max Forbes 38f2f4dab9 Jenkins: remove dead 'use server version' code 2015-07-08 13:32:37 -07:00
Zach Loafman 390bb58f48 Brendan noticed this silly inconsistency. 2015-07-08 11:53:33 -07:00
Victor Marmol faa573f995 Merge pull request #10922 from wojtek-t/fix_proxy_2
Fix service shell e2e test
2015-07-08 11:34:03 -07:00
Victor Marmol dbc0e7636b Merge pull request #10757 from zmerlynn/pull-propose
Add cherry_pick_pull.sh <pr-number> <branch>
2015-07-08 11:25:43 -07:00
Zach Loafman 4f3accec00 Add cherry_pick_pull.sh <pr-number> <branch>
This script checks out a branch based on <branch>, cherry picks pull
request <pr> into it commit by commit, then instructs the user on how
to propose that branch as a PR to the branch.

For bonus points, this could be integrated with something like the
"hub" tool (https://github.com/github/hub) and be made about 2x more
automated.

Fixes #10730
2015-07-08 11:15:28 -07:00
Wojciech Tyczynski de3a36c904 Promote ElasticSearch test to non-flaky suite 2015-07-08 16:26:04 +02:00
Wojciech Tyczynski ff727ede74 Increase timeouts in services shell script 2015-07-08 15:32:05 +02:00
Piotr Szczesniak 3fb39542d0 Added load test with pods doing real works 2015-07-08 11:01:41 +02:00
Quinton Hoole 4a26114a9a Make merge conflicts less likely in jenkins/e2e.sh with multiline regexs. 2015-07-07 20:10:00 -07:00
Max Forbes 5f9dc8c84c Fully update gcloud before Jenkins runs. 2015-07-07 13:22:54 -07:00
Joe Beda 6c4ae61f6b Fix up check for min memory for parallel builds 2015-07-07 10:14:23 -07:00
Wojciech Tyczynski 9854d47923 Move Proxy logs out of flaky 2015-07-07 13:54:22 +02:00
Wojciech Tyczynski 73cb04ad6b Merge pull request #10819 from wojtek-t/fix_services_shell
Fix service shell test
2015-07-07 11:44:35 +02:00
Wojciech Tyczynski f658988ad1 Fix service shell test 2015-07-07 11:19:17 +02:00
Wojciech Tyczynski 78c1117cb9 Promote no-longer flaky tests to gce suite 2015-07-07 08:27:11 +02:00
Quinton Hoole ac3e3db579 Demote e2e test as per #10792
Demote e2e test as per #10792.
2015-07-06 17:43:36 -07:00
Yu-Ju Hong dad97b6224 Merge pull request #10691 from thockin/shutup-presubmit
Shutup presubmit
2015-07-06 09:56:41 -07:00
Zach Loafman af781d8df4 Ban MaxPods to flaky test list. See #10720.
If you revert this, please notify @zmerlynn to fix the GKE list.
2015-07-04 09:16:50 -07:00
Nikhil Jindal 974377b306 Merge pull request #10481 from gmarek/max_pods_e2e
Add max-pods e2e test
2015-07-02 15:26:46 -07:00
Tim Hockin efa76b72ae Run the build once during presubmit 2015-07-02 14:43:43 -07:00
Tim Hockin a95814b593 make swagger presubmit not spew noise 2015-07-02 14:03:02 -07:00
Jeff Grafton 44f3c9e01e Re-enable namespace test on the pull request Jenkins 2015-07-01 17:53:27 -07:00
Zach Loafman b60c8e567f Merge pull request #10077 from timstclair/ui-server
Move dashboard UI out of the apiserver to a separate pod
2015-07-01 15:56:33 -07:00
Zach Loafman c7fb07a6aa Merge pull request #10428 from mikedanese/nightly
add documentation and script on how to get recent and "nightly" builds
2015-07-01 15:55:49 -07:00
Zach Loafman e5670c104d Merge pull request #10604 from nikhiljindal/v1
Updating scripts to use v1 instead of v1beta3
2015-07-01 15:54:17 -07:00
nikhiljindal 274792d7bb Stop exposing v1beta3 by default 2015-07-01 14:38:02 -07:00
Tim St. Clair b6b2d6df42 Add kube-ui cluster addon for serving k8s dashboard UI.
Changes include:
- Add kube-ui binary for serving static dashboard UI
- Add kube-ui docker image, replication controller, and service
- Make the kube-ui a cluster-addon (enabled by default)
- Split the compiled pkg/ui/datafile.go into separate dashboard and swagger packages
- Update docs to reflect changes
2015-07-01 14:21:47 -07:00
Zach Loafman 0b2efd8d28 Merge pull request #10633 from saad-ali/enablePDE2ETest
Enable readonly PD tests for Jenkins GCE E2E run
2015-07-01 14:15:44 -07:00
Zach Loafman 4f9cfc84c4 Merge pull request #10180 from mwielgus/e2e_examples
E2E tests for Redis and Celery-RabbitMq examples
2015-07-01 12:02:27 -07:00
saadali c84b0e0f4f Enable readonly PD tests for Jenkins GCE E2E run 2015-07-01 11:10:00 -07:00
nikhiljindal 2e9e46dd08 Updating scripts to use v1 instead of v1beta3 2015-07-01 00:23:16 -07:00
gmarek c86e18846b Add max-pods e2e test 2015-07-01 09:21:42 +02:00
Marcin Wielgus b5600fee12 E2E tests for Redis and Celery-RabbitMq examples 2015-07-01 00:25:58 +02:00
Jeff Grafton 0c321c3759 Jenkins GCE e2e: "Service endpoints latency" is not flaky in parallel 2015-06-30 13:47:46 -07:00
Chao Xu 7f89a29aad add "kubectl patch". It will replace "kubectl udpate --patch" in the future 2015-06-29 16:36:45 -07:00
Alex Robinson 764d34d363 Merge pull request #10468 from caesarxuchao/add-cmd-replace
Add command "kubectl replace"
2015-06-29 16:06:33 -07:00
Mike Danese c053b9a51b add documentation and script on how to get recent and "nightly" builds 2015-06-29 14:50:41 -07:00
Mike Danese 719870fdcf add publishing of latest-green.txt to jenkins e2e tests on success 2015-06-29 14:50:41 -07:00
Alex Robinson fb9c126fd4 Merge pull request #10078 from ixdy/jenkins-e2e-gce-configs
Determine e2e test configs for GCE using Jenkins project name
2015-06-29 14:34:05 -07:00
Anastasis Andronidis 697e07f864 Correctly parse multiple resources from files
Refactored how files, directories and stdin are handled. Every file must pass
through the FileVisitor and then streamed through StreamVisitor. FileVisitor
takes care of opening/closing files and StreamVisitor is parsing multiple
resources.
2015-06-29 23:11:46 +02:00
Chao Xu 9b3d42c090 Add command "kubectl replace". "kubectl update" is still supported as an alias.
"kubectl replace --patch" is NOT supported. It's moved to "kubectl patch" as a separate command in another commit.
2015-06-29 12:14:24 -07:00
Jeff Grafton 8c70fa42ee Determine e2e test configs for GCE using Jenkins project name.
Most parameters can still be overridden by specifying them in the
Jenkins configs.

Additionally, remove --noColor option, since the ANSI Jenkins plugin
can handle the color codes.
2015-06-26 17:32:50 -07:00
Robert Bailey 91589143a3 Merge pull request #10370 from mikedanese/no-more-machines
remove --machines and related deprecated flags from code and docs
2015-06-26 10:54:01 -07:00
Robert Bailey 508f7f1697 Merge pull request #10358 from caesarxuchao/add-force-update
Add --force to `kubectl update`
2015-06-26 10:49:04 -07:00
Mike Danese 1e130e0794 remove --machines from code and docs 2015-06-25 18:29:11 -07:00
Chao Xu ef5de91fd7 add "--force" flag to "kubectl update";
update relevant tests
2015-06-25 17:16:20 -07:00
Maxwell Forbes 24de9afded Merge pull request #10364 from brendandburns/e2e2
Add some sleep to the verification loop.
2015-06-25 16:31:07 -07:00
Brendan Burns da938dc190 Add some sleep to the verification loop.
Programming is hard, sleep 5!
2015-06-25 14:50:46 -07:00
Maxwell Forbes 5e748c1d47 Merge pull request #10070 from lavalamp/e2eProxyFix
proxy e2e test improvements
2015-06-25 13:15:03 -07:00
Maxwell Forbes 66752bfb93 Merge pull request #10310 from nikhiljindal/local
Updating local-cluster-up to v1
2015-06-24 17:56:45 -07:00
nikhiljindal e6c83bca5f updating local-cluster-up to v1 2015-06-24 14:08:27 -07:00
Daniel Smith 5eb5b4a130 Test kubectl proxy in test-cmd.sh 2015-06-24 13:54:15 -07:00
Maxwell Forbes 26d3a4429d Merge pull request #9816 from erictune/conformance
Revive conformance test.
2015-06-24 13:20:46 -07:00
Eric Tune c5efb12a62 Revive conformance test.
Use KUBE_CONFIG_FILE instead of AUTH_CONFIG (and CERT_DIR).

Pass GINKGO_TEST_ARGS for a subset of e2e tests which
@erictune has deemed initially sufficient for conformance.

Allow GINKGO_TEST_ARGS to pass through hack/ginkgo-e2e.sh.

Set NUM_MINIONS (need better way to handle this).

Remove use of "KUBERNETES_CONFORMANCE_TEST" variable
and use of KUBERNETES_PROVIDER="conformance_test" convention,
both of which have no apparent purpose.

Allow unset testContext.provider in test/e2e/e2e_test.go
Allow testContext.Provider to be unset in providerIs().
2015-06-22 22:29:02 -07:00
Chao Xu 59b654c996 fix tests for 22f1b07858 2015-06-22 17:10:09 -07:00
CJ Cullen ff0546da4f Merge pull request #10133 from mbforbes/gkeLivingUpgrade
GKE upgrade tests
2015-06-20 15:02:11 -07:00
Max Forbes 434f968715 GKE upgrade tests 2015-06-20 09:44:19 -07:00
Jeff Lowdermilk bdd3602eb7 Allow explicit pinned versions to be specified for jenkins runs 2015-06-19 16:19:02 -07:00
Satnam Singh b964f3c911 Merge pull request #9739 from bprashanth/sno
Fix kubectl stop rc with sequence numbers
2015-06-19 15:30:26 -07:00
Prashanth Balasubramanian 9ed9bd1c4f Add a generation number to the object meta of all objects, and status of rcs 2015-06-19 14:32:08 -07:00
Jeff Lowdermilk 9e4c5bc3b4 fix bash typo in jenkins/e2e.sh 2015-06-19 11:57:44 -07:00
Jeff Lowdermilk 8f5d8da7d6 yet another special case for e2e script 2015-06-19 11:13:55 -07:00
Satnam Singh 4bf6058919 Merge pull request #9988 from mikedanese/upgrade-pre-e2e
remove e2e run before cluster upgrade
2015-06-18 14:25:26 -07:00