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
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
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
Steve Milner
66dff577f4
test: improved master coverage.
2015-09-11 09:10:05 -04: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
Abhishek Shah
44ce4aa423
Create a LB for a K8S with the LB-IP provided by user.
2015-09-10 21:05:06 -07: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
Daniel Martí
5f3aff2c43
Fix struct input test in jsonpath
2015-09-10 11:44:13 -07:00
Bobby Abbott
9a5f43e16d
Kubelet#GetNode now uses GetNodeInfo instead of List
...
Both GetNode and the cache.ListWatch listfunc in the
kubelet package call List unnecessary.
GetNodeInfo is sufficient for GetNode and makes looping
through a list of nodes to check for a matching name
unnecessary.
resolves #13476
2015-09-10 10:50:41 -07:00
k8s-merge-robot
1313e3b14e
Merge pull request #13700 from mikedanese/daemon_set
...
Auto commit by PR queue bot
2015-09-10 10:15:45 -07:00
Mike Danese
bf881f187e
rename expapi.Daemon to expapi.DaemonSet
2015-09-10 08:34:26 -07:00
hurf
f61d434e1f
Remove duplicate value assginment when validating limitrange
...
It's unnecessary to get the quantities again from limit.
2015-09-10 21:26:53 +08:00
Jerzy Szczepkowski
65d43a40e5
Changed nameing in controller for HorizontalPodAutosclaer.
...
Changed nameing in controller for HorizontalPodAutosclaer to make it consistent with coding conventions.
2015-09-10 15:10:07 +02:00
Michal Fojtik
fb14c8cdf3
Allow to replace os.Exit() with panic when CLI command fatal error
2015-09-10 09:42:22 +02:00