Commit Graph

1393 Commits (ea85e2319bb99d7dd8a0deb8e0c7604bd89a07b4)

Author SHA1 Message Date
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