5127 Commits

Author SHA1 Message Date
Zach Loafman
3623a01bf0 Kubernetes version v0.9.1
# *** ERROR: *** docs are out of sync between cli and markdown
# run hack/run-gendocs.sh > docs/kubectl.md to regenerate

#
# Your commit will be aborted unless you regenerate docs.
    COMMIT_BLOCKED_ON_GENDOCS
v0.9.1
2015-01-23 15:18:08 -08:00
Dawn Chen
5948b24f59 Generate pod.Name when pod.Name == "" for both HTTP and file sources.
Fix #3584

# *** ERROR: *** docs are out of sync between cli and markdown
# run hack/run-gendocs.sh > docs/kubectl.md to regenerate

#
# Your commit will be aborted unless you regenerate docs.
    COMMIT_BLOCKED_ON_GENDOCS
2015-01-23 15:18:07 -08:00
Jeff Lowdermilk
af53d24416 Add a kubectl stop command 2015-01-23 14:32:56 -08:00
deads2k
2b6ffdb310 add namespace to kubeconfig file 2015-01-23 14:32:43 -08:00
Zach Loafman
be00d853e4 Deferred creation of SkyDNS, monitoring and logging objects
This implements phase 1 of the proposal in #3579, moving the creation
of the pods, RCs, and services to the master after the apiserver is
available.

This is such a wide commit because our existing initial config story
is special:

* Add kube-addons service and associated salt configuration:
** We configure /etc/kubernetes/addons to be a directory of objects
that are appropriately configured for the current cluster.
** "/etc/init.d/kube-addons start" slurps up everything in that dir.
(Most of the difficult is the business logic in salt around getting
that directory built at all.)
** We cheat and overlay cluster/addons into saltbase/salt/kube-addons
as config files for the kube-addons meta-service.
* Change .yaml.in files to salt templates
* Rename {setup,teardown}-{monitoring,logging} to
{setup,teardown}-{monitoring,logging}-firewall to properly reflect
their real purpose now (the purpose of these functions is now ONLY to
bring up the firewall rules, and possibly to relay the IP to the user).
* Rework GCE {setup,teardown}-{monitoring,logging}-firewall: Both
functions were improperly configuring global rules, yet used
lifecycles tied to the cluster. Use $NODE_INSTANCE_PREFIX with the
rule. The logging rule needed a $NETWORK specifier. The monitoring
rule tried gcloud describe first, but given the instancing, this feels
like a waste of time now.
* Plumb ENABLE_CLUSTER_MONITORING, ENABLE_CLUSTER_LOGGING,
ELASTICSEARCH_LOGGING_REPLICAS and DNS_REPLICAS down to the master,
since these are needed there now.

(Desperately want just a yaml or json file we can share between
providers that has all this crap. Maybe #3525 is an answer?)

Huge caveats: I've gone pretty firm testing on GCE, including
twiddling the env variables and making sure the objects I expect to
come up, come up. I've tested that it doesn't break GKE bringup
somehow. But I haven't had a chance to test the other providers.
2015-01-23 14:32:03 -08:00
Brendan Burns
96af0c3e5b Kubernetes version v0.9.0 v0.9.0 2015-01-20 19:50:24 -08:00
Tim Hockin
a9cbc58b8e Merge pull request #3657 from satnam6502/serve-hostname
Put a version tag on kubernetes/serve_hostname
2015-01-20 17:27:20 -08:00
Satnam Singh
efcbdd7860 Put a version tag on kubernetes/serve_hostname 2015-01-20 17:21:05 -08:00
Brian Grant
dd45246150 Merge pull request #3587 from dchen1107/image
Clean up Kubernetes PullPolicy
2015-01-20 17:18:26 -08:00
Tim Hockin
2d2374c5d3 Merge pull request #3654 from satnam6502/serve-hostname
Remove trailing newline from served hostname in serve_hostname
2015-01-20 16:48:34 -08:00
Satnam Singh
88e4139774 Remove trailing newline from served hostname in serve_hostname 2015-01-20 16:31:07 -08:00
Brian Grant
0b69a3f57a Merge pull request #3517 from thockin/v1b3
Rename HostDir to HostPath in v1beta3
2015-01-20 16:25:16 -08:00
Tim Hockin
60ec08db93 Rename HostDir to HostPath in v1beta3 2015-01-20 15:56:44 -08:00
Tim Hockin
21ab82d269 Merge pull request #3637 from smarterclayton/clarify_name
Clarify name must be lowercase in docs, to match code
2015-01-20 15:23:01 -08:00
Dawn Chen
b8c7e64b0f Merge pull request #3612 from enisoc/apiserver-proxy-headers
Add reverse proxy headers in apiserver proxy.
2015-01-20 15:14:57 -08:00
Tim Hockin
b3b092b41a Merge pull request #3603 from smarterclayton/expose_type_accessor
Add TypeAccessor to api/meta for objects without Object/ListMeta
2015-01-20 14:55:43 -08:00
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
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
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
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