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
Yu-Ju Hong
69c3aa0872
Fix source annotation in kubelet
...
kubelet relies on source annotation to distinguish pods from different sources.
It should always annotate the source when receiving the pod to avoid any
confusion. This commit fixes that and also make sure we don't overwrite the
first seen time.
2015-09-11 14:52:16 -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