Commit Graph

13639 Commits

Author SHA1 Message Date
Daniel Smith
8d762c996a Remove boilerplate coversion functions 2014-11-24 12:57:34 -08:00
Daniel Smith
f1c21c8fdf add boilerplate reduction struct field copier 2014-11-24 12:57:34 -08:00
derekwaynecarr
039af4a569 Endpoint.Namespace is not being set when it has no resolved pods 2014-11-24 14:15:22 -05:00
bgrant0607
e52579b8e1 Merge pull request #2535 from erictune/move_env
Move service environment vars code.
2014-11-24 09:47:32 -08:00
bgrant0607
c0fb54b8ca Merge pull request #2540 from mikedanese/kubectl-example-fix
Fixed kubectl example
2014-11-24 09:30:33 -08:00
Eric Tune
c5e3eb1e3d Merge pull request #2547 from ddysher/show-node-label
Display node label
2014-11-24 09:26:14 -08:00
Eric Tune
517bb074c2 Merge pull request #2551 from meirf/set-error-to-set-deadline-call
reset err value to SetDeadline return
2014-11-24 09:21:21 -08:00
Brendan Burns
4b2a5cdb11 Merge pull request #2520 from mikedanese/proxy-healthz
add health check to kube-proxy
2014-11-24 08:44:33 -08:00
Brendan Burns
428cbcd799 Merge pull request #2531 from jbeda/32bit-fix
Fix 32bit build
2014-11-24 08:43:43 -08:00
Deyuan Deng
b5fce5021f gitrepo validation 2014-11-23 23:03:11 -05:00
Meir Fischer
763e48bc6f multivalued requirement parser more whitespace tolerant 2014-11-23 21:55:34 -05:00
Mike Danese
5bda95f9fe added healthz check to the proxy with configurable port 2014-11-23 09:07:19 -08:00
Eric Tune
f122fc94bf Move service enviroment vars code.
GetServiceEnvironmentVariables (originally in  pkg/registry/service/rest.go)
is split into two parts: one that lists services, and one that turns
a ServiceList into environment vars.  This will allow a subsequent PR
to add a call to the latter function with an existing ServiceList.
The former part is moved into pkg/registry/pod/bound_pod_factory.go.
The latter part is put in a new package, pkg/kubelet/envvars/envvars.go.
The new package is under kubelet because the container enviroment is more
associated with kubelet than with registry.
Test code moved too.
2014-11-23 05:50:34 -08:00
Meir Fischer
9b441d01ab reset err value to SetDeadline return 2014-11-22 23:48:27 -05:00
Deyuan Deng
6a42b66369 Display node label 2014-11-22 11:33:02 -05:00
Mike Danese
39bdee387e kubectl get format is specified with -o, not -f 2014-11-21 17:55:48 -08:00
Eric Tune
7d3e00c679 Remove never-needed return value.
Make some types private.
2014-11-21 15:11:45 -08:00
Joe Beda
e5b988393d Fix 32bit build 2014-11-21 14:58:17 -08:00
bgrant0607
7ca2e06553 Merge pull request #2526 from erictune/addhelper
Add selector making helper
2014-11-21 14:27:18 -08:00
bgrant0607
8298308d34 Merge pull request #2525 from erictune/cleanup1
Rename makeContainerKey -> make BoundPodsKey.
2014-11-21 14:04:11 -08:00
Eric Tune
01434a8c04 Add helper for making simple selector. 2014-11-21 13:34:20 -08:00
Eric Tune
20a8e4bf19 Rename makeContainerKey -> make BoundPodsKey.
Fix some typos too.
2014-11-21 13:15:08 -08:00
markturansky
8159c8fd25 Refactor PodCondition to PodPhase 2014-11-21 15:28:38 -05:00
bgrant0607
9f5ebef3d8 Merge pull request #2513 from lavalamp/verifyNetwork
Fix crash (loop?) in kubelet
2014-11-21 10:10:32 -08:00
bgrant0607
4c5a7e5915 Merge pull request #2492 from brendandburns/valid
Add a swagger schema validator, for validating client side json files.
2014-11-21 07:01:59 -08:00
markturansky
13cba21c6c Add old and new DesiredState/Status to podToSelectableFields for watches 2014-11-21 09:46:05 -05:00
Brendan Burns
6c53d3b462 Add a swagger schema validator, for validating client side json files. 2014-11-20 22:16:55 -08:00
Deyuan Deng
a4e7604266 Merge pull request #2478 from smarterclayton/refactor_minion_to_match_v1beta3
Move the internal minion representation to match v1beta3
2014-11-20 21:37:43 -05:00
Daniel Smith
9116c27040 Fix crash (loop?) in kubelet 2014-11-20 18:28:23 -08:00
Clayton Coleman
156000ef6d Move the internal minion representation to match v1beta3
Moves to 'Spec' and 'Status' internally and removes duplicate
fields.  Moves Capacity into Spec and drops use of NodeResources
2014-11-20 20:53:08 -05:00
Tim Hockin
95a9098311 fix 'go vet' warnings 2014-11-21 09:45:28 +08:00
Tim Hockin
ea960711ff Clean up error logs.
Use %v for errors, tidy some messages, make error messages start lowe-case
(as per go guidelines).  Just accumulated nits.
2014-11-21 09:45:26 +08:00
Deyuan Deng
762e9a0f57 Create a backgroud task to register static list of machines. 2014-11-20 20:22:32 -05:00
Eric Tune
ea58ab7221 Merge pull request #2508 from lavalamp/fix4
Don't hold up the entire event queue for a single bad event.
2014-11-20 17:22:03 -08:00
bgrant0607
6b80abc78c Merge pull request #2494 from bgrant0607/config
Create tool for resizing a replication controller via kubectl.
2014-11-20 16:30:22 -08:00
Daniel Smith
4437f03dbf Don't hold up the entire event queue for a single bad event. Also, don't retry forever. 2014-11-20 16:01:42 -08:00
Daniel Smith
432cf39c0c add test and more helpful error message 2014-11-20 14:11:19 -08:00
Brian Grant
e107da34d2 Create tools for resizing and stopping a replication controller via kubectl. 2014-11-20 18:49:44 +00:00
bgrant0607
d6f3caeb94 Merge pull request #2488 from smarterclayton/remove_chatty_error
Do not log an error when file does not exist
2014-11-20 10:25:28 -08:00
Clayton Coleman
2afa12073c Do not log an error when file does not exist 2014-11-19 22:04:36 -05:00
Daniel Smith
4e29068a33 Merge pull request #2468 from hmrm/improve-kubectl-error-message
Improve kubectl "get" error message
2014-11-19 15:35:53 -08:00
Eric Tune
0975ab19d1 Merge pull request #2463 from liggitt/auth_plugin
Make master take authenticator.Request interface instead of tokenfile
2014-11-19 15:29:55 -08:00
Dawn Chen
6d3324c3fd Add image related events to kubelet. 2014-11-19 15:16:14 -08:00
Haney Maxwell
bc29903146 Improve kubectl "get" error message
Previous behavior:
$ kubectl get hosts
F1119 11:47:44.787154   29017 resource.go:111] no resource "hosts" has been defined
2014-11-19 14:33:41 -08:00
Jordan Liggitt
c895331277 Make master take authenticator.Request interface instead of tokenfile 2014-11-19 15:07:51 -05:00
Daniel Smith
298007b97e Merge pull request #2447 from smarterclayton/revert_bundling_of_version
Ensure that kubectl get works with downstream resources
2014-11-19 10:39:52 -08:00
Clayton Coleman
487e5cd061 Make GetPrinter take the necessary conversion arguments
This fully encapsulates decisions about conversion within GetPrinter,
which prevents users from accidentally not converting.
2014-11-18 21:14:39 -05:00
Clayton Coleman
811f77894c Not having Kind set in Decode(1) is an error 2014-11-18 20:22:05 -05:00
Clayton Coleman
9eb4ca43d8 Move FakeRESTClient to client/fake.go 2014-11-18 20:22:05 -05:00
Daniel Smith
885f2b5f48 Merge pull request #2452 from bgrant0607/docfix
Document v1beta2 fields
2014-11-18 14:48:13 -08:00