Commit Graph

4543 Commits

Author SHA1 Message Date
Satnam Singh
66b334f308 Start to incorporate reliability work items into roadmap 2015-01-05 13:59:08 -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
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
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
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
Justin Santa Barbara
e682997b3d Remove erroneous . from wget commands
wget always downloads into current directory
2014-12-29 12:19:45 -05:00
Tim Hockin
32a59477a5 Add an e2e test for DNS from pods. 2014-12-29 09:18:12 -08:00
Tim Hockin
b0268f3833 Use a kubernetes-hosted minimal container for skydns 2014-12-29 09:18:12 -08:00
Tim Hockin
e045c6ce2f Split portals into host and container
After this DNS is resolvable from the host, if the DNS server is targetted
explicitly.  This does NOT add the cluster DNS to the host's resolv.conf.  That
is a larger problem, with distro-specific tie-ins and circular deps.
2014-12-29 09:18:12 -08:00
Tim Hockin
59164ca844 Make DNS an option for cluster turnup 2014-12-29 09:18:12 -08:00
Tim Hockin
1291c718cf Use a helper bridge between k8s and SkyDNS
Rather than have to keep SkyDNS up to date with Kubernetes, use a
buddy-container "kube2sky" to watch kubernetes and sync Service records
into etcd for SkyDNS ot find.  This also adds namespace support.
2014-12-29 09:18:12 -08:00
Tim Hockin
652479a3b1 Add kubelet DNS flags & api disable for DNS
This adds --cluster_dns and --cluster_domain flags to kubelet.  If
non-empty, kubelet will set docker --dns and --dns-search flags based on
these.  It uses the cluster DNS and appends the hosts's DNS servers.
Likewise for DNS search domains.

This also adds API support to bypass cluster DNS entirely, needed to
bootstrap DNS.
2014-12-29 09:18:12 -08:00