Commit Graph

9327 Commits (08c2cba266ba5205a8c5341279ded49776f64cee)

Author SHA1 Message Date
Clayton Coleman 8f203a28f1 Change runtime.Object signature 2015-12-15 13:36:25 -05:00
Tim St. Clair 89bc7992f9 Refactor kubelet server into its own package
Refactor Kubelet's server functionality into a server package. Most
notably, move pkg/kubelet/server.go into
pkg/kubelet/server/server.go. This will lead to better separation of
concerns and a more readable code hierarchy.
2015-12-15 10:20:38 -08:00
markturansky 4aacb76149 added cast checks to controllers to prevent nil panics 2015-12-15 11:34:03 -05:00
k8s-merge-robot 114f6f76dc Merge pull request #18412 from resouer/fix-validation
Auto commit by PR queue bot
2015-12-15 08:15:27 -08:00
deads2k 6e33403abf update CodecFor for GroupVersion 2015-12-15 10:56:00 -05:00
k8s-merge-robot 7de177b8b5 Merge pull request #18459 from deads2k/gv-group-registration
Auto commit by PR queue bot
2015-12-15 07:41:14 -08:00
k8s-merge-robot f6466b0852 Merge pull request #18462 from wojtek-t/fix_node_events
Auto commit by PR queue bot
2015-12-15 06:05:28 -08:00
deads2k 7a83ce60e6 refactor group registration 2015-12-15 08:37:07 -05:00
k8s-merge-robot 5429d15fcf Merge pull request #18449 from timstclair/race
Auto commit by PR queue bot
2015-12-15 05:32:17 -08:00
k8s-merge-robot a581f04106 Merge pull request #18332 from hurf/fix_time_test
Auto commit by PR queue bot
2015-12-15 05:06:26 -08:00
k8s-merge-robot c2af9cac58 Merge pull request #18590 from mikedanese/transit
Auto commit by PR queue bot
2015-12-15 04:09:02 -08:00
k8s-merge-robot 3680268c52 Merge pull request #18353 from deads2k/gv-use-constants
Auto commit by PR queue bot
2015-12-15 03:25:09 -08:00
Jan Safranek 1b7445a6e2 Use SSD as default volume type.
General purpose SSD ('gp2') volume type is just slighly more expensive than
Magnetic ('standard' / default in AWS), while the performance gain is pretty
significant.

So far, the volumes were created only during testing, where the extra cost
won't make any difference. In future, we plan to introduce QoS classes, where
users could choose SSD/Magnetic depending on their use cases.

'gp2' is just the default volume type for (hopefuly) short period before these
QoS classes are implemented.
2015-12-15 12:14:48 +01:00
k8s-merge-robot 25acc9bafa Merge pull request #18301 from yujuhong/remove_wait
Auto commit by PR queue bot
2015-12-15 02:51:55 -08:00
k8s-merge-robot abeda72863 Merge pull request #18231 from caesarxuchao/client-gen-test
Auto commit by PR queue bot
2015-12-15 02:19:16 -08:00
k8s-merge-robot b5387da0d7 Merge pull request #17669 from WeixuZhuang/describ
Auto commit by PR queue bot
2015-12-15 01:45:38 -08:00
Jan Safranek 6ff5286df9 Implement Creater and Deleter interfaces for AWS EBS.
Also mark the created EBS volumes with tags, so the admin knows
who/what created the volumes.
2015-12-15 10:22:49 +01:00
k8s-merge-robot b3ccad2341 Merge pull request #18680 from caesarxuchao/clean-client
Auto commit by PR queue bot
2015-12-15 01:21:32 -08:00
k8s-merge-robot 06df5c97e7 Merge pull request #18499 from wojtek-t/fix_reflector_race
Auto commit by PR queue bot
2015-12-15 01:19:06 -08:00
Jan Safranek 700d92c2a8 AWS: Use GiB as units for disk sizes.
From some reason, MiBs were used for public functions and AWS cloud provider
recalculated them to GiB. Let's expose what AWS really supports and don't hide
real allocation units.
2015-12-15 10:18:00 +01:00
mqliang 04763abbbb remove TODO:binding validation 2015-12-15 14:47:55 +08:00
Brendan Burns 9f7199d5bb Clean up some dead code. 2015-12-14 20:19:44 -08:00
Brendan Burns 4bd234b679 Correct a typo in the json/yaml tags for 3rd party objects. 2015-12-14 20:18:49 -08:00
k8s-merge-robot 414ebd2ddb Merge pull request #17991 from krousey/errorstatus
Auto commit by PR queue bot
2015-12-14 20:18:19 -08:00
Brendan Burns beda3fd92d Switch to index rather than copy indexing.
This was 17% of all allocations on a recent profile.
2015-12-14 20:17:02 -08:00
k8s-merge-robot 29e8b6123f Merge pull request #17529 from jayunit100/hammer-backoff-expo-part2
Auto commit by PR queue bot
2015-12-14 19:48:40 -08:00
k8s-merge-robot 1f0e46abb8 Merge pull request #16237 from ZJU-SEL/fix-util
Auto commit by PR queue bot
2015-12-14 18:41:14 -08:00
k8s-merge-robot 6fbbe9a60e Merge pull request #18602 from mikedanese/merge-conflict
Auto commit by PR queue bot
2015-12-14 13:57:20 -08:00
Chao Xu f565646ea5 remove dead code in client 2015-12-14 13:34:07 -08:00
James Ravn e5a558c35f Fix rolling-update rollback from an unavailable rc
Rolling back from a broken update with only one replica fails with a
timeout in the existing code.

The problem is the scale down logic does not consider unavailable
replicas in the old replication controller when calculating how much to
scale down by. This leads to an obvious problem with a single replica
when min unavailable is 1.

The fix is to allow scaling down all unavailable replicas in the old
controller, while still maintaining the min unavailable invariant.
2015-12-14 19:35:08 +00:00
Chao Xu 05e3cb8bfb adding a mock.testType to test the generated client code 2015-12-14 11:24:44 -08:00
Paul Morie e757fac2f5 Regenerate for volume info changes 2015-12-14 14:19:51 -05:00
Paul Morie b592e1f6e8 Add information about ownership management, selinux relabeling to volumes 2015-12-14 14:00:54 -05:00
derekwaynecarr 5e0948586c Add kubectl create [SUBCOMMAND] pattern 2015-12-14 13:43:45 -05:00
Mike Danese 56bb8138bf remove merge conflict comments 2015-12-14 07:57:52 -08:00
Paul Morie eb89c2519a Fix assumptions about tmpfs in metrics du tests 2015-12-14 10:47:21 -05:00
deads2k d0aaf13920 use constants for group names 2015-12-14 10:04:10 -05:00
Clayton Coleman 6824530ae1 Debugging round tripper should wrap CancelRequest 2015-12-14 09:39:06 -05:00
Wojciech Tyczynski 8a76c1932f Regenerate auto-generated files 2015-12-14 14:26:09 +01:00
Wojciech Tyczynski 960808bf08 Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
Filip Grzadkowski 4ef062c22f Merge pull request #18476 from caesarxuchao/fix-query-convert
Fix queryparams convert
2015-12-14 13:22:27 +01:00
k8s-merge-robot 7e942bf9b3 Merge pull request #18384 from deads2k/gv-clientcache
Auto commit by PR queue bot
2015-12-14 02:25:49 -08:00
Harry Zhang 8fe92c69d2 Update highwatermark 2015-12-14 16:47:47 +08:00
Wojciech Tyczynski 6a7e8861c2 Fix data-race in reflector test in Go 1.5.1 2015-12-14 09:47:45 +01:00
feihujiang 9ab06cfa62 Support remove flag for kubectl run command 2015-12-14 16:16:43 +08:00
k8s-merge-robot 51e8c2e5f8 Merge pull request #17841 from mqliang/constant
Auto commit by PR queue bot
2015-12-13 23:40:27 -08:00
k8s-merge-robot 266ab4a796 Merge pull request #18487 from smarterclayton/guard_encode_decode
Auto commit by PR queue bot
2015-12-13 23:08:18 -08:00
harry zhang 5405a5d98d Move atomic_value into folder
Change pkg to atomic
2015-12-14 05:50:29 +00:00
David Oppenheimer 725a84ffe0 Merge pull request #18157 from sdminonne/LabelSelector_internalSelector
renaming labels.LabelSelector to labels.internalSelector
2015-12-13 20:03:49 -08:00
k8s-merge-robot 9723ff7ffd Merge pull request #12043 from derekwaynecarr/describe_node
Auto commit by PR queue bot
2015-12-13 18:24:59 -08:00
Chao Xu 367872a63a add label test to deployment client 2015-12-13 13:56:01 -08:00
Chao Xu 2eba8b7f1f fix queryparams convertStruct 2015-12-13 13:53:28 -08:00
k8s-merge-robot c458cd7bb7 Merge pull request #18379 from deads2k/gv-newobject
Auto commit by PR queue bot
2015-12-13 13:33:16 -08:00
k8s-merge-robot 47d2f41680 Merge pull request #18370 from deads2k/gv-interfacesfor
Auto commit by PR queue bot
2015-12-13 10:27:17 -08:00
k8s-merge-robot f0782a54e9 Merge pull request #18327 from tmrts/refactor/method
Auto commit by PR queue bot
2015-12-13 06:24:44 -08:00
Wojciech Tyczynski 342eee680c Revert "[hpa] Parameterize tolerance, downscale, and upscale into HPAController, and add corresponding unit test for backsolved tolerance." 2015-12-13 09:54:43 +01:00
harry d94945c179 Fix empty string check inconsistency in validation.go 2015-12-13 00:11:56 +08:00
k8s-merge-robot 9b07349013 Merge pull request #18315 from jayunit100/hpa-tolerance-config
Auto commit by PR queue bot
2015-12-12 01:55:46 -08:00
k8s-merge-robot 583b733a1e Merge pull request #18309 from brendandburns/3rdparty2
Auto commit by PR queue bot
2015-12-12 01:23:06 -08:00
k8s-merge-robot f1505486b1 Merge pull request #18256 from caesarxuchao/fix-17266
Auto commit by PR queue bot
2015-12-12 00:51:56 -08:00
mqliang a21dd8a32b replace OsImage to OSImage 2015-12-12 15:53:34 +08:00
mqliang 9d21b6dc85 pkg/set MaxUnavailable as 1 2015-12-12 12:04:11 +08:00
k8s-merge-robot 3d24d25fd8 Merge pull request #17764 from jiangyaoguo/make-containerspecchange-private
Auto commit by PR queue bot
2015-12-11 17:40:34 -08:00
Jeff Lowdermilk 9f3d28c788 Merge pull request #18305 from yujuhong/podfullname
Replace podFullName with format.Pod() in logging messages
2015-12-11 14:31:47 -08:00
Mike Danese 5c1ead8869 add leader transitions to leader election record 2015-12-11 13:51:01 -08:00
nikhiljindal 724b098855 Deleting unused master.ClusterName param 2015-12-11 13:39:19 -08:00
Jeff Lowdermilk f6686ba3a4 Merge pull request #18290 from wojtek-t/fast_namespace_deletion
Support collection deletion in apiserver.
2015-12-11 13:34:56 -08:00
Jeff Lowdermilk 9c49cdaa6e Merge pull request #18276 from thockin/airplane_validation_pt6
Validation cleanup parts 5 & 6 together
2015-12-11 13:34:37 -08:00
Jeff Lowdermilk 06421d5ff7 Merge pull request #18589 from mikedanese/leader-test
fix testcase in pkg/client/leaderelection that wasn't testing what it said it was testing
2015-12-11 13:25:29 -08:00
Jeff Lowdermilk c103825ef4 Merge pull request #14537 from markturansky/pv_provisioner
PersistentVolume Provisioner Controller
2015-12-11 13:09:33 -08:00
Jeff Lowdermilk e53acfe19c Merge pull request #17111 from munnerz/multi-rolling-update
Allow rolling-update of a single container in multi-container pods
2015-12-11 13:08:13 -08:00
Mike Danese 5e03250577 fix testcase in pkg/client/leaderelection that wasn't testing what it said it was testing 2015-12-11 10:58:46 -08:00
deads2k ec87d74ecb update InterfacesFor to use GroupVersion 2015-12-11 13:45:41 -05:00
derekwaynecarr 9cdeb4cb20 describe nodes improvements 2015-12-11 13:09:49 -05:00
markturansky 4fc1bf1f23 Added PersistentVolumeController 2015-12-11 10:33:30 -05:00
k8s-merge-robot d3243b8778 Merge pull request #18383 from timothysc/tools_removal
Auto commit by PR queue bot
2015-12-11 07:17:14 -08:00
feihujiang 3a3421b742 Print how to reattch to seesion when session ends 2015-12-11 17:00:56 +08:00
k8s-merge-robot 23baca87b5 Merge pull request #18232 from pwittrock/fsacct
Auto commit by PR queue bot
2015-12-11 00:48:09 -08:00
k8s-merge-robot 90b5db167f Merge pull request #18356 from deads2k/make-broken-test-correct
Auto commit by PR queue bot
2015-12-11 00:34:15 -08:00
k8s-merge-robot 6b8eb902ce Merge pull request #17969 from dgonyeo/rkt_api_get_pods
Auto commit by PR queue bot
2015-12-10 23:13:37 -08:00
k8s-merge-robot caf4b1e47f Merge pull request #18191 from thockin/ingress-egress-annotations
Auto commit by PR queue bot
2015-12-10 23:01:26 -08:00
k8s-merge-robot 4e553f0dd8 Merge pull request #17425 from feiskyer/desc-ingress
Auto commit by PR queue bot
2015-12-10 22:42:30 -08:00
Brendan Burns cee738871e Add a client implementation for third party resources 2015-12-10 15:43:05 -08:00
markturansky 34c063cfe1 attempt recycling once, fail pv permanently 2015-12-10 18:23:45 -05:00
Nikhil Jindal aaa1fe67f6 Merge pull request #18321 from janetkuo/fix-deployment-getoldrcs
Fix bug when getting old RCs of a deployment
2015-12-10 14:22:56 -08:00
Kris ca7c765f0a Remove APIStatus from the client
Everything that used it also depended on pkg/api/errors. It was a
needless abstraction since it was always an *errors.StatusError.
2015-12-10 13:12:21 -08:00
Nikhil Jindal 9d1f07da4e Merge pull request #18331 from janetkuo/fix-deployment-getnewrc
Fix bug when getting new RC of a deployment
2015-12-10 12:26:51 -08:00
Tim Hockin 872faffdac Internal errors are internal 2015-12-10 11:48:19 -08:00
Tim Hockin 7fb8f60735 Shorten names for better reading 2015-12-10 11:48:19 -08:00
Tim Hockin 87a35047dd Move FieldPath and errors to a sub-package
This makes the naming and reading a lot simpler.
2015-12-10 11:48:16 -08:00
Tim Hockin ad07709461 Fully close sockets in kube-proxy
We were trying to be clever and respect TCP's notion of half-open sockets, but
it causes leaks when we can't unblock io.Copy().  This fixes those leaks and
seems to follow most expectations.  I think we were just be too clever.
2015-12-10 11:34:13 -08:00
Jordan Liggitt 993ef54e12 Close web socket watches correctly 2015-12-10 14:20:46 -05:00
Random-Liu eb551f388c Fix potential data race 2015-12-10 10:35:02 -08:00
k8s-merge-robot 0bf11d89cf Merge pull request #18277 from wojtek-t/better_traces
Auto commit by PR queue bot
2015-12-10 09:56:13 -08:00
k8s-merge-robot 34c32a5615 Merge pull request #18498 from feihujiang/fixDocOfNetworkPluginVersion
Auto commit by PR queue bot
2015-12-10 09:44:32 -08:00
Weixu Zhuang a5a2b94c5f In pkg/kubectl/describe.go function Matches support unordered types matches.
The argument of function need to be matched. It did not support unorder matches.
This is a TODO and I fix it.(line 1763 in pkg/kubectl/describe.go)
I use a map to solve it which could compare two types array's difference.
2015-12-10 09:24:30 -08:00
k8s-merge-robot 0127c45395 Merge pull request #18163 from timothysc/storage_error_handling
Auto commit by PR queue bot
2015-12-10 08:06:54 -08:00
Jay Vyas 5161d169ba Parameterization for downscale, upscale, and tolerance with backsolving
unit test for visible testing of tolerance algorithm expectations. Logs for dScale, uScale, tol creation.
2015-12-10 10:59:21 -05:00
Maciej Szulik 34c72552a5 Updated kubectl help info with resource names 2015-12-10 16:04:44 +01:00
k8s-merge-robot 2ef2544faa Merge pull request #18237 from yifan-gu/refactor_getphase
Auto commit by PR queue bot
2015-12-10 06:55:02 -08:00