Commit Graph

1960 Commits

Author SHA1 Message Date
Clayton Coleman
279df03377 Allow mismatched type names on all conversions
Allows v1beta3.Node to be converted to api.Minion
2014-12-10 11:48:41 -05:00
Saad Ali
9a1fea6927 Merge pull request #2817 from lavalamp/fix
Compare containers by name, not by pointer equality.
2014-12-09 17:33:56 -08:00
Daniel Smith
ba62943b8e Compare containers by name, not by pointer equality. 2014-12-09 17:06:39 -08:00
Brendan Burns
953fa540ee Merge pull request #2505 from abhgupta/abhgupta-dev
Scheduler changes for extensibility
2014-12-09 15:25:37 -08:00
Brendan Burns
4985f58eb5 Merge pull request #2759 from mikedanese/configure-cadvisor-port
make cadvisor port configurable on the kubelet
2014-12-09 15:21:35 -08:00
Brendan Burns
e8280364fc Merge pull request #2787 from rajdeepd/master
Added two test cases for KubeletClient
2014-12-09 15:19:01 -08:00
bgrant0607
4a9afe61da Merge pull request #2621 from brendandburns/kubecfg
Add validation back in
2014-12-09 15:10:51 -08:00
Daniel Smith
4e7808089e Merge pull request #2765 from lavalamp/conv
conversion refactoring
2014-12-09 13:57:57 -08:00
Brendan Burns
18cfac0d31 Make validation optional, handle YAML 2014-12-09 12:37:49 -08:00
Brendan Burns
c29f5db81c Revert "Revert "Add optional validation to kubecfg/kubectl.""
This reverts commit 6590c66dd4.
2014-12-09 12:37:48 -08:00
Clayton Coleman
2c27f7d332 Allow an empty service 2014-12-09 12:48:53 -05:00
Daniel Smith
3c1d51b19d refactor to hide structs behind an interface 2014-12-08 17:12:40 -08:00
Daniel Smith
564c087062 produce more readable error messages 2014-12-08 17:12:38 -08:00
Daniel Smith
77521a33d3 Add stack of previous values to converter 2014-12-08 17:12:07 -08:00
Daniel Smith
7f2d0c0f71 Merge pull request #2779 from thockin/qualname
Add util to validate namespaced names
2014-12-08 17:08:47 -08:00
Brendan Burns
33b3c1b8ce Fix e2e. 2014-12-08 16:55:56 -08:00
Tim Hockin
5ecce5d60c Add util to validate namespaced names 2014-12-08 15:31:43 -08:00
Abhishek Gupta
d17cebcd2a Implementing PR feedback and adding test cases 2014-12-08 14:47:05 -08:00
Abhishek Gupta
5fa1dbc07b Implementing PR feedback
- Making ConfigFactory struct public
 - Added comments for predicate/priority functions and new methods
2014-12-08 14:47:05 -08:00
Abhishek Gupta
13831856c9 Combining scheduler priority functions using weighted averages 2014-12-08 14:47:05 -08:00
Abhishek Gupta
7f374030c1 Fixing gofmt errors 2014-12-08 14:47:05 -08:00
Abhishek Gupta
1eb28b0aa3 Scheduler changes to allow multiple priority functions 2014-12-08 14:47:05 -08:00
Abhishek Gupta
6b712cc700 Scheduler changes for extensibility 2014-12-08 14:47:05 -08:00
Daniel Smith
4845e524af Merge pull request #2667 from thockin/klet-dirs
Kubelet directory-name builder funcs
2014-12-08 13:23:04 -08:00
bgrant0607
9ee00ba240 Merge pull request #2777 from ddysher/node-ip
Query hostIP for Nodes
2014-12-08 11:05:27 -08:00
bgrant0607
0c2be7e9ae Merge pull request #2559 from meirf/add-whitespace-flexibility-to-multivalued-requirement-parser
Make multivalued requirement parser more whitespace tolerant
2014-12-08 11:01:13 -08:00
Rajdeep Dua
00149c88f2 Added two test cases for KubeletClient 2014-12-07 21:46:14 -08:00
Tim Hockin
acc6b95c21 Add functions to get kubelet directories.
Gets rid of some magic constants and makes volume plugins (coming later)
cleaner.
2014-12-06 11:00:19 -08:00
Mike Danese
722abf1a95 - make cadvisor port configurable on the kubelet.
- added cadvisor port documentation.
2014-12-06 09:48:08 -08:00
Deyuan Deng
2ecea9ce7b Query hostIP for instances 2014-12-05 23:26:33 -05:00
derekwaynecarr
ef25520baa make selfLink namespace aware 2014-12-05 17:37:11 -05:00
Brendan Burns
b811eb8303 Merge pull request #2760 from liggitt/bindata_bump
Add script to build ui assets, rebuild with latest go-bindata
2014-12-05 14:09:10 -08:00
bgrant0607
b824eb0350 Merge pull request #2771 from rlarocque2/print_synccloud_errors
Print SyncCloud errors
2014-12-05 13:46:10 -08:00
bgrant0607
f95503dc2d Merge pull request #2767 from ironcladlou/watch-error-handling
Log ErrUnexpectedEOF from watches as warnings
2014-12-05 13:43:26 -08:00
Dawn Chen
73ebc9e714 Merge pull request #2769 from jdef/docker_noname
avoid panics when docker CT has no name
2014-12-05 13:39:59 -08:00
bgrant0607
cf7f3de767 Merge pull request #2762 from rajdeepd/master
Added a New test case for GetMinion
2014-12-05 13:24:24 -08:00
James DeFelice
76ef747927 avoid panics when docker CT has no name 2014-12-05 15:48:25 -05:00
Dan Mace
0ad8342a55 Log ErrUnexpectedEOF from watches as warnings
Watches are often established via long-running HTTP GET requests which
will inevitably time out during the normal course of operations. When
the watches time out, an io.EOF or an io.ErrUnexpectedEOF will bubble
up to client components such as StreamWatcher and Reflector. Treat EOF
as a clean watch termination. Treat ErrUnexpectedEOF as a less-clean
but non-fatal watch termination and log the event at the warning level.

This greatly reduces the amount of log noise generated during what is
ultimately normal operation, and adds the flexibility for the operator
to make a distinction between the EOF conditions if so desired (by
adjusting the logging level).
2014-12-05 15:03:07 -05:00
Richard Larocque
51efd38e75 Print SyncCloud errors
This small change would have saved me a lot of time while investigating
issue #2746.
2014-12-05 11:50:21 -08:00
Rajdeep Dua
2791a92f2c Added a New test case for GetMinion 2014-12-05 01:49:43 -08:00
Jordan Liggitt
4ab41f5be8 Add script to build ui assets, rebuild with latest go-bindata 2014-12-04 22:38:00 -08:00
Jordan Liggitt
22eee15fe7 Remove uint64 bitshift workaround 2014-12-04 15:00:23 -08:00
Daniel Smith
b765d6038a Merge pull request #2747 from erictune/cleanup6
Rename util.config.Watcher -> util.config.Broadcaster.
2014-12-04 11:12:04 -08:00
Daniel Smith
df98babf6e Merge pull request #2748 from erictune/clean7
Rename watch.Mux -> watch.Broadcaster
2014-12-04 11:09:43 -08:00
bgrant0607
623964456e Merge pull request #2743 from mikedanese/etcd-kubernetes-bug
fixed bug in tools.NewEtcdClientStartServerIfNecessary
2014-12-04 09:06:27 -08:00
bgrant0607
d67647b078 Merge pull request #2732 from rajdeepd/master
Added test case for ServerAPIVersions
2014-12-04 08:26:29 -08:00
Eric Tune
3f285269cc Rename watch.Mux -> watch.Broadcaster
A few reasons:
- Mux is already widely used in the codebase to refer to a http handler mux.
- Original meaning of Mux was something which sent a chose one of several inputs to
  and output.  This sends one output to all outputs.  Broadcast captures that idea
  better.
- Aligns with similar class config.Broadcaster (see #2747)
2014-12-04 00:30:51 -08:00
Eric Tune
64f1084c1a Rename util.config.Watcher -> util.config.Broadcaster.
Watch is a widely used term in the codebase, which doesn't capture
the key feature of this type: broadcasting a change to several
listeners.
2014-12-04 00:10:27 -08:00
Tim Hockin
c31b3f04de Merge pull request #2722 from thockin/iptables
strip quotes in back-compat iptables
2014-12-03 16:10:00 -08:00
Daniel Smith
6cb26e17a4 Merge pull request #2697 from erictune/no_accept_err
Proxy: Avoid log error.  Simplify locking.
2014-12-03 14:06:17 -08:00