Commit Graph

1622 Commits (0d84b49f65cebc559cdb3de7c9d1c39f0bd9ccad)

Author SHA1 Message Date
k8s-merge-robot 03ecde1277 Merge pull request #17535 from mesosphere/jdef_abspath_breaks_proxies
Auto commit by PR queue bot
2016-01-20 21:46:47 -08:00
k8s-merge-robot ecf6038720 Merge pull request #19734 from caesarxuchao/generate-fake-client
Auto commit by PR queue bot
2016-01-19 20:42:59 -08:00
Chao Xu fb81b2278e client-gen now generates the fake client. 2016-01-19 17:27:17 -08:00
k8s-merge-robot 864065be97 Merge pull request #19621 from mikedanese/retrofit-controller-manager
Auto commit by PR queue bot
2016-01-19 17:22:42 -08:00
k8s-merge-robot 064356775d Merge pull request #19280 from erictune/fix-munge-1
Auto commit by PR queue bot
2016-01-19 17:20:01 -08:00
James DeFelice 75f487f7bf AbsPath should be compatible with proxy-prefixes:
- replace Config.Prefix with .Host and .APIPath
- Request .path promoted to .pathPrefix, .baseURL holds required prefix
2016-01-20 00:31:58 +00:00
Mike Danese a885d84cc9 leaderelection: retrofit controller-manager with leaderelection client
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-18 14:05:55 -08:00
k8s-merge-robot f2d273d481 Merge pull request #19128 from resouer/qps-limit
Auto commit by PR queue bot
2016-01-16 10:03:00 -08:00
k8s-merge-robot f26713f997 Merge pull request #19137 from gmarek/fix-test
Auto commit by PR queue bot
2016-01-15 20:38:24 -08:00
k8s-merge-robot fab5fbde7c Merge pull request #19507 from mikedanese/kubelet-config
Auto commit by PR queue bot
2016-01-15 18:14:53 -08:00
Chao Xu 9d23d75071 Merge pull request #19499 from caesarxuchao/scale-client-gen
client-gen: typed client with only the expansion interface
2016-01-15 15:49:25 -08:00
Mike Danese 1162cfd3b1 kubelet: move most of kubelet server configuration to a config object.
This is part of migrating kubelet configuration to the componentconfig api
group and is preliminary to retrofitting client configuration and
implementing full fledged API group mechinary.

Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-15 15:31:59 -08:00
Mike Danese 9745d1cbf0 Merge pull request #19626 from mikedanese/kubelet-labels
kubelet: use ConfigurationMap instead of json
2016-01-14 14:08:53 -08:00
Chao Xu 00b18446ac allow client-gen genereate typed client with only expansion methods 2016-01-14 12:13:01 -08:00
Chao Xu ec9771ccb6 add nonNamespaced comment tag; change the interface name 2016-01-14 10:46:08 -08:00
Mike Danese 35a3785cf6 kubelet: use ConfigurationMap instead of json 2016-01-14 09:32:42 -08:00
k8s-merge-robot ec78f3d5a9 Merge pull request #19349 from caesarxuchao/generate-updatestatus
Auto commit by PR queue bot
2016-01-13 16:51:33 -08:00
Chao Xu 5addb86f6a conditionally generate UpdateStatus method 2016-01-13 15:45:21 -08:00
k8s-merge-robot e7f29514ab Merge pull request #19307 from caesarxuchao/remove-namespaceifscoped
Auto commit by PR queue bot
2016-01-13 11:01:54 -08:00
harry 080cb60dab Fix duplicated rate limit in scheduler
Remove BindingRateLimiterSaturation metrics

Update generated doc
2016-01-13 20:51:55 +08:00
k8s-merge-robot 9e66a8f134 Merge pull request #18855 from deads2k/gv-stop-reverse
Auto commit by PR queue bot
2016-01-13 01:37:31 -08:00
Tim St. Clair e2ffd007f7 Implement node Allocatable
Add `kube-reserved` and `system-reserved` flags for configuration
reserved resources for usage outside of kubernetes pods. Allocatable is
provided by the Kubelet according to the formula:
```
Allocatable = Capacity - KubeReserved - SystemReserved
```

Also provides a method for estimating a reasonable default for
`KubeReserved`, but the current implementation probably is low and needs
more tuning.
2016-01-12 17:00:43 -08:00
Mike Danese bf763bba95 Merge pull request #19498 from pwittrock/nodelabels
Node labels: Remove node-labels-file command line option.  Change --n…
2016-01-12 15:12:57 -08:00
k8s-merge-robot 6d367480f9 Merge pull request #19267 from caesarxuchao/options-client-gen
Auto commit by PR queue bot
2016-01-12 14:23:21 -08:00
Nikhil Jindal 0f3cf1095e Merge pull request #19438 from nikhiljindal/apiServerLibrary
api server library: Extracting out code to run a http server
2016-01-12 13:11:18 -08:00
Phillip Wittrock f1c8384ff4 Node labels: Remove node-labels-file command line option. Change --node-label format from key=value to key:value to be consitent with how the header key:value is specified on command line. 2016-01-12 12:57:12 -08:00
Chao Xu 64083a0576 Generate the clientset 2016-01-12 11:30:04 -08:00
Chao Xu 2e5da8b881 Merge pull request #19379 from caesarxuchao/manual-methods
client-gen: generate an interface which allows user to expand typed client's methods
2016-01-12 11:09:38 -08:00
Chao Xu a0489e8685 add expansion interface 2016-01-11 10:46:24 -08:00
Eric Tune 1ce3081e55 Do not delete text that fails preformat-balance
If preformat lines are unbalanced, do not delete all the lines from there to
end of file.  That might be the only copy of edits made by the user.

Do not print entire file contents for munge errors affecting entire file.
2016-01-11 10:44:10 -08:00
nikhiljindal f8d6c56ba6 Extracting server run code to genericapiserver 2016-01-08 18:34:34 -08:00
Nagarjun c98364e79b insert space after comment character in cmd folder 2016-01-08 16:25:57 +05:30
k8s-merge-robot 9264340338 Merge pull request #17854 from smarterclayton/basic_proto
Auto commit by PR queue bot
2016-01-07 22:03:36 -08:00
Clayton Coleman 2326e2bae3 Split controller manager options from init
Make defaults and flags clearly distinct from initialization code.
2016-01-06 22:39:14 -05:00
k8s-merge-robot ab6edd8170 Merge pull request #19093 from smarterclayton/split_proxy_and_scheduler
Auto commit by PR queue bot
2016-01-06 19:26:41 -08:00
k8s-merge-robot e1cb14cce1 Merge pull request #19092 from smarterclayton/split_api_server
Auto commit by PR queue bot
2016-01-06 19:09:38 -08:00
Clayton Coleman 715b77cbcd Split proxy and scheduler arguments
Keep options and flags distinct from initialization
2016-01-06 21:34:31 -05:00
Clayton Coleman 791d160b42 Split the Kubelet flag options and struct
Reduces the size of the app/server.go file and ensures that the flags
and their defaults are clearly separated.
2016-01-06 21:23:06 -05:00
Clayton Coleman c0c707d92d Split apiserver flags and initialization
Make it easier to keep defaults and flags clearly identified.
2016-01-06 21:14:30 -05:00
Clayton Coleman b1e01875a1 go-to-protobuf: generate protobuf IDL and marshalers for Go structs 2016-01-06 21:09:20 -05:00
Chao Xu ea0086468c remove the use of NamespaceIfScoped from generated clients 2016-01-06 16:20:44 -08:00
Chao Xu 3e211d4f84 Merge pull request #19270 from caesarxuchao/client-gen-file-lowercase
Client gen file lowercase
2016-01-06 15:09:03 -08:00
k8s-merge-robot 9724447456 Merge pull request #19294 from mikedanese/link-fix
Auto commit by PR queue bot
2016-01-06 07:18:34 -08:00
k8s-merge-robot 66d3cbf889 Merge pull request #16900 from madhusudancs/avoid-kubelet-oscillation
Auto commit by PR queue bot
2016-01-05 17:14:13 -08:00
Chao Xu f51da22bcf regenerate the typed clients 2016-01-05 16:20:46 -08:00
Mike Danese 1934fc73e8 mungedocs: fix ignored errors in link checker
Before this change the link checker would ignore errors in a file if
the last link in a file was correct. The last link would wipe out the
error variable and set it to nil. Furthermore, it replaced errored
links with the empty string.

If we find an error that we can't correct, append the error message to
an an errs slice and leave the string as is.

Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-05 12:58:30 -08:00
Chao Xu 4b1a1057b3 lowercase the names of the generated client files 2016-01-04 14:45:25 -08:00
k8s-merge-robot 236683fe29 Merge pull request #18357 from gmarek/expose-master-components
Auto commit by PR queue bot
2016-01-04 14:32:17 -08:00
Madhusudan.C.S 059c2aa799 Mitigate node out of disk status oscillation by delaying it.
Implement a flag that defines the frequency at which a node's out of
disk condition can change its status. Use this flag to suspend out of
disk status changes in the time period specified by the flag, after
the status is changed once.

Set the flag to 0 in e2e tests so that we can predictably test out of
disk node condition.

Also, use util.Clock interface for all time related functionality in
the kubelet. Calling time functions in unversioned package or time
package such as unversioned.Now() or time.Now() makes it really hard
to test such code. It also makes the tests flaky and sometimes
unnecessarily slow due to time.Sleep() calls used to simulate the
time elapsed. So use util.Clock interface instead which can be faked
in the tests.
2016-01-04 12:23:38 -08:00
deads2k e2d280a592 external versions no longer need reordering 2016-01-04 15:07:54 -05:00