Commit Graph

7429 Commits (7a04c95bc5cdb1a55b2573e615ed282034f54351)

Author SHA1 Message Date
Prashanth Balasubramanian d096aaffd8 BackendServices 2015-09-14 16:04:41 -07:00
Prashanth Balasubramanian 9b929addec GlobalForwardingRules 2015-09-14 16:04:40 -07:00
Prashanth Balasubramanian b3a1c585cd TargetHttpProxy 2015-09-14 16:04:34 -07:00
Prashanth Balasubramanian 83a2dfdef0 UrlMap 2015-09-14 16:02:08 -07:00
Jeff Lowdermilk 0898ce852d Merge pull request #13756 from kargakis/make-external-svcs-exposable
expose: Avoid selector resolution if a selector is not needed
2015-09-14 16:01:55 -07:00
Paul Weil 3c90d3a5ef allow installing rest to existing web service 2015-09-14 16:34:11 -04:00
k8s-merge-robot 8189460809 Merge pull request #13844 from tummychow/label-deps-2
Auto commit by PR queue bot
2015-09-14 12:56:24 -07:00
k8s-merge-robot 653e5defa5 Merge pull request #13855 from jiangyaoguo/fix-reason-reporting-in-controller
Auto commit by PR queue bot
2015-09-14 12:32:03 -07:00
k8s-merge-robot 83fc0b783f Merge pull request #13923 from wojtek-t/fix_rv_0_errors
Auto commit by PR queue bot
2015-09-14 10:21:41 -07:00
eulerzgy 742b508d9d fix the optimization of apiversion 2015-09-15 01:16:10 +08:00
Jeff Lowdermilk e25ae7fdb2 Merge pull request #13833 from caesarxuchao/central-latest
[WIP] Making a generic latest package
2015-09-14 09:26:58 -07:00
Wojciech Tyczynski 5da52558e6 Fix watch with RV=0 in Kubelet. 2015-09-14 16:45:58 +02:00
Jerzy Szczepkowski e8ceee0d6f Events for HorizontalPodAutoscalers.
Implemented events for reconcilation of HorizontalPodAutoscalers.
2015-09-14 16:00:31 +02:00
Tamer Tas 6908790410 Add a default value to PodConfigNotificationMode 2015-09-14 15:00:01 +03:00
Wojciech Tyczynski 53ae56f205 Replace "minion" with "node" in bunch of places. 2015-09-14 11:07:11 +02:00
k8s-merge-robot 86b4e777e1 Merge pull request #13834 from derekwaynecarr/more_improvements_to_limit_range_validation
Auto commit by PR queue bot
2015-09-13 17:01:56 -07:00
tummychow a21c52a766 Move util/validation files to their own package 2015-09-13 00:46:52 -07:00
k8s-merge-robot 69b283bd27 Merge pull request #13807 from bodgit/glusterfs
Auto commit by PR queue bot
2015-09-12 21:33:09 -07:00
jiangyaoguo 079f1e7015 Fix reason reporting in controller 2015-09-13 11:49:14 +08:00
k8s-merge-robot 916472f65d Merge pull request #13850 from feihujiang/enhanceErrorMessageForScaleRepicasOperationRequired
Auto commit by PR queue bot
2015-09-12 20:19:25 -07:00
k8s-merge-robot 96df310729 Merge pull request #13783 from feihujiang/changeExposePortOperationToNoRequired
Auto commit by PR queue bot
2015-09-12 18:54:34 -07:00
Chao Xu ca803fc504 address lavalamp's comment on using testapi instead of latest, and adding comments for public method. 2015-09-12 15:48:44 -07:00
Chao Xu f5023929d8 fix broken files after rebase 2015-09-12 15:45:12 -07:00
Chao Xu f2e12b765b move things around because we move expapi to apis/experimental now 2015-09-12 15:27:21 -07:00
jhadvig 7582e90d01 Minor typos fix 2015-09-12 21:16:22 +02:00
k8s-merge-robot 960b9e9564 Merge pull request #13867 from JanetKuo/qos-policy-bug
Auto commit by PR queue bot
2015-09-11 19:13:18 -07:00
Mike Danese 214f740f03 Merge pull request #13182 from mikedanese/daemon_manager
Add daemon controller
2015-09-11 19:12:21 -07:00
k8s-merge-robot 04837579ad Merge pull request #13460 from derekwaynecarr/run_requests
Auto commit by PR queue bot
2015-09-11 18:19:17 -07:00
k8s-merge-robot 5ed8400642 Merge pull request #13628 from MikaelCluseau/wip-hairpin
Auto commit by PR queue bot
2015-09-11 17:45:46 -07:00
Chao Xu c733124920 address lavalamp's comments 2015-09-11 17:34:32 -07:00
Chao Xu 3dc5223f4f check if experimental is enabled during startup of client and server 2015-09-11 17:34:32 -07:00
Chao Xu ac5481d089 move client/unversioned/fake.go to its own package 2015-09-11 17:33:54 -07:00
Chao Xu fbde485548 remove pkg/expapi/testapi/testapi.go 2015-09-11 17:33:54 -07:00
Chao Xu fa9c9d0375 remove comments 2015-09-11 17:33:22 -07:00
Chao Xu 0d2110c3f4 fix boilerplate 2015-09-11 17:33:22 -07:00
Chao Xu 0b6fd8c5c4 fixing tests 2015-09-11 17:33:22 -07:00
Chao Xu 190ca2ebf2 add import_known_versions.go 2015-09-11 17:32:23 -07:00
Chao Xu 64bf839e9f refactor tests to use testapi rather than latest directly 2015-09-11 17:32:23 -07:00
Chao Xu 8f888e2826 add RESTMapper() in testapi 2015-09-11 17:31:47 -07:00
Chao Xu dd6c121d7f massive changes 2015-09-11 17:31:47 -07:00
Chao Xu d690ae9664 install tests 2015-09-11 17:29:37 -07:00
Chao Xu e400a15f84 make a central latest package 2015-09-11 17:29:37 -07:00
k8s-merge-robot cb481b4a00 Merge pull request #13837 from brendandburns/kubectl2
Auto commit by PR queue bot
2015-09-11 17:18:29 -07:00
Mike Danese 1065872d29 rebase and resolve a huge amount of conflicts to keep this up to date (does this commit have more LOC changed than the original implementation? that would be funny...) 2015-09-11 17:04:34 -07:00
Ananya Kumar c7628fae43 Add daemon manager 2015-09-11 16:56:08 -07:00
Daniel Smith ccd9e3e247 Run all automated tools 2015-09-11 16:11:08 -07:00
Daniel Smith 7a0fc719fb Fix tooling for apis/experimental's new home
* fix package name
* add a script to auto-gofmt everything, useful after grep/sed incantations
* update conversion/deep copy generation
* doc update
2015-09-11 16:06:10 -07:00
Daniel Smith 4c2adabf42 move; sed replace 2015-09-11 16:03:22 -07:00
k8s-merge-robot bafa7627db Merge pull request #12910 from soltysh/job_controller
Auto commit by PR queue bot
2015-09-11 15:52:37 -07:00
k8s-merge-robot 5bafcc2167 Merge pull request #13007 from jackgr/diff_and_patch
Auto commit by PR queue bot
2015-09-11 15:27:14 -07:00
k8s-merge-robot f775b24bde Merge pull request #13462 from ashcrow/master-tests
Auto commit by PR queue bot
2015-09-11 14:58:40 -07:00
Mike Danese 3758a01ced Merge pull request #13755 from ArtfulCoder/shufflestrings
ShuffleStrings uses a seeded rand object
2015-09-11 14:48:53 -07:00
Mikaël Cluseau b76abf10cc hairpin: fix tests 2015-09-12 08:43:45 +11:00
Mikaël Cluseau 1ab520a59b pkg/util/exec: allow mocking of LookPath 2015-09-12 08:43:45 +11:00
Mikaël Cluseau 99a1cfa8ff hairpin support 2015-09-12 08:43:45 +11:00
Brendan Burns 9ba13ff361 Address comments 2015-09-11 13:55:16 -07:00
k8s-merge-robot b67aa39c73 Merge pull request #13626 from feihujiang/getTerminatedPodByName
Auto commit by PR queue bot
2015-09-11 12:57:03 -07:00
Maciej Szulik e55c59e8c2 New Job resource 2015-09-11 21:36:20 +02:00
k8s-merge-robot 6f01200188 Merge pull request #13727 from jiangyaoguo/fix-reason-reporting-in-kubelet
Auto commit by PR queue bot
2015-09-11 12:32:20 -07:00
Tim St. Clair 1f91fffb57 Move kubelet.statusManager to status.Manager
This refactor is in preparation for moving more state handling to the
status manager. It will become the canonical cache for the latest
information on running containers and probe status, as part of the
prober refactoring.
2015-09-11 12:22:01 -07:00
Matt Dainty 8bbc86d83c Override the GlusterFS log file location
GlusterFS by default uses a log file based on the mountpoint path munged into a
file, i.e. `/mnt/foo/bar` becomes `/var/log/glusterfs/mnt-foo-bar.log`.

On certain Kubernetes environments this can result in a log file that exceeds
the 255 character length most filesystems impose on filenames causing the mount
to fail. Instead, use the `log-file` mount option to place the log file under
the kubelet plugin directory with a filename of our choosing keeping it fairly
persistent in the case of troubleshooting.
2015-09-11 18:29:00 +01:00
Janet Kuo 452ebed92b Fix the bug that qos class determination be incorrect with small numbers 2015-09-11 10:26:44 -07:00
Kris 9d45f5b929 Pick a sane default for ETCD_PREFIX 2015-09-11 10:06:56 -07:00
derekwaynecarr 9bc48f699d Validate LimitRange default and defaultRequest are not supported for limits of type Pod 2015-09-11 12:22:30 -04:00
k8s-merge-robot bff6ee8e4a Merge pull request #12695 from JanetKuo/kubectl-describe-pod-podstatus
Auto commit by PR queue bot
2015-09-11 08:08:32 -07:00
derekwaynecarr 295b8cdf16 Add requests and limits to kubectl run 2015-09-11 10:57:21 -04:00
kargakis a49230e736 Test for exposable services 2015-09-11 15:30:17 +02:00
Steve Milner 66dff577f4 test: improved master coverage. 2015-09-11 09:10:05 -04:00
feihujiang 084c7fe82a Enhance error message for scale's replicas operation 2015-09-11 16:15:13 +08:00
k8s-merge-robot 52ef0599d8 Merge pull request #13796 from jszczepkowski/hpa-rename
Auto commit by PR queue bot
2015-09-11 00:33:22 -07:00
Brendan Burns d9e1a00a14 Add caching for swagger schemas 2015-09-10 21:18:52 -07:00
Abhishek Shah 44ce4aa423 Create a LB for a K8S with the LB-IP provided by user. 2015-09-10 21:05:06 -07:00
feihujiang 714a042ce4 Change Expose Command's port operation to no required 2015-09-11 11:37:55 +08:00
k8s-merge-robot bfc60709b1 Merge pull request #13468 from yifan-gu/rkt_doc
Auto commit by PR queue bot
2015-09-10 20:32:08 -07:00
k8s-merge-robot 865359d33d Merge pull request #13481 from brendandburns/attach3
Auto commit by PR queue bot
2015-09-10 20:05:19 -07:00
k8s-merge-robot f8804ed166 Merge pull request #13798 from hurf/lr_dup
Auto commit by PR queue bot
2015-09-10 19:11:27 -07:00
jiangyaoguo 62c0c35307 Fix reporting reason in kubelet
1. Make reason field of StatusReport objects in kubelet in CamelCase format.
2. Add Message field for ContainerStateWaiting to describe detail about Reason.
3. Make reason field of Events in kubelet in CamelCase format.
4. Update swagger,deep-copy and so on.
2015-09-11 10:01:08 +08:00
Janet Kuo edc75cd565 Fix the bug that determining guaranteed qos won't work well with small numbers 2015-09-10 18:21:51 -07:00
Janet Kuo 2e5aeaff52 Add percentage of total limits and a help doc to explain why it may be over 100% 2015-09-10 18:21:50 -07:00
Janet Kuo 5ffe46d376 Use resource.Quantity string representation to print requests and limits 2015-09-10 18:21:50 -07:00
Janet Kuo 22a794cc22 List resource QoS tier of each container when describing pods; Re-order resource table 2015-09-10 18:21:50 -07:00
Janet Kuo 6e76f1aef7 Show more information in describe node/pod 2015-09-10 18:21:50 -07:00
Mike Danese ae7b13d40e Merge pull request #13341 from lavalamp/clientCache
Move pkg/client/unversioned/cache to pkg/client/cache; it is version-…
2015-09-10 17:57:25 -07:00
k8s-merge-robot e46c940cae Merge pull request #13545 from brendandburns/kubectl
Auto commit by PR queue bot
2015-09-10 17:23:11 -07:00
Daniel Smith b225c1d47a Run gofmt (separate commit for easy rebases) 2015-09-10 17:17:59 -07:00
Daniel Smith 15b30b8b09 Move version agnostic parts of client
pkg/client/unversioned/cache -> pkg/client/cache
pkg/client/unversioned/record -> pkg/client/record
2015-09-10 17:17:59 -07:00
k8s-merge-robot ee7168d868 Merge pull request #13815 from robertabbott/abbott/kubelet_get_instead_of_list
Auto commit by PR queue bot
2015-09-10 15:59:01 -07:00
Mike Danese b0457bee94 Merge pull request #13058 from mvdan/go1.5
Race condition and test fixes
2015-09-10 15:10:19 -07:00
Yifan Gu e7b9c50ba1 kubelet/rkt: add support for different stage1 image.
Also enable grace stop for service files.
2015-09-10 14:58:03 -07:00
k8s-merge-robot 381a723814 Merge pull request #13532 from JanetKuo/kubectl-dont-use-specific-printer
Auto commit by PR queue bot
2015-09-10 14:39:02 -07:00
Daniel Martí d15de72a92 Fix race condition in controller_test
Our WaitGroup.Add() call might happen after some WaitGroup.Done() calls done
by the controller, so make sure that doesn't happen by doing the Add() calls
before letting the controller run.

--- FAIL: TestUpdate (2.00s)
panic: sync: WaitGroup is reused before previous Wait has returned [recovered]
        panic: sync: WaitGroup is reused before previous Wait has returned
2015-09-10 14:33:23 -07:00
jackgr 3ecb1bac83 Add method to create strategic merge patch. 2015-09-10 14:01:07 -07:00
Brendan Burns 2b3bb33569 Address comments. 2015-09-10 13:07:13 -07:00
Brendan Burns 56a1cd76cb Address changes. 2015-09-10 13:05:32 -07:00
Brendan Burns b485821bb1 Enable custom columns printing in kubectl 2015-09-10 13:05:32 -07:00
tummychow 78ce5da988 Move util.StringSet into its own package
A lot of packages use StringSet, but they don't use anything else from
the util package. Moving StringSet into another package will shrink
their dependency trees significantly.
2015-09-10 12:04:15 -07:00
Daniel Martí 71ca503d30 Try to fix flaky test in record/event
The error messages were inconsistent with what was actually being tested in
regards to timestamps being equal or not.
2015-09-10 11:44:14 -07:00
Daniel Martí ad243edaa3 Fix race condition in watch
The Shutdown() call returned immediately, without waiting for all event
distributions to be completed. Even worse, it would close all the watcher
result channels before all the info was sent to them.

Properly wait for all distributor goroutines - currently only one - to be
finished.

This fixes the flaky test TestBroadcasterDropIfChannelFull. Bonus cleanup on
said test too.
2015-09-10 11:44:14 -07:00
Daniel Martí 7aca60f636 Fix probe/tcp test on some systems
Depending on your system, the error might be "Servname not supported for
ai_socktype" instead of "unknown port". Accept both.

For example:
http://www.ducea.com/2006/09/11/error-servname-not-supported-for-ai_socktype/
2015-09-10 11:44:14 -07:00
Daniel Martí 0b10c6cfae Fix failing test in probe/http
The error that Go 1.5 returns is different compared to 1.4. Support both.
2015-09-10 11:44:13 -07:00