Commit Graph

4652 Commits (880ecef6fe3a6058bb57008f6dea90ec0e9bc095)

Author SHA1 Message Date
Brendan Burns b06458e0ea Address some comments from erictune. 2015-01-05 09:51:05 -08:00
Eric Tune 4432ba06bd Merge pull request #3203 from thockin/integ
Integration test scaffolding fixes
2015-01-05 09:21:57 -08:00
Eric Tune a377f1b231 Merge pull request #3208 from zmerlynn/i3094
Escape stdout/stderr YAML-like elements for TAP output
2015-01-05 09:20:27 -08:00
Eric Tune 180108b5f9 Merge pull request #3211 from brendandburns/cassandra
Add an example of running Cloud Native Cassandra on k8s.
2015-01-05 09:07:07 -08:00
Eric Tune abc48dcdeb Merge pull request #3213 from unicell/typo-fix
Typo fix in docs/volumes.md
2015-01-05 08:34:52 -08:00
Qiu Yu 63ed16797d Typo fix in docs/volumes.md 2015-01-05 02:45:33 -08:00
Brendan Burns 04f51b60de Add an example of running Cloud Native Cassandra on k8s. 2015-01-04 22:30:18 -08:00
Zach Loafman d938ecaba2 Escape stdout/stderr YAML-like elements for TAP output
Fixes https://github.com/GoogleCloudPlatform/kubernetes/issues/3094
2015-01-04 08:02:43 -08:00
Zach Loafman 51afb97b59 Add script to run e2e tests from binary deployment: hack/e2e-from-release.sh
We need a way to quickly emulate what Jenkins is doing. This script
easily demonstrates problems like
https://github.com/GoogleCloudPlatform/kubernetes/issues/3190, which
git based e2e runs won't show.
2015-01-04 05:55:29 -08:00
Tim Hockin e4d239cbb1 Util to test if all ptr fields are nil 2015-01-03 23:57:43 -08:00
Clayton Coleman 99977ceb91 Proposal: Isolate kubelet from etcd
Discusses the current security risks posed by the kubelet->etcd pattern
and discusses some options.

Triggered by #846 and referenced in #859
2015-01-04 00:21:47 -05:00
Tim Hockin a57976b46d fix call to Fatal() vs Fatalf() 2015-01-03 20:51:14 -08:00
Tim Hockin 297c8d1d5a Parse flags for in integration test.
The default --v=10 might be reconsidered.
2015-01-03 20:48:19 -08:00
Tim Hockin 6fcb646ca5 Set sync frequency during integration
Without this, the sync loop runs continuously.  IMO: This right here is
why open structs are inferior to explicity constructors that take 75
arguments - you can't forget to pass an argument.
2015-01-03 20:39:39 -08:00
Alex Robinson 8b38453501 Allow for easily specifying the type and size of minion disks on GCE.
Issue #3192
2015-01-03 16:57:16 -08:00
Zach Loafman fdccfe970d GKE: Add ENABLE_CLUSTER_DNS, compute appropriate DNS_SERVER_IP
Fixes https://github.com/GoogleCloudPlatform/kubernetes/issues/3191
2015-01-03 07:41:09 -08:00
Vishnu Kannan 3ef9e404c1 Update "/stats" endpoint on kubelet to take namespace as an argument as part of the API. 2015-01-03 02:17:25 +00:00
Daniel Smith d098456b6d Merge pull request #3186 from clkao/local-docker-doc
Fix local-docker KUBERNETES_MASTER
2015-01-02 10:27:51 -08:00
Chia-liang Kao 82a72c805d KUBERNETES_MASTER needs to include scheme for cluster/* scripts to work 2014-12-31 18:01:24 +08:00
Daniel Smith 53a9d106c4 Merge pull request #3167 from thockin/affinity
Don't use pointers for session affinity
2014-12-30 17:43:47 -08:00
Daniel Smith 9c2cd55528 Merge pull request #3181 from smarterclayton/cleanup_http_items
Minor cleanups to request - fix initialism on HTTPClientFunc
2014-12-30 17:34:00 -08:00
Angus Lees 6f14e2e210 Avoid race between image pull and garbage collect
Hold the pullLock while pulling regular container images, not just the
network container.

Also: previously, the locks were grabbed at too-low a layer in the
callstack, leaving a (narrow) window where images could be pulled and
then garbage collected before being used.

This change takes the existing pullLock a layer higher in the call stack
so the critical regions encompass the entire find+delete and pull+use
operation in both cases.
2014-12-31 11:50:40 +11:00
Clayton Coleman 8005c85e6c Rename HttpClientFunc -> HTTPClientFunc 2014-12-30 19:34:06 -05:00
Clayton Coleman 502204ad6d Do not set empty field or label selectors on requests
Default behavior for "" is already "everything"
2014-12-30 19:33:40 -05:00
Dawn Chen dc4e9d66f7 Merge pull request #3180 from thockin/util-mount
Add a util/mount pkg
2014-12-30 15:49:48 -08:00
Daniel Smith 6156526d92 Merge pull request #3133 from smarterclayton/remove_request_path
Introduce Resource/ResourceName/Prefix/Suffix options to RESTClient
2014-12-30 15:33:11 -08:00
Tim Hockin ff9b935067 Merge pull request #3179 from dchen1107/cleanup
Remove duplicate volumes type.
2014-12-30 15:16:13 -08:00
Dawn Chen 86aa38547c Remove duplicate volumes type. 2014-12-30 14:40:16 -08:00
Tim Hockin fc69379b8c Add a util/mount pkg 2014-12-30 14:38:49 -08:00
Daniel Smith 851dbe4842 Merge pull request #3169 from dchen1107/pd
Update doc volumes.md to make sure mount point is created before mountin...
2014-12-30 11:15:57 -08:00
Daniel Smith 08ee6e912d Merge pull request #3170 from saad-ali/3164
Modify "kubectl get events" to print FieldPath so BoundPod events for the same pod but different containers can be differentiated
2014-12-30 10:24:52 -08:00
saadali e8d30f019d Modify "kubectl get events" to print FieldPath so BoundPod events for the same Pod but different containers can be differentiated 2014-12-29 21:32:49 -08:00
Dawn Chen 05ef2c1c24 Update doc volumes.md to make sure mount point is created before mounting. 2014-12-29 16:46:06 -08:00
Daniel Smith 0155ede0c2 Merge pull request #3166 from dchen1107/pd
Propagate syncPod error as event to upper layer.
2014-12-29 16:16:53 -08:00
Dawn Chen d38613777b Propagate syncPod error as event to upper layer. 2014-12-29 15:42:47 -08:00
Tim Hockin ca27fb259c Don't use pointers for session affinity 2014-12-29 14:43:17 -08:00
Tim Hockin 7dec65f535 Merge pull request #3156 from evenemento/master
Add missign network flag
2014-12-29 14:06:01 -08:00
Joe Beda 8eac7303fa Merge pull request #2989 from lavalamp/fix6
Fix proxy bug where it lies about encoding
2014-12-29 14:05:14 -08:00
Clayton Coleman e355f54eda Update references from Path() to the appropriate segment use 2014-12-29 15:38:52 -05:00
Clayton Coleman afedbba3fc Introduce Resource/ResourceName/Prefix/Suffix options to RESTClient
RESTClient is an abstraction for simplifying access to resources that
follow the Kubernetes API pattern.  Currently, both Namespace and Path
are coupled, which means changes across versions is complex.  In general,
most access to resources should be to a resource collection (e.g.
"services") with a name (e.g. "foo"). Other constructs, like prefix sections
("watch") or proposed suffix sections ("/pods/foo/spec") only modify this
core pattern.

This commit removes the Path() helper from Request and introduces:

* Prefix(segments ...string) - segments that should go to the beginning of the path.
* Suffix(segments ...string) - segments that should go to the end of the path.
* Resource(string) - collection name, should be after prefix
* Namespace(string) - if specified, should be set after resource but before name
* Name(string) - if specified, should be after namespace

Now, only Prefix and Suffix are order dependent (and with variadics, should be
simpler).  Resource, Namespace, and Name may be specified in any order.

Path() has been removed to prevent downstream consumers of RESTClient from experiencing
behavior change.
2014-12-29 15:37:30 -05:00
Daniel Smith 998061677b Merge pull request #2909 from smarterclayton/passversiontorestmapper
Allow --api-version to properly override various default behaviors in CLI
2014-12-29 12:14:32 -08:00
Daniel Smith 9873d8a7d5 Merge pull request #2958 from rajdeepd/master
Added test cases for NewKubeletClient with TLS enabled
2014-12-29 11:47:47 -08:00
Daniel Smith 1a70421630 Merge pull request #3144 from saad-ali/3041ChangeUnhealthyStatus
Have Http Liveness Probe report "Unhealthy" on connection failure instead of "Unknown"
2014-12-29 11:36:17 -08:00
saadali 99acb9688c Have Http Probe report "Unhealthy" on connection failure instead of "Unknown". 2014-12-29 11:09:06 -08:00
Joe Beda ebb448dff0 Merge pull request #3110 from mdshuai/master
Solve apt-get update 404 Not Found Package error
2014-12-29 10:38:13 -08:00
Joe Beda a2e58d490e Merge pull request #2224 from thockin/dns
Enable DNS for services
2014-12-29 10:27:57 -08:00
Joe Beda 75085279eb Merge pull request #3149 from adimania/master
"kind" is needed to start the pod
2014-12-29 09:49:01 -08:00
Joe Beda 6c1203bdb8 Merge pull request #3151 from tscherf/master
Added config note for ssh root logins.
2014-12-29 09:43:27 -08:00
Joe Beda a039ead186 Merge pull request #3159 from justinsb/wget_no_dot
Remove erroneous . from wget commands
2014-12-29 09:38:55 -08:00
bgrant0607 e1b9a953f5 Merge pull request #3145 from smarterclayton/better_scheduler_warning
Scheduler is printing the wrong value when no default algorithms available
2014-12-29 09:23:18 -08:00