Commit Graph

5166 Commits

Author SHA1 Message Date
Clayton Coleman
5f6caaba2e Add TypeAccessor to api/meta for objects without Object/ListMeta
Adding objects that have TypeMeta (use runtime.Scheme) but do not
expose ObjectMeta/ListMeta (because they are not Kube API objects)
and wanted to get the simpler access path for in memory objects.
2015-01-20 17:37:24 -05:00
Clayton Coleman
494d003981 Merge pull request #3641 from deads2k/deads-make-short-flags-optional
make shorthand flags optional
2015-01-20 17:23:10 -05:00
Clayton Coleman
80d99b8d85 Merge pull request #3631 from deads2k/deads-add-set-deleteall
make StringSet.Delete accept multiple items
2015-01-20 17:22:58 -05:00
Brendan Burns
9192a4ce22 Merge pull request #3642 from dchen1107/clean
Remove image GC.
2015-01-20 14:07:00 -08:00
Alex Robinson
4fdf240415 Merge pull request #3620 from zmerlynn/push_custom_release
Add push-devel-build.sh to upload release artifacts to current GCS project
2015-01-20 14:05:46 -08:00
Joe Beda
20c594066b Disable a couple of e2e tests for vagrant for now.
The core issue is that vagrant lacks connectivity from master to containers.
2015-01-20 13:59:43 -08:00
Dawn Chen
d1af520bd0 Merge pull request #3589 from filbranden/fix_nil_interface_pointer_without_reflect1
Fix comparison of EtcdClient to nil so that it does not run into the pointer vs. interface issue
2015-01-20 13:55:25 -08:00
Zach Loafman
9f02caa668 Add push-devel-build.sh to upload release artifacts to current GCS project
This is essentially a variant of push-ci-build.sh, but pushes it to
the current project. The defaults for gcs::release actually pick a
shorthash of the GCS project, so you end up uploading to something
like: gs://kubernetes-releases-3fda2/devel/v0.8.0-437-g7f147ed/ (where
the last part is the "git describe" of your current commit)
2015-01-20 13:53:38 -08:00
Dawn Chen
2299c04cea Remove image GC.
Fix #3617,#3611, and #3393.
2015-01-20 13:43:08 -08:00
Eric Tune
dd6cc7824a Merge pull request #3614 from thockin/hooks_err
Fix errant error message from boilerplate check
2015-01-20 13:37:31 -08:00
Eric Tune
e52a50fe59 Merge pull request #3639 from pires/fix_docker_coreos
Fixed missing standalone.yaml fix to Docker overlay driver. Refs #3625.
2015-01-20 13:32:55 -08:00
deads2k
8c01729f38 make shorthand flags optional 2015-01-20 16:21:27 -05:00
Clayton Coleman
ac2e2c9fbb Merge pull request #2598 from thockin/volumes
Make kubelet volumes be cleanly separated plugins
2015-01-20 15:28:08 -05:00
Dawn Chen
92ff4cd2b1 Remove unused helper methods for PullPolicy. 2015-01-20 11:54:22 -08:00
Dawn Chen
3101a33d32 Kubelet stop using api/helper.go for PullPolicy 2015-01-20 11:54:22 -08:00
Dawn Chen
aec4594a8d Introduce validatePullPolicyWithDefault to validation. 2015-01-20 11:54:22 -08:00
Paulo Pires
09b4a6a6ee Fixed missing standalone.yaml fix to Docker overlay driver. Refs #3625. 2015-01-20 19:50:15 +00:00
Tim Hockin
6cb275829f Implement volumes as plugins.
Break up the monolithic volumes code in kubelet into very small individual
modules with a well-defined interface.  Move them all into their own packages
and beef up testing along the way.
2015-01-20 11:45:45 -08:00
deads2k
5b8e38a665 make StringSet.Delete accept multiple items 2015-01-20 14:42:10 -05:00
Joe Beda
f90ad573cf Merge pull request #3610 from liggitt/kubelet_tls_client
Build TLS client for kubelet correctly
2015-01-20 10:56:52 -08:00
Clayton Coleman
3ba8af04ac Clarify name must be lowercase in docs, to match code
We restrict DNS_SUBDOMAIN to lowercase for sanity.
2015-01-20 13:55:17 -05:00
Alex Robinson
aa2c04ecc2 Merge pull request #3598 from ryfow/patch-2
Fix table of contents
2015-01-20 10:55:08 -08:00
Alex Robinson
4a4013a8a6 Merge pull request #3597 from ryfow/patch-1
Remove .md from annotations link text
2015-01-20 10:26:07 -08:00
Alex Robinson
9e3c93a064 Merge pull request #3615 from zmerlynn/random_shuffle_go
cmd/e2e: Port --orderseed and --times to cmd/e2e from hack/e2e
2015-01-20 10:24:50 -08:00
Joe Beda
611be41aa5 Set VAGRANT_CWD so commands work from anywhere 2015-01-20 09:11:29 -08:00
Joe Beda
c5634e90ba Verify cluster size before e2e 2015-01-20 09:11:29 -08:00
Tim Hockin
6ff26d924c Merge pull request #3619 from smarterclayton/expose_validate_labels
Expose ValidateLabels in validation.go for reuse by other components
2015-01-20 09:11:08 -08:00
Eric Tune
fd52ba96ce Merge pull request #3608 from smarterclayton/log_watch_errors
Explicitly handle errors received during watch
2015-01-20 08:47:12 -08:00
Kelsey Hightower
56f20bd8b0 Merge pull request #3625 from preillyme/btrfs-overlay
Update node.yaml to support graphdriver: overlay
2015-01-20 08:29:09 -08:00
Eric Tune
1e36cb12bb Merge pull request #3594 from jayunit100/master
Clarify origin of REDIS_MASTER_SERVICE_HOST variable.
2015-01-20 08:23:32 -08:00
Patrick Reilly
41955a9235 Update node.yaml to support graphdriver: overlay
Update node.yaml to support graphdriver: overlay as btrfs produces "fatal" "prerequisites for driver not satisfied (wrong filesystem?)" on CoreOS Alpha 561.0.0
2015-01-20 08:19:52 -08:00
Eric Tune
9a151fc32c Merge pull request #3596 from andrewseidl/typo-cleanup
Fix several typos in user-facing strings
2015-01-20 07:55:21 -08:00
Clayton Coleman
48146e01cd Expose ValidateLabels in validation.go for reuse by other components
Label validation is common to anyone building kube resources.
2015-01-19 22:33:52 -05:00
Parth Oberoi
6d6d3a3bee typo fixed 2015-01-20 05:02:13 +05:30
Zach Loafman
868d2c4336 cmd/e2e: Port --orderseed and --times to cmd/e2e from hack/e2e
* Add --orderseed, shuffle order every time, report order for repeatability
* Add --times, acts like a multi-deck shoe
* Remove fixed numbering in TAP output (this is actually not needed;
TAP output is just done by outputting what assertion count you're on.)

This is essentially just a port of f3a992aa and 369064c6 (minus
reporting, which can be handled later when we make TAP, etc, better).
2015-01-19 14:50:15 -08:00
Tim Hockin
60e7002474 Fix errant error message from boilerplate check 2015-01-19 14:23:24 -08:00
Anthony Yeh
8c900187b6 Add reverse proxy headers in apiserver proxy.
Fixes #3484
2015-01-19 13:15:41 -08:00
Jordan Liggitt
888fe4b175 Build TLS client for kubelet correctly 2015-01-19 12:26:12 -05:00
Zach Loafman
fbd4722094 Merge pull request #3488 from pmorie/e2e
Make e2e -up recreate running clusters; remove kube-up retry
2015-01-19 09:02:28 -08:00
Clayton Coleman
e4dcbb6edb Explicitly handle errors received during watch
Log them as Error and then continue.
2015-01-19 11:10:45 -05:00
Paul Morie
0c51f9df8d Make e2e -up recreate running clusters; remove kube-up retry 2015-01-18 12:19:07 -05:00
Ryan Fowler
9aec0a3609 Fix table of contents
Additional user guides section appears to have been renamed.
2015-01-18 09:19:44 -06:00
Ryan Fowler
f58198bad8 remove .md from annotations link text
Adds consistency with the other links on the page.
2015-01-18 09:15:15 -06:00
Andrew Seidl
8248e6bef6 Fix typos in kubectl docs, via gendocs 2015-01-18 02:20:00 -06:00
Andrew Seidl
6dee1d7fa4 Fix typos in user-facing strings 2015-01-18 01:32:34 -06:00
Tim Hockin
2367360321 Update DNS doc 2015-01-17 19:42:09 -08:00
jay vyas
2fc8c08b01 Clarify origin of REDIS_MASTER_SERVICE_HOST variable.
This commit clarifies the origin of the REDIS_MASTER_SERVICE_HOST variable by linking to the documentation on the way kubernetes services create env variables in the services.md file.
2015-01-17 15:00:18 -05:00
Brendan Burns
eeb712d163 Merge pull request #3590 from jlowdermilk/windows
Build win32 client binaries
2015-01-16 17:35:17 -08:00
Jeff Lowdermlk
cb517b3a4a Build win32 client binaries 2015-01-16 16:45:14 -08:00
Filipe Brandenburger
79ff06ffa1 Fix comparison of EtcdClient to nil so that it does not run into the pointer vs. interface issue
This is a partial rollback of commit 6e6f465a36 ("Fix a crash for
kubelet when without EtcdClient") in which we used the `reflect` module
to inspect that the pointer stored inside the interface was `nil`, but
as pointed out by @lavalamp, the correct solution is to make the
function return the interface type, in which case a `return nil` will
return the interface nil and not a nil pointer that turns into a non-nil
value when coerced into an interface.

For more details, see http://golang.org/doc/faq#nil_error and the
discussion in PR #3356.

Tested by installing a kubelet built from head with this patch into a
containervm instance and confirming it did not crash on standalone.go.
Confirmed that by only removing the `reflect.IsNil()` comparison but not
changing the return type of `EtcdClientOrDie()` did indeed cause that
same crash, so changing the return type does indeed fix the issue.

Signed-off-by: Filipe Brandenburger <filbranden@google.com>
2015-01-16 16:43:05 -08:00