Commit Graph

931 Commits (a2ce3ea5293553b1fe0db3cbc6d53bdafe061d79)

Author SHA1 Message Date
Max Forbes 41cc8027ab Make jenkins e2e runs reuse one key. 2015-05-08 14:51:42 -07:00
saadali 7cc25842fa Add control variables to Jenkins E2E script 2015-05-07 17:01:25 -07:00
CJ Cullen fbd125e4e2 Remove restriction that cluster-cidr be a class-b 2015-05-06 15:01:13 -07:00
Paul Morie 5c3bf0b08f Remove unnecessary bind-mount from dockerized kubelet run 2015-05-06 15:38:17 -04:00
Paul Morie fa1d065595 Add ability to dockerize kubelet in local cluster 2015-05-06 09:36:52 -04:00
Zach Loafman 875e83a741 Revert "Revert "Security context - types, kubelet, admission"" 2015-05-05 16:02:13 -07:00
Zach Loafman f48904fd5e Revert "Security context - types, kubelet, admission" 2015-05-05 15:20:39 -07:00
Yifan Gu 102a2c4269 hack/local-up-cluster.sh: Add env to enable rkt in local cluster.
This makes testing rkt easier.
2015-05-05 14:07:10 -07:00
Paul Morie 1625e231dd Merge pull request #7343 from pweil-/security-context-types
Security context - types, kubelet, admission
2015-05-05 16:26:09 -04:00
Eric Paris 63e3366581 Merge pull request #7757 from nak3/build_genbashcomp_with_make_all
Add genbashcomp to KUBE_TEST_TARGETS
2015-05-05 13:47:11 -05:00
Paul Weil 982bf19c20 security context initial implementation - squash 2015-05-05 13:46:13 -04:00
Jeff Lowdermilk 87cdc3f032 Merge pull request #7672 from eparis/boilerplate-python
Check license boilerplate for python files
2015-05-05 09:23:36 -07:00
Jeff Lowdermilk c1ae69da14 Merge pull request #7705 from bprashanth/rollingupdate_2
Reliable updates in rollingupdate
2015-05-05 09:23:25 -07:00
Kenjiro Nakayama 4c9f2d89ba Add genbashcomp to KUBE_TEST_TARGETS 2015-05-05 16:42:23 +09:00
Eric Paris c9cd50dc49 Check python files for valid license boilerplate 2015-05-04 18:37:47 -04:00
Prashanth Balasubramanian faa65cbd20 More reliable updates in rollingupdate 2015-05-04 15:29:30 -07:00
Daniel Smith 838b59cb4d make benchmark able to run only specific packages 2015-05-04 14:28:37 -07:00
Clayton Coleman dd8184247e Merge pull request #7629 from caesarxuchao/new-fix-7260-7491
Change the order the different versions of API are registered
2015-05-04 15:01:59 -04:00
Jeff Lowdermilk dda0af07b3 Merge pull request #7654 from eparis/boilerplate-speedup
Boilerplate speedup
2015-05-04 09:46:21 -07:00
Wojciech Tyczynski 690c991415 Merge pull request #7692 from BenTheElder/e2e_fixes
Fix typo in e2e
2015-05-04 12:01:22 +02:00
Wojciech Tyczynski a7205b1fe9 Merge pull request #7685 from jayunit100/etcd-minor
(minor) Add pgrep debugging to etcd error
2015-05-04 11:21:02 +02:00
BenTheElder 129d7f8d26 Fix typo in e2e
Correct comment in e2e.go ’…at least 3 minions running’ -> ‘…at least minMinionCount
minions running’.
2015-05-04 04:42:07 -04:00
jayunit100 cdf068495a (minor) Add pgrep debugging to etcd error 2015-05-03 16:59:45 +00:00
Eric Paris f4d0b8df3a Do all boilerplate checks in 1 python call
It's just a little bit faster.....

BEFORE:
$ time hack/verify-boilerplate.sh

real	0m9.378s
user	0m3.405s
sys	0m13.906s

AFTER:
$ time hack/verify-boilerplate.sh

real	0m0.181s
user	0m0.114s
sys	0m0.068s
2015-05-01 20:46:57 -04:00
Chao Xu 4787c66214 Register the API versions to the DefaultRESTMapper in the order of preferred versions first.
This makes kubectl sends requests to URLs in the format defined by the latest API version.
2015-05-01 15:14:15 -07:00
Eric Paris 6b3a6e6b98 Make copyright ownership statement generic
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Zach Loafman 230449f122 Merge pull request #7593 from ixdy/jenkins-godep
Build github.com/onsi/ginkgo/ginkgo as a part of the release
2015-05-01 14:10:31 -07:00
Jeff Grafton 1359125a4e Build github.com/onsi/ginkgo/ginkgo as a part of the release.
Additionally, add hack/lib to the testing tarball.
2015-05-01 11:29:11 -07:00
Jeff Lowdermilk ec9942e995 Merge pull request #7540 from bprashanth/rollingupdate
Fix rolling update --image
2015-05-01 10:07:46 -07:00
Alex Robinson 1bb76633da Make hack/test-go.sh friendlier to OS X bash by not using a -1 array index.
Without this, everytime I run test-go.sh I get the following error:
./hack/test-go.sh: line 215: apiVersions: bad array subscript
2015-04-30 14:56:02 -07:00
Quinton Hoole bfaf976df7 Revert "Use native Ginkgo test runner instead of cmd/e2e" 2015-04-30 13:45:46 -07:00
Quinton Hoole 3602884d32 Merge pull request #7462 from ixdy/native-ginkgo-runner
Use native Ginkgo test runner instead of cmd/e2e
2015-04-30 13:27:04 -07:00
Prashanth Balasubramanian c8ea0c27e9 Fix rollingupdate --image 2015-04-30 11:28:18 -07:00
CJ Cullen 615906ccca Fix parallel-e2e.sh to work on my macbook (bash v3.2) 2015-04-29 10:52:21 -07:00
Jeff Grafton 57750ccb51 Use native Ginkgo test runner instead of cmd/e2e.
This commit deletes cmd/e2e and updates hack/ginkgo-e2e.sh to use the
'ginkgo' command instead. All logic from cmd/e2e/e2e.go and
test/e2e/driver.go have been combined into the new file
test/e2e/e2e_test.go.

Additionally, several tests which made poor assumptions about cwd or
used testContext before it was set have been fixed.

This change is generally intended to have no externally visible changes,
aside from the following caveats:
- The -t/--tests flag has been removed
- Calling cmd/e2e/e2e directly obviously won't work, but that was never
  supported anyway
- If the GINKGO_PARALLEL environment variable is set to y, then ginkgo
  will run test specs in parallel. (Currently defaults to n, since some
  tests are broken in this mode.)
2015-04-28 18:42:37 -07:00
Alex Robinson 79b9b1b0ef Build hyperkube into a static binary. 2015-04-28 02:13:09 +00:00
Tim Hockin a3d45fada8 Change flags to use dashes in help 2015-04-27 15:11:03 -07:00
Daniel Smith 83093af8b0 Merge pull request #5707 from endocode/kbeecher/etcd_prefix
Adds ability to define a prefix for etcd paths
2015-04-27 13:37:43 -07:00
Karl Beecher a7623ca6cc Adds ability to define a prefix for etcd paths
The API server can be supplied (via a command line flag) with a custom
prefix that is prepended to etcd resources paths.

Refs: #3476
2015-04-24 12:12:39 +02:00
Prashanth Balasubramanian 080bc5b3dd Configurable log levels for integration tests. 2015-04-23 18:12:48 -07:00
David Oppenheimer e8b28c59c6 Merge pull request #7228 from jlowdermilk/describe-examples
Add examples for kubectl describe, make gendocs less spammy
2015-04-23 16:08:35 -07:00
Jeff Lowdermilk a8e2f6e9c8 Add examples for kubectl describe, and make gendocs less spammy
Makes hack/{run/verify}-gendocs.sh ignore generated-timestamp-only
changes so minor changes to kubectl don't have to touch the entire
set of md docs.
2015-04-23 14:53:10 -07:00
nikhiljindal 1e323d77bc Updating the guestbook example to v1beta3 2015-04-23 14:34:36 -07:00
Brian Grant 97302af015 Merge pull request #5012 from smarterclayton/podtemplates
Pod templates as their own type
2015-04-22 11:50:24 -07:00
Zach Loafman e055ee0b71 Use KUBE_SKIP_UPDATE in Jenkins
After #7146, we need to protect Jenkins from the internal gcloud bug (again).
2015-04-22 10:08:09 -07:00
Clayton Coleman 10c2ace6bf Pod Templates 2015-04-22 12:54:25 -04:00
Max Forbes 5880166845 Add support for using released tars (instead of just ci) as well as using a stable version (instead of just latest). 2015-04-21 15:56:23 -07:00
Daniel Smith 1ebe994ba7 Merge pull request #7056 from kubernetes-ui/kubernetes-ui-dashboard
Kubernetes UI with Dashboard component
2015-04-21 12:16:47 -07:00
Robert Bailey a50e02bb3b Merge pull request #7078 from jlowdermilk/gke-kubectl
Use standalone kubectl for gke, remove special case for vagrant
2015-04-21 12:11:45 -07:00
Jeff Lowdermilk 70a576e25a Use standalone kubectl for gke, remove special case for vagrant
also fix hack/local-up-cluster.sh kubeconfig instructions
2015-04-21 11:01:45 -07:00
Patrick Reilly 716d98c39e initial commit of chrome only of new replacement web ui
remove node modules

make new data file for web ui

initial commit of dashboard

switch back to non SSL request

move port splitting to common place; add to node resource location

Signed-off-by: Patrick Reilly <patrick@kismatic.io>

various path fixes

make svg path relative

work around missing mime type

Signed-off-by: Patrick Reilly <patrick@kismatic.io>

fix paths

fix karma path

remove bad protractor test
2015-04-21 07:24:06 -07:00
Wojciech Tyczynski 21788d8e66 Merge pull request #7033 from nak3/add-cert_dir-option-to-apiserver
Add cert_dir option to kube-apiserver
2015-04-21 09:16:01 +02:00
Jeff Lowdermilk 89fba5ff63 Merge pull request #6942 from smarterclayton/simplify_object_export
List output with differing types should be more resilient
2015-04-20 13:48:57 -07:00
Jeff Grafton fafd1df7a6 Revert "Continue after failed unit test"
This reverts commit f70752d9e1.

This change caused Travis and Shippable to report success on all test
runs, even if any tests failed or timed out.
2015-04-20 11:59:18 -07:00
Clayton Coleman 545a5a865f List output with differing types should be more resilient
kubectl get can output a series of objects as a List in versioned
form, but not all API objects are available in the same schema.
Make the act of converting a []runtime.Object to api.List more
robust and add a test to verify its behavior in Get.

Makes it easier for client code to output unified objects.
2015-04-20 14:44:16 -04:00
Jeff Lowdermilk 196b3d066d Merge pull request #6919 from zmerlynn/sharded-e2e
Add hack/parallel-e2e.sh to run hack/e2e.go on multiple clusters
2015-04-20 11:34:18 -07:00
Zach Loafman a5f7f4c9a1 Add hack/parallel-e2e.sh to run hack/e2e.go on multiple clusters
$ hack/parallel-e2e.sh
Usage: hack/parallel-e2e.sh <number of clusters> [options to hack/e2e.go]

Output is logged to _output/e2e/<prefix>. Test failures are aggregated
by slurping the junit results from the parallelized output and
summarized at the end of the run.
2015-04-20 11:18:09 -07:00
Jeff Lowdermilk 3787fc5eca set KUBECONFIG in common.sh, default to new location
and preserve value in ginkgo e2e test driver
2015-04-20 11:07:35 -07:00
Kenjiro Nakayama 51d0443dde Add cert_dir option to kube-apiserver 2015-04-19 17:40:08 +09:00
Eric Paris 2915c90200 Remove -installsuffix from go build
This is a go install argument which has no use in go build. Clean it up.
2015-04-17 15:33:00 -04:00
Eric Paris d7fefb6f39 Indicate progress when doing a go build
It is slow.
2015-04-17 15:32:26 -04:00
Brian Grant 95183dde5a Merge pull request #6988 from zmerlynn/flock_gcloud_update
Use flock around gcloud component update to avoid race
2015-04-17 12:23:58 -07:00
Brian Grant 2cd04755c5 Merge pull request #6953 from eparis/cgo-build-fallback
fall back to go build when static cgo not possible
2015-04-17 12:03:50 -07:00
Jeff Lowdermilk 2a8291a67e Retry Move KUBECONFIG to common.sh, change default to new location 2015-04-17 10:33:12 -07:00
Zach Loafman d5f02b2970 Use flock around gcloud component update to avoid race 2015-04-17 09:50:15 -07:00
Clayton Coleman 3bc42f1635 Merge pull request #6573 from kargakis/setup-resource-aliases
Support setting up aliases for groups of resources
2015-04-17 11:16:30 -04:00
kargakis 9d056c6bd8 Support setting up aliases for groups of resources
Closes #5278
2015-04-17 16:31:59 +02:00
Eric Paris 5fb8602c65 fall back to go build when static cgo not possible
Instead of just failing, use go build if people don't have the magic cgo
stuff we need build-able/write-able.
2015-04-17 09:50:54 -04:00
Zach Loafman 0232888a4b Merge pull request #6975 from zmerlynn/dont_error_on_update
Don't error out if gcloud update fails
2015-04-17 06:17:12 -07:00
Zach Loafman db7e640bb5 Don't error out if gcloud update fails
Fixes #6974
2015-04-17 06:16:17 -07:00
Zach Loafman e87ae8f8e3 Merge pull request #6891 from nak3/fix_obsolete_option
Replace obsolete tests option
2015-04-16 15:21:15 -07:00
Eric Tune 14eb70b1dc Merge pull request #6899 from nak3/fix-unittest-after-fail
Continue after failed unit test
2015-04-16 13:21:45 -07:00
Kenjiro Nakayama f70752d9e1 Continue after failed unit test 2015-04-16 16:53:07 +09:00
Kenjiro Nakayama 1d804629b6 Escape integration test codes from unit tests 2015-04-16 15:41:03 +09:00
Kenjiro Nakayama 9a7b842d17 Replace obsolete tests option 2015-04-16 11:49:55 +09:00
Brian Grant 29e68ad392 Merge pull request #6790 from nikhiljindal/encoder
Removing references to v1beta1 from hack/ and test/
2015-04-15 10:25:33 -07:00
Wojciech Tyczynski 586bae7948 Bigger performance test cluster 2015-04-15 09:25:35 +02:00
Dawn Chen 012a35bd02 Merge pull request #6816 from jlowdermilk/make-clean-is-your-friend
Suggest running make clean on verify-gendocs failure
2015-04-14 15:42:16 -07:00
Jeff Lowdermilk 797903798e Suggest running make clean on verify-gendocs failure 2015-04-14 13:21:43 -07:00
Jeff Lowdermilk b59266ad84 Merge pull request #6798 from xiang90/fix_doc
docs: fix docs for #6776
2015-04-14 13:15:10 -07:00
Xiang Li 5466dd8138 hack: reliable sort in util.sh 2015-04-14 12:52:28 -07:00
nikhiljindal a2c29d48ec Removing references to v1beta1 from hack/ and test/ 2015-04-14 11:31:37 -07:00
Dawn Chen 913dc4e490 Revert "Use a helper to find built binaries" 2015-04-14 11:24:49 -07:00
Dawn Chen 7bfe57b30d Merge pull request #6783 from eparis/use-hack-lib-find-binaries
Use a helper to find built binaries
2015-04-14 09:18:14 -07:00
Wojciech Tyczynski 8fb22a750b Explicitly define scalability test suite 2015-04-14 14:55:11 +02:00
Fabio Yeon e99141de0d Merge pull request #6729 from smarterclayton/chaosclient
Add a new Chaos transport that can simulate network failure and add it to the kubelet
2015-04-13 16:06:53 -07:00
Eric Paris 6d4ab258f0 Use a helper to find built binaries
We should not be determining the arch/os and all the possible
directories binaries can live. Let a hack/lib/ helper do it for us.
2015-04-13 18:57:36 -04:00
Clayton Coleman ca335d7be9 Add support for chaos to Kubelet and hack/local-up-cluster.sh 2015-04-13 18:21:20 -04:00
Eric Paris 26149bd83d Doc generation should remove old doc files
Right now, our doc generation scripts notice if you make changes and
don't regen docs, don't include new docs, etc.  But they miss it if your
changes should have REMOVED a doc.  Both kubectl-apiversion and
kubectl-clusterinfo should have been removed, but weren't.

This patch starts tracking all generated doc files and will cause
problems if files should be removed and aren't.
2015-04-13 17:48:24 -04:00
Eric Paris d7a89117b7 Use a helper to find built binaries
Instead of doing it all outselves....
2015-04-13 15:27:55 -04:00
Eric Paris ebb0affc21 Automatically generate bash completions for kubectl 2015-04-13 15:27:55 -04:00
Dawn Chen f345aec360 Merge pull request #6762 from justinsb/e2e_fix_aws
Specify equivalent instance types for AWS, in hack/jenkins/e2e.sh
2015-04-13 10:16:36 -07:00
Jeff Lowdermilk 4a41a7ffe5 Merge pull request #6745 from eparis/auto-gen-markdown
Auto gen markdown
2015-04-13 10:00:55 -07:00
Justin Santa Barbara cf02d8cef2 Specify equivalent instance types for AWS, in hack/jenkins/e2e.sh
This should unbreak the AWS e2e tests
2015-04-13 08:28:24 -07:00
Wojciech Tyczynski f7fbc2d0c5 Prepare for running scalability test on Jenkins 2015-04-13 11:36:12 +02:00
Eric Paris 263dc981db Use spf13/cobra md generation instead of doing it outselves 2015-04-12 15:03:13 -04:00
derekwaynecarr 2484adbbfe Local-up-cluster does not have admission control 2015-04-10 15:50:33 -04:00
Yu-Ju Hong faf47b6f0b Limit the number of concurrent tests in integration.go
Integration test often time out because the machine is loaded. Instead of
increasing timeout, this change hopes to address the issue by limiting the
number of tests running simultaneously.

Add a new flag in integration.go to specify the maximum number of concurrent
tests. Set the default in travis and shippable configurations to be 4.
2015-04-09 16:54:23 -07:00
nikhiljindal 08d9e244f7 Removing some references to v1beta1 from test code 2015-04-08 17:28:06 -07:00
Brian Grant c4cbc9bc46 Merge pull request #6581 from nikhiljindal/v1beta3
Moving v1beta1 kubectl examples to v1beta3
2015-04-08 14:01:57 -07:00
nikhiljindal fe60be3179 Moving v1beta1 kubectl examples to v1beta3 2015-04-08 13:08:13 -07:00
Tim Hockin f9a3315367 Remove useless e2e noise 2015-04-07 17:52:32 -07:00
Rohit Jnagal 8b4914dd0f Merge pull request #6472 from zmerlynn/fix_build_status
Add kube::util::wait-for-jobs to report status, unlike builtin wait
2015-04-06 13:39:58 -07:00
Zach Loafman 2bc5dd559a Add kube::util::wait-for-jobs to report status, unlike builtin wait
** Sigh **

Fixes an additional complaint in #6463
2015-04-06 11:11:49 -07:00
Nikhil Jindal 7270010a3a Merge pull request #6444 from you-n-g/master
etcd should be started after the trap func set
2015-04-06 10:50:14 -07:00
Rohit Jnagal 6b51476791 Merge pull request #6460 from jayunit100/gofmtmsg
Make gofmt message precise  (-s option)
2015-04-06 08:58:20 -07:00
markturansky 95bd170ca2 PV & PVC Client implementation 2015-04-06 08:46:43 -04:00
jayunit100 8d6c163650 Make gofmt message explicit about -s option 2015-04-06 00:12:06 -04:00
Young 802610b13a etcd should be started after the trap func set 2015-04-05 03:41:26 -04:00
Brian Grant b0b6418ca3 Merge pull request #6377 from nikhiljindal/kubevtl
Updating components to use v1beta3
2015-04-03 15:58:09 -07:00
nikhiljindal f2b72931fc Updating components to use v1beta3 2015-04-03 15:19:14 -07:00
Brendan Burns 88dbdc4a69 Merge pull request #6203 from brendandburns/qps
Add a QPS limiter to the kubernetes client.
2015-04-03 14:24:29 -07:00
Eric Tune e49424785e Merge pull request #6380 from roberthbailey/kubelet-ssl
Configure the kubelet to use HTTPS (take 2)
2015-04-03 13:43:00 -07:00
Brendan Burns 3f98ac07c2 Add a QPS limiter to the kubernetes client. 2015-04-03 11:58:51 -07:00
Zach Loafman c0ed73a10d Only build in parallel if the build machine is >8G 2015-04-02 17:56:45 -07:00
Zach Loafman e159c02a2a Completely neutral commit that just factors each platform build out to
a function (to make it kinder on reviewers for the next piece).
2015-04-02 17:56:44 -07:00
Zach Loafman 04813f0dcd Revert "Revert "Parallelize architectures in both the building and packaging phases of `make release`""
This reverts commit 9f60dde320.
2015-04-02 17:56:44 -07:00
Robert Bailey f15e34a1bf Revert "Merge pull request #6309 from GoogleCloudPlatform/revert-6243-kubelet-ssl"
This reverts commit 96a0a0d618, reversing
changes made to 2af9b54147.
2015-04-02 10:44:37 -07:00
Zach Loafman 9f60dde320 Revert "Parallelize architectures in both the building and packaging phases of `make release`" 2015-04-02 08:49:11 -07:00
Jerzy Szczepkowski ad306c9c6e Merge pull request #6340 from zmerlynn/upgrade_gcloud
Automatically upgrade gcloud in Jenkins (reenable)
2015-04-02 09:37:27 +02:00
Jerzy Szczepkowski 8cff43dfb7 Merge pull request #6330 from jayunit100/local-up-fix
Check to prevent split brain api-servers/api-clients which can happen if...
2015-04-02 09:34:19 +02:00
Quinton Hoole 46e5ec3617 Merge pull request #6339 from zmerlynn/skip_paranoia
Skip cleaning docker cache prior to build
2015-04-01 20:21:49 -07:00
Zach Loafman 6ba14f1c28 Skip cleaning docker cache prior to build
This seems to be more trouble than its worth, and much of
the remaining build time (except the push itself). We can
cache the cross-build/golang images between builds - it's
not going to kill us, and it'll save the occasional weird
flake of not finding an image when it tries to rm one of
these.
2015-04-01 20:04:24 -07:00
jayunit100 1cc61174ea Check to prevent split brain api-servers/api-clients which can happen if etcd dies between rerun of local-up-cluster.sh 2015-04-01 22:56:34 -04:00
Zach Loafman 4fa84a4f41 Automatically upgrade gcloud in Jenkins (reenable) 2015-04-01 19:27:17 -07:00
Zach Loafman 1ff0a1e2a1 Merge pull request #6270 from jlowdermilk/gcloud-updates
Updates for gcloud 0.9.54
2015-04-01 19:14:57 -07:00
Quinton Hoole 3a724b2622 Merge pull request #6196 from zmerlynn/parallel_arch
Parallelize architectures in both the building and packaging phases of `make release`
2015-04-01 17:55:43 -07:00
Victor Marmol 312bc71c8b Merge pull request #6304 from roberthbailey/test-cmd-timeout
Increase the time we wait for the kubelet to be healthy.
2015-04-01 17:36:44 -07:00
Zach Loafman 0bbf4e99f6 Re tab-ify golang.sh 2015-04-01 17:31:15 -07:00
Zach Loafman 44b4c9ff26 Parallelize architectures in "make release"
On my desktop, this took the KUBE_RELEASE_RUN_TESTS=n
"make release" down from 172s to 115s
2015-04-01 17:29:22 -07:00
Satnam Singh 3c119c008d Convert kubernetes/serve_hostname to gcr.io/google_containers/server_hostname 2015-04-01 15:39:05 -07:00
Robert Bailey 1fa7955807 Increase the time we wait for the kubelet to be healthy. 2015-04-01 15:10:32 -07:00
Victor Marmol 0cf3590c36 Merge pull request #6299 from thockin/faster_build
Make the build faster - call 'go install' once
2015-04-01 14:41:53 -07:00
Robert Bailey 32a1c052dc Revert "Configure the kubelet to use HTTPS" 2015-04-01 13:59:31 -07:00
Robert Bailey 836fb4ac0b Remove liveness.sh. 2015-04-01 11:56:39 -07:00
Tim Hockin 005da75f4a Make the build faster - call 'go install' once 2015-04-01 10:10:27 -07:00
Jeff Lowdermilk cfc04f41b8 Updates for gcloud changes (alpha, kubeconfig) 2015-04-01 09:27:06 -07:00
Robert Bailey dd9ec46cc0 Fix test-cmd to work with the kubelet listening on HTTPS. 2015-04-01 09:09:29 -07:00
Paul Morie fdae6748d2 Fix typo in std install instructions for build 2015-03-31 17:36:47 -04:00
Brian Grant 3354cffbf0 Merge pull request #6182 from thockin/plural_services_20
Implement multi-port Services
2015-03-31 12:55:21 -07:00
Abhishek Shah 745368d6b2 Nicer error msg if stdlib pkg with cgo flag is not installed 2015-03-31 08:37:33 -07:00
Tim Hockin eeff1b74fb Fixes from feedback and testing 2015-03-30 23:52:37 -07:00
Zach Loafman 8fff5338e2 Fix gke_test (should've realized why the cut -c 2- was there above this) 2015-03-30 13:38:29 -07:00
Zach Loafman ec53868d4f Allow gke-test to run on latest release version 2015-03-30 12:11:23 -07:00
Clayton Coleman eb0eff69fe Move watch to being a resthandler resource and expose it on LIST
GET /pods?watch=true&resourceVersion=10

will now function equivalent to GET /watch/pods.
2015-03-27 15:03:58 -04:00
Clayton Coleman 1618c39a46 Convert List query parameters via object conversion
Convert url.Values -> an object, with appropriate versioning. ListOptions
should also expose parameter names to swagger.
2015-03-27 15:03:57 -04:00
nikhiljindal f56aa58741 Some improvements to #5687 2015-03-26 15:36:41 -07:00
Jeff Lowdermilk 653b7e629d Merge pull request #5977 from smarterclayton/allow_expose_to_handle_other_resources
Allow `kubectl expose` to be polymorphic to the source of the selector
2015-03-26 13:23:21 -07:00
Jeff Lowdermilk fc2eb66d9f Merge pull request #5976 from smarterclayton/support_resource_builder_on_label
`kubectl label` should support resource builder
2015-03-26 13:21:56 -07:00
Clayton Coleman 64f91f7dac Allow `kubectl expose` to be polymorphic to the source of the selector
Allows exposing new resource types to be exposed (OpenShift deployment
controllers, copying services, and other resources that will have
pod label selectors).

Also fixed a bug where the selector wasn't exposed because of parameter
defaulting.
2015-03-26 14:36:53 -04:00
Clayton Coleman 1e496696ca Merge pull request #5903 from smarterclayton/support_resources_by_type_and_name
Allow resource.Builder commands to take arguments by type/name
2015-03-26 14:23:03 -04:00
Clayton Coleman 68c46e7f52 `kubectl label` should support resource builder
Allow applying labels to all resources, by existing selector, and
soon allow multiple selection.
2015-03-26 14:01:05 -04:00
Nikhil Jindal 5d379a2cb8 Merge pull request #5974 from nikhiljindal/testBranch
Fixing broken hack/test-go.sh
2015-03-25 18:10:56 -07:00
nikhiljindal 6b69ebda5b Fixing broken hack/test-go.sh 2015-03-25 18:04:59 -07:00
Clayton Coleman 581d7cd789 Allow resource.Builder commands to take arguments by type/name
Will allow xarg behavior to fetch resources across multiple types.
Changes 'create', 'get', 'update', 'stop', and 'delete' to output
<resourceType>/<name>.
2015-03-25 20:39:22 -04:00
Jeff Grafton 46e8c08fe8 Update kube::log::{error,status} to include timestamp.
Additionally, make the build scripts call these rather than calling
'echo' directly.
2015-03-25 16:02:48 -07:00
Jeff Grafton 901a5dbe2b Merge pull request #5687 from nikhiljindal/client_test
Updating test-go.sh and test-integration.sh to be able to run the tests for multiple API versions
2015-03-25 14:07:47 -07:00
nikhiljindal 5e4ab8e045 Updating test-go.sh to be able to run tests twice - for v1beta1 and 3 2015-03-25 12:51:22 -07:00
Zach Loafman 529c886f0d Merge pull request #5925 from jlowdermilk/fix-watch-events
Fix e2e-watch-events.sh
2015-03-25 11:44:57 -07:00
Jeff Lowdermilk 7fcc69d00d Fix e2e-watch-events.sh 2015-03-25 09:16:06 -07:00
Filip Grzadkowski aa9e25f293 Wait for etcd shutdown in integration tests 2015-03-25 17:01:04 +01:00
Piotr Szczesniak d8d06fd8f7 Removed guestbook.sh e2e test
The test is rewritten in Go #5045
2015-03-24 18:35:03 +01:00
Jeff Lowdermilk 7f7a004373 Merge pull request #5792 from ddysher/more-describe
More node describe, and 'kubectl describe' tests for all resources
2015-03-23 15:28:03 -07:00
Deyuan Deng 1c135c0bd4 Test kubectl describe from test-cmd 2015-03-23 17:13:45 -04:00
Deyuan Deng 4939c1137c Add node describe labels, creationTimestamp 2015-03-23 17:13:45 -04:00
Fabio Yeon 5b77149461 Fix guestbook.sh to make it work on GKE. 2015-03-20 18:27:31 -07:00
Jeff Grafton d845d49dc6 Merge pull request #5437 from lhuard1A/libvirt-coreos_kubeconfig
Make libvirt-coreos generate a .kubeconfig file and have e2e tests use it
2015-03-19 10:18:03 -07:00
Lénaïc Huard fc6e6ed310 Explain when e2e --host parameter is used and when it is ignored 2015-03-19 15:13:35 +01:00
Brian Grant 11f9733599 Merge pull request #5587 from nikhiljindal/enable3
Updating integration tests to test both API versions - v1beta1 and 3
2015-03-18 16:14:20 -07:00
nikhiljindal 7e36bbab3c Updating integration tests to test both API versions - v1beta1 and 3 2015-03-18 15:24:11 -07:00
Abhishek Shah 9a901ed46d build kube-apiserver, kube-scheduler and kube-controller-manager statically. 2015-03-17 16:03:31 -07:00
Brendan Burns 60b2b5d5b4 Merge pull request #5447 from jayunit100/k8petstore
K8petstore
2015-03-17 07:28:30 -07:00
Jeff Lowdermilk 404b20e6b8 Add dependencies for k8petstore to Godeps
Cleanup k8petstore to use Godeps dependencies, add to hack/build-go.sh
Remove trailing spaces, README
2015-03-17 07:06:01 -04:00
Lénaïc Huard efe345f8b6 Make libvirt-coreos generate a .kubeconfig file and have e2e tests use it 2015-03-17 11:10:18 +01:00
Victor Marmol d7a7d4da08 Revert #5479, don't force no cgo.
We allow cgo when available since some of our server components (mainly
Kubelet) rely on it. The current driving factor for the static binaries
was building Docker images from scratch. We will instead use images
built from small busybox bases.

Fixes #5517
2015-03-16 16:03:46 -07:00
Tim Hockin dab2d1a14b Merge pull request #5420 from vmarmol/cross
Make "kubernetes" a server binary.
2015-03-16 14:29:51 -07:00
Max Forbes 1c4e47fe22 Wait until all startup pods are 'Running' before running e2e tests. 2015-03-16 12:03:57 -07:00
Jeff Lowdermilk 9df2ea4aef Merge pull request #5479 from ArtfulCoder/static_linking
Build statically linked binaries for kubernetes.
2015-03-16 10:24:35 -07:00
Abhishek Shah 4b24aa2d7f Build statically linked binaryies. With the change to go 1.4, we probably were generating dynamically linked binaries accidentally. 2015-03-13 23:33:10 -07:00
Masahiro Sano addeed6ad0 fix e2e test on vagrant provider 2015-03-14 03:42:09 +09:00
gmarek c3ff36931b fix ginko-e2e.sh 2015-03-13 10:00:28 +01:00
Victor Marmol adbc8e2f9c Make "kubernetes" a server binary.
It includes many of the server components which we only expect to be
able to build in the server target architectures, but it is included in
the client build targets.
2015-03-12 17:37:56 -07:00
Eric Tune 9dab6017ff Merge pull request #5111 from erictune/conformance_test
First cut at a "conformance test".
2015-03-12 15:12:58 -07:00
Eric Tune 12c71585f7 Merge pull request #5276 from ddysher/remove-etcd-servers
Remove etcd_servers from test-cmd
2015-03-12 14:55:32 -07:00
Eric Tune 72945955ae First cut at a "conformance test".
A conformance test is a test you run against a cluster that is already
set up.  We would use it to test a hosted kubernetes service to make
sure that it meets a bar for quality.  Also, a getting-started-guide
author, who has not implemented a complete set of cluster/...
scripts (that is, the getting-started-guide has some non-automated steps)
can use this to see which e2e tests pass on a cluster.

To be done in future PRs:
- disable tests which can't possibly run in a conformance test
  because they require things like cluster ssh.
- document that when we accept a getting-started-guide, that
  people should run the conformance test against their cluster
  (unless they already have cluster/... scripts.

I ran this against a GCE cluster and 22 tests passed.
2015-03-12 14:04:02 -07:00
Victor Marmol c03b080328 Merge pull request #5332 from vishh/heapster_e2e
Adding a ginkgo version of monitoring e2e test
2015-03-12 08:37:45 -07:00
Piotr Szczesniak b1e2b2f4b4 Improved guestbook.sh test to become actual test
After change test waits until pods come up and frotend starts serving content,
then adds entry to guestbook and verify if operation succeed

This fixes #3693
2015-03-12 11:39:26 +01:00
Satnam Singh a3fd0a9fd5 Merge pull request #5284 from piosz/guestbook_bug
Rewrite guestbook example to use kube-dns instead of host:port
2015-03-11 23:14:18 -07:00
Vishnu Kannan cbb3c96f31 Removing old shell based monitoring test. 2015-03-12 02:39:15 +00:00
Prashanth Balasubramanian 1ae44c3a78 Delete target pools and forwarding rules in guestbook.sh, with -q 2015-03-11 14:51:50 -07:00
Zach Loafman e780592315 Merge pull request #5264 from jlowdermilk/kube-up
Standalone kubeconfig for gce kube-up (mulligan)
2015-03-11 11:46:45 -07:00
Deyuan Deng 48bcfc1e27 Remove etcd_servers from test-cmd 2015-03-11 14:38:20 -04:00
Zach Loafman e6517e48eb Merge pull request #4321 from justinsb/e2e_simple
Create AWS provider branch for Jenkins build script, which doesn't assume artifacts are uploaded to GCS
2015-03-11 10:10:43 -07:00
Piotr Szczesniak 4679a37b38 Rewrite guestbook example to use kube-dns instead of host:port
This fixes #5091
2015-03-11 09:51:47 +01:00
Jeff Lowdermilk 7db006ab1a Generate standalone kubeconfig on kube-up, clear on kube-down.
Also tweaked the ginkgo tests to pull auth directly from a kubeconfig file
instead of the legacy kubernetes_auth file.
2015-03-10 14:23:34 -07:00
Brian Grant a4d79bfb2c Merge pull request #5139 from ddysher/node-more-describe
Add more information to node describe
2015-03-10 11:26:51 -07:00
Brian Grant d230c72e83 Merge pull request #5249 from erictune/fix-locally
Remove ignored flag.
2015-03-10 09:20:15 -07:00
Eric Tune 4d3211c60b Remove ignored flag.
When --apiservers is set, --etcd_servers is ignored.
Remove it.
2015-03-10 08:45:05 -07:00
Jeff Lowdermilk a280e0da2d Revert "Standalone kubeconfig for gce kube-up" 2015-03-09 17:45:06 -07:00
Satnam Singh 89bc7bbea9 Merge pull request #5154 from jlowdermilk/kube-up
Standalone kubeconfig for gce kube-up
2015-03-09 16:22:51 -07:00