Commit Graph

49698 Commits

Author SHA1 Message Date
Tim Hockin
ff8c5f9415 Add a Detail field to Validation Error 2014-11-24 17:28:42 -08:00
Tim Hockin
b08e5b24b0 Change ValidationError to a pointer
In Prep for adding at leats one more field, make this operate more list
StatusError.
2014-11-24 17:28:42 -08:00
Tim Hockin
d4c37e352e small cleanup on pkg/config 2014-11-24 17:28:41 -08:00
Deyuan Deng
ec7d544194 Use formatLabel instead of label.Set 2014-11-24 18:45:29 -05:00
Daniel Smith
610ab9a0db Merge pull request #2586 from dchen1107/cleanup
Using util.Time for ContainerStatus
2014-11-24 15:35:07 -08:00
Dawn Chen
acb0f1198b Using util.Time for ContainerStatus 2014-11-24 15:15:33 -08:00
Jordan Liggitt
3532be3c82 Add basicauth and password authenticators 2014-11-24 17:52:10 -05:00
Daniel Smith
668a81e894 Merge pull request #2539 from lavalamp/master
Reduce boilerplate
2014-11-24 13:45:04 -08:00
Brendan Burns
e82b88fed8 Merge pull request #2560 from ddysher/fix-git-volume
gitrepo validation
2014-11-24 13:12:04 -08:00
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