Commit Graph

913 Commits

Author SHA1 Message Date
Janet Kuo
7e9fb97b7d Remove UniqueLabelKey from deployment spec 2016-02-05 16:21:44 -08:00
Daniel Smith
60cc5d10b7 Merge pull request #20013 from spxtr/fix-ssh
Retry SSH connection for E2E log gathering.
2016-02-05 15:52:34 -08:00
Chao Xu
184440f8ef rename release_1_2 to internalclientset 2016-02-05 14:02:28 -08:00
Rudi Chiarito
a2d1bb7acf Add httpHeaders to httpGet liveness probe
Also update existing documentation and try to steer users away from 'host'.
Add validation.
2016-02-05 11:20:04 -05:00
Chao Xu
1b047f8e67 rename legacy to core 2016-02-04 14:26:56 -08:00
Vishnu kannan
df1f164b34 Do not fail container creation if the contaienr exits before applyting
oom score adjust.

Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-04 13:39:19 -08:00
k8s-merge-robot
65ebe19164 Merge pull request #20584 from caesarxuchao/release_1_2
Auto commit by PR queue bot
2016-02-03 19:46:27 -08:00
k8s-merge-robot
d4da1ee3ce Merge pull request #19835 from janetkuo/kubectl-rollout
Auto commit by PR queue bot
2016-02-03 17:39:04 -08:00
Joe Finney
7a59683e41 Retry SSH connection for E2E log gathering. 2016-02-03 16:06:02 -08:00
Chao Xu
f9f5736b01 grep sed 2016-02-03 13:06:07 -08:00
k8s-merge-robot
8d8de2efb4 Merge pull request #19314 from cjcullen/tunnels
Auto commit by PR queue bot
2016-02-02 19:46:06 -08:00
Jeff Lowdermilk
caa9433234 Merge pull request #20433 from lavalamp/fix-bad-rv
Add timeout, fix potential startup hang
2016-02-02 17:27:23 -08:00
Janet Kuo
442c75045a Add kubectl rollout undo 2016-02-02 14:20:01 -08:00
k8s-merge-robot
26202fc98a Merge pull request #18804 from marun/fix-nodeport-services
Auto commit by PR queue bot
2016-02-02 14:07:49 -08:00
CJ Cullen
04eb90a5d4 Make tunneler hold tunnels open and healthcheck vs. reopening every 5 minutes.
Also add a test for the Update() logic.
Reordered tunnels vs. storage initialization (prevent a nil ptr panic)
2016-02-02 12:00:29 -08:00
Jan Safranek
220163f67d Fixed races in Cinder volume attach/detach.
Add a mutex to guard SetUpAt() and TearDownAt() calls - they should not
run in parallel.  There is a race in these calls when there are two pods
using the same volume, one of them is dying and the other one starting.

TearDownAt() checks that a volume is not needed by any pods and detaches the
volume. It does so by counting how many times is the volume mounted
(GetMountRefs() call below).

When SetUpAt() of the starting pod already attached the volume and did not mount
it yet, TearDownAt() of the dying pod will detach it - GetMountRefs() does not
count with this volume.

These two threads run in parallel:

 dying pod.TearDownAt("myVolume")          starting pod.SetUpAt("myVolume")
   |                                       |
   |                                       AttachDisk("myVolume")
   refs, err := mount.GetMountRefs()       |
   Unmount("myDir")                        |
   if refs == 1 {                          |
   |  |                                    Mount("myVolume", "myDir")
   |  |                                    |
   |  DetachDisk("myVolume")               |
   |                                       start containers - OOPS! The volume is detached!
   |
   finish the pod cleanup


Also, add some logs to cinder plugin for easier debugging in the future, add
a test and update the fake mounter to know about bind mounts.
2016-02-02 14:38:49 +01:00
k8s-merge-robot
78eaa6635e Merge pull request #20080 from nagarjung/flocker_feature
Auto commit by PR queue bot
2016-02-02 02:45:14 -08:00
k8s-merge-robot
17a5058e83 Merge pull request #19893 from janetkuo/kubectl-rollout-history
Auto commit by PR queue bot
2016-02-02 01:13:15 -08:00
Daniel Smith
4a7d70aef1 extend fake clock 2016-02-01 15:36:15 -08:00
Janet Kuo
8fb86a3d3b Add kubectl rollout history 2016-02-01 15:32:43 -08:00
Maru Newby
a5e00da867 Fix nodeport service compat with default-deny fw 2016-02-01 21:34:30 +00:00
harry
1032067ff9 Replace runtime reference by pkg 2016-02-01 21:06:44 +08:00
Chao Xu
c72d234bbf replacing handwritten client in several controllers 2016-01-31 15:42:02 -08:00
Janet Kuo
3396db9510 Add rollback subresource; add rollback logic to deployment controller 2016-01-30 16:00:34 -08:00
Janet Kuo
42f712467e Use ListOptions when listing RCs in deployment 2016-01-30 12:04:35 -08:00
Janet Kuo
c84a0371a2 Deployment adds version info to its new rc 2016-01-30 12:04:35 -08:00
k8s-merge-robot
deef16d2b3 Merge pull request #19354 from jimmidyson/system-container-fix
Auto commit by PR queue bot
2016-01-29 19:13:43 -08:00
Fabio Yeon
eb2c2d1af4 Merge pull request #20111 from fabioy/fix-tmp-tests
Add temp directory creation method for tests.
2016-01-29 09:51:12 -08:00
Jimmi Dyson
1c289943f5 Ensure kubelet pid is not moved to system container 2016-01-29 09:30:20 +00:00
Mike Danese
309eac5f7f update proxy server 2016-01-28 15:46:40 -08:00
Fabio Yeon
4c57ad8379 Merge pull request #19978 from markturansky/typos
Fixed spelling typo
2016-01-28 14:01:03 -08:00
Fabio Yeon
7205a160ac Remove all instances of "/tmp" from unit tests and replace with a common
tmp directory creator. Exception is documented.
2016-01-27 16:11:22 -08:00
Filip Grzadkowski
a5a23940bb Speed up UUID generation.
Fixes #19036
Fixes #18608
2016-01-27 15:39:23 +01:00
k8s-merge-robot
d3b869ae14 Merge pull request #17922 from smarterclayton/split_codec
Auto commit by PR queue bot
2016-01-25 06:30:39 -08:00
Nagarjun
39b1874041 Add GetEnvOr() feature to utils Package 2016-01-25 16:08:35 +05:30
Zach Loafman
b25d596a2b Merge pull request #19630 from mikedanese/fix-test
test: make ValidateCount throw an error instead of a log
2016-01-22 11:08:27 -08:00
Clayton Coleman
4a6935b31f Remaining codec change refactors 2016-01-22 13:27:27 -05:00
Clayton Coleman
33085c0cf2 Update tests to handle codec changes 2016-01-22 13:27:26 -05:00
Zach Loafman
f3a638de31 Merge pull request #16067 from smarterclayton/backoff_conflict
Provide a RetryOnConflict helper for client libraries
2016-01-22 10:23:19 -08:00
markturansky
3f292d87ed fixed spelling typo 2016-01-22 00:15:07 -05:00
Clayton Coleman
6b2f70d553 Provide a JSON and YAML serializer, and a versioning wrapper
Add a recognizer that is capable of sniffing content type from data by
asking each serializer to try to decode - this is for a "universal
decoder/deserializer" which can be used by client logic.

Add codec factory, which provides the core primitives for content type
negotiation. Codec factories depend only on schemes, serializers, and
groupversion pairs.
2016-01-22 00:12:49 -05:00
Clayton Coleman
9d5df20efe jsonpath: Handle interface{}(nil) as empty array 2016-01-21 23:18:31 -05:00
nikhiljindal
2ad642d370 Merge registered and latest and move to apimachinery 2016-01-21 14:42:21 -08:00
Alex Mohr
d2d349bc84 Merge pull request #19334 from resouer/network
Networking should be used to hold network related pkgs
2016-01-21 10:26:13 -08:00
Clayton Coleman
4342fccc0d Provide a RetryOnConflict helper for client libraries
Used like:

    var pod *api.Pod
    err := client.RetryOnConflict(client.DefaultBackoff, func() (err error) {
      pod, err = c.Pods("mynamespace").UpdateStatus(update)
      return
    })
    // err may be conflict
2016-01-20 22:58:16 -05:00
Mike Danese
39c7ea57b0 test: make ValidateCount throw an error instead of a log
We can either fix it here or at every callsite. Every callsite is
currently using this method incorrectly.

Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-19 15:59:32 -08:00
k8s-merge-robot
ad827c6b62 Merge pull request #19573 from madhusudancs/daemonset-update-move-utils
Auto commit by PR queue bot
2016-01-17 08:16:11 -08:00
k8s-merge-robot
3816c1798f Merge pull request #19411 from eparis/boolflag-def-val
Auto commit by PR queue bot
2016-01-16 06:23:48 -08:00
harry
98222b4d8b Replace to tag
Use a testing pkg to replace testing util codes
2016-01-15 15:07:21 +08:00
Harry Zhang
936a11e775 Use networking to hold network related pkgs
Change names of unclear methods

Use net as pkg name for short
2016-01-15 13:46:16 +08:00
Mike Danese
33c72db59c Merge pull request #19528 from resouer/strings-util
Create strings pkg to fix util issue
2016-01-14 21:19:17 -08:00
harry
7405c7899b Add strings pkg to hold strings utils
Replace funtions with strings pkg

Fix all references and rename the pkg
2016-01-15 12:37:50 +08:00
Mike Danese
82509a46a7 Merge pull request #19585 from smarterclayton/skip_mount
Skip format and mount test on windows or mac
2016-01-14 17:03:44 -08:00
Eric Paris
aad4b4477d Make "BoolFlag" booleans not require =true 2016-01-14 09:07:00 -05:00
k8s-merge-robot
9e97cfc2e8 Merge pull request #14200 from swagiaal/run-fsck-before-format
Auto commit by PR queue bot
2016-01-13 22:11:45 -08:00
Clayton Coleman
389d5e48cb Skip format and mount test on windows or mac 2016-01-12 21:43:50 -05:00
Madhusudan.C.S
4caa8a2c1d Move pod template hash and label adding util functions to their packages.
These utilities are useful outside Deployments as well, for example
in DaemonSets for DaemonSet updates. So move them to their own util
packages.
2016-01-12 16:11:00 -08:00
k8s-merge-robot
0df7e695d4 Merge pull request #19458 from davidopp/notsclose
Auto commit by PR queue bot
2016-01-12 13:53:13 -08:00
k8s-merge-robot
9b106c6e6d Merge pull request #18058 from mqliang/httpProbe
Auto commit by PR queue bot
2016-01-11 23:21:01 -08:00
David Oppenheimer
8ac484793d Comment out calls to httptest.Server.Close() to work around
https://github.com/golang/go/issues/12262 . See #19254 for
more details. This change should be reverted when we upgrade
to Go 1.6.
2016-01-11 23:02:11 -08:00
k8s-merge-robot
170c03a85f Merge pull request #16354 from mdshuai/valid-supplemental-groups
Auto commit by PR queue bot
2016-01-11 00:48:34 -08:00
mdshuai
27934da9cc Validate uids and gids for securitycontext 2016-01-11 15:17:25 +08:00
k8s-merge-robot
609cdfd267 Merge pull request #19331 from resouer/hash-util
Auto commit by PR queue bot
2016-01-09 13:08:01 -08:00
k8s-merge-robot
33085cc2ae Merge pull request #19238 from therc/master
Auto commit by PR queue bot
2016-01-08 04:10:53 -08:00
Isaac Hollander McCreery
791cae90f0 Merge pull request #19350 from brendandburns/oncall
Improve error reporting a little in ingress e2e.
2016-01-07 15:51:31 -08:00
Brendan Burns
07b3ab720d Improve error reporting a little in ingress e2e.
Also add Output() to the util/exec Cmd interface.
2016-01-06 15:25:04 -08:00
harry
2a52976983 Use hashutil to hold hash tools 2016-01-06 22:28:58 +08:00
gmarek
93b180e81f Small cleanup to wait_test.go 2016-01-04 17:11:43 +01:00
Rudi Chiarito
ea56e508f0 Fix: deal properly with tc qdisc show returning "noqueue" 2016-01-03 23:44:18 -05:00
Wojciech Tyczynski
1ad524ac24 Fix wait_test flakes 2016-01-03 09:56:57 +01:00
Wojciech Tyczynski
84e2d6c3d3 Fix TestPoll test 2016-01-02 14:48:30 +01:00
Wojciech Tyczynski
5abdc2e944 Updage auto-generated files 2016-01-01 11:47:29 +01:00
Wojciech Tyczynski
6d33d28de8 Fix wait_test flakes 2015-12-30 14:05:46 +01:00
Chakravarthy Nelluri
fa76de79e5 Add support for flex volume. Flex volume adds support for thirdparty(vendor)
volumes and custom mounts.
2015-12-23 14:11:38 -08:00
Brendan Burns
ac5c0aaba7 Merge pull request #17883 from jimmidyson/cadvisor-bump-0.19.4
Bump cadvisor to fix interface stats bugs & improve performance
2015-12-22 10:34:46 -08:00
Brendan Burns
b6ca92127d Merge pull request #16980 from jackgr/force_apply
Implement conflict detection in strategic merge patch
2015-12-22 10:33:35 -08:00
Mathias Lafeldt
1701cd4a3a Fix closing bracket in Godoc 2015-12-21 21:36:11 +01:00
Jimmi Dyson
041ab17a67 Bump cadvisor to fix interface stats bugs & improve performance
Includes necessary godep upgrades for docker & systemd packages as well as
migrating from docker/libcontainer to opencontainers/runc/libcontainer.
2015-12-21 17:07:21 +00:00
k8s-merge-robot
3c3a24e1d4 Merge pull request #18694 from thockin/airplane_validation_pt7
Auto commit by PR queue bot
2015-12-19 03:57:53 -08:00
k8s-merge-robot
9e8233fc3c Merge pull request #17398 from janetkuo/deployment-controller-informer
Auto commit by PR queue bot
2015-12-18 19:13:32 -08:00
Tim Hockin
0fecf965b4 Change how one-of blocks are validated
I took a hard look at error output and played until I was happier.  This now
prints JSON for structs in the error, rather than go's format.

Also made the error message easier to read.

Fixed tests.
2015-12-18 09:42:14 -08:00
Tim Hockin
43ed74748e Clean up and document validation strings
Also add a detail string for Required and Forbidden.  Fix tests.
2015-12-18 09:40:50 -08:00
Janet Kuo
1a8f96231a Add expectation model for pod deletion 2015-12-17 19:29:54 -08:00
Janet Kuo
32d153093e Fix deployment tests failures; change ResyncPeriod 2015-12-17 19:29:54 -08:00
Janet Kuo
07cecb4148 Add unit test for get old rcs 2015-12-16 23:10:22 -08:00
Janet Kuo
7d4c83d655 Add unit test for get new rc 2015-12-16 23:06:48 -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
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
deads2k
d0aaf13920 use constants for group names 2015-12-14 10:04:10 -05:00
Wojciech Tyczynski
960808bf08 Switch to versioned ListOptions in client. 2015-12-14 14:26:09 +01:00
Harry Zhang
8fe92c69d2 Update highwatermark 2015-12-14 16:47:47 +08:00
harry zhang
5405a5d98d Move atomic_value into folder
Change pkg to atomic
2015-12-14 05:50:29 +00: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
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
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
Sami Wagiaalla
c18f342ac6 Use constants for fsck return values 2015-12-08 10:51:12 -05:00
Sami Wagiaalla
10688f1a11 Run fsck before formatting disk
Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-12-08 10:50:30 -05:00
Janet Kuo
72bd4e8caf Fix bug when getting new RC of a deployment 2015-12-07 23:57:30 -08:00
Janet Kuo
524ec8b48b Fix bug when getting old RCs of a deployment 2015-12-07 18:09:51 -08:00
jackgr
b11dec7aec Implement conflict detection in strategic merge patch. 2015-12-06 17:54:32 -08:00
k8s-merge-robot
810181fb7b Merge pull request #17278 from ZJU-SEL/fix-nil-tag
Auto commit by PR queue bot
2015-12-06 12:52:39 -08:00
Clayton Coleman
9fea762917 Add protobuf preparation objects, guarded by proto tag 2015-12-05 18:15:48 -05:00
k8s-merge-robot
3180b00f6c Merge pull request #17673 from hongchaodeng/metrics
Auto commit by PR queue bot
2015-12-05 05:30:08 -08:00
Janet Kuo
8fb0caa15b Implement MinReadySeconds for Deployment 2015-12-04 12:58:34 -08:00
k8s-merge-robot
9e896e3416 Merge pull request #16948 from swagiaal/move-formatAndMount
Auto commit by PR queue bot
2015-12-04 10:37:33 -08:00
k8s-merge-robot
a5100ef057 Merge pull request #17248 from thockin/airplane_validation_pt4
Auto commit by PR queue bot
2015-12-03 16:59:23 -08:00
k8s-merge-robot
13b0fd3cda Merge pull request #16942 from swagiaal/distinguish-format-and-mount
Auto commit by PR queue bot
2015-12-03 10:51:26 -08:00
Hongchao Deng
ba80892cec Rate limiter: Add Saturation() method 2015-12-03 08:39:35 -08:00
Hongchao Deng
9781a838da change tickRateLimiter to tokenBucketRateLimiter 2015-12-03 08:39:35 -08:00
Tim Hockin
0fe29232eb Remove obsolete ErrorList Prefix logic 2015-12-03 08:19:52 -08:00
Tim Hockin
e6df0b1a24 Convert validation to use FieldPath
Before this change we have a mish-mash of ways to pass field names around for
error generation.  Sometimes string fieldnames, sometimes .Prefix(), sometimes
neither, often wrong names or not indexed when it should be.

Instead of that mess, this is part one of a couple of commits that will make it
more strongly typed and hopefully encourage correct behavior.  At least you
will have to think about field names, which is better than nothing.

It turned out to be really hard to do this incrementally.
2015-12-03 08:19:44 -08:00
Tim Hockin
102eced0b1 Introduce a FieldPath type for validation 2015-12-03 08:17:02 -08:00
k8s-merge-robot
3cbfcdcdba Merge pull request #16810 from lavalamp/go2idl.2
Auto commit by PR queue bot
2015-12-03 04:25:08 -08:00
Wojciech Tyczynski
6dcb689d4e Simplify List() signature in clients. 2015-12-03 09:54:07 +01:00
Daniel Smith
56cae7c719 re-run set-gen 2015-12-02 14:14:50 -08:00
Daniel Smith
ad925dd2e8 Add verification to code gen 2015-12-02 14:14:49 -08:00
Sami Wagiaalla
66c905d63e Distinguish normal mount from format and mount in SafeFormatAndMount 2015-12-02 11:16:00 -05:00
jhadvig
f7785bcdb4 Typo fix 2015-12-02 13:59:58 +01:00
mqliang
149af2f7a7 remove todo 2015-12-02 13:04:59 +08:00
Wojciech Tyczynski
8343c8ce6c Pass ListOptions to List() methods. 2015-12-01 15:00:36 +01:00
k8s-merge-robot
8752165fb6 Merge pull request #16853 from jayunit100/backoffresets
Auto commit by PR queue bot
2015-11-30 11:39:10 -08:00
harry
477da92002 Move hostIP detection from master to server
Add PublicAddress in test files

Move valid public addr into util
2015-11-30 16:17:37 +08:00
harry zhang
121c7046aa Move parsers into util 2015-11-29 22:15:11 -08:00
k8s-merge-robot
4eb010b1f7 Merge pull request #17694 from hongchaodeng/ratelimit
Auto commit by PR queue bot
2015-11-26 13:12:26 -08:00
Clayton Coleman
e9e02bdd50 Review comments 2015-11-26 11:53:38 -05:00
Clayton Coleman
1d592e4c28 Unversioned types should not use ambiguous go-int
All external types that are not int64 are now marked as int32,
including
IntOrString. Prober is now int32 (43 years should be enough of an initial
probe time for anyone).

Did not change the metadata fields for now.
2015-11-26 11:45:25 -05:00
jay vyas
7ffaef63d1 Backoff and Randomness additions for use in client utilities
Updated String to use int, and int not to panic, and panic to test panic
Format fixes.
2015-11-25 00:01:06 -05:00
k8s-merge-robot
431c67710b Merge pull request #17247 from thockin/airplane_validation_pt3
Auto commit by PR queue bot
2015-11-24 18:37:09 -08:00
k8s-merge-robot
5502aefa01 Merge pull request #17152 from daizuozhuo/jsonpath
Auto commit by PR queue bot
2015-11-24 04:45:38 -08:00
Hongchao Deng
13d152a873 RateLimiter: change CanAccept() to TryAccept() 2015-11-23 16:42:53 -08:00
Tim Hockin
ceee678b29 Rename validation 'New' funcs 2015-11-23 10:01:43 -08:00
Tim Hockin
682f2a5a79 Stronger typing for validation ErrorList 2015-11-23 10:01:43 -08:00
Tim Hockin
f8ad75df44 Clarify invalid vs not-supported 2015-11-23 08:07:17 -08:00
Tim Hockin
2c60a97e72 Clean up comments, reorder types 2015-11-23 08:07:17 -08:00
k8s-merge-robot
fb09627514 Merge pull request #17262 from brendandburns/hyperkube
Auto commit by PR queue bot
2015-11-23 07:49:34 -08:00
Tim Hockin
bca3780b7f Remove unused matcher 2015-11-22 20:13:24 -08:00
Tim Hockin
48b49a5cae s/ValidationErrorList/ErrorList/ 2015-11-22 20:13:20 -08:00
Tim Hockin
d64d1fbb3d s/ValidationError/Error/ 2015-11-22 20:12:46 -08:00
Tim Hockin
2a127d089a s/ValidationErrorType/ErrorType/ 2015-11-22 20:12:39 -08:00
Tim Hockin
0ff66da346 Move fielderrors into validation 2015-11-22 20:12:20 -08:00
k8s-merge-robot
48cc84fb09 Merge pull request #16954 from brendandburns/watchdog
Auto commit by PR queue bot
2015-11-21 08:06:27 -08:00
Brendan Burns
ce90b83689 Update some flags 2015-11-20 11:47:31 -08:00
Brendan Burns
1dcd250274 Refactor the deadlock detector for testing. Add a test. 2015-11-20 09:35:40 -08:00
mqliang
5bc2560b1f refactor:move GetNewRCTemplate() out of for loop 2015-11-19 13:34:18 +08:00
Dai Zuozhuo
ad5cc8b599 quote interpreted string 2015-11-19 11:15:10 +08:00
Prashanth B
e82277b86a Merge pull request #17302 from bprashanth/wait_leak
Fix timer leak in wait.Poll
2015-11-17 18:35:49 -08:00
k8s-merge-robot
1334401888 Merge pull request #17202 from brendandburns/fix2
Auto commit by PR queue bot
2015-11-17 00:49:13 -08:00
k8s-merge-robot
ac0d009522 Merge pull request #16950 from swagiaal/handle-exec-not-found
Auto commit by PR queue bot
2015-11-16 23:46:38 -08:00
Tim Hockin
ba383bcfeb Refactor IntOrString into a new pkg
pkg/util/intstr is a cleaner encapsulation for this type and supporting
functions.  No behavioral change.
2015-11-16 10:57:52 -08:00
Prashanth Balasubramanian
eab22ff95a Fix timer leak in wait.Poll 2015-11-15 16:39:25 -08:00
Tim Hockin
970c045848 Enable iptables kube-proxy by default in master 2015-11-13 18:38:01 -08:00
Brendan Burns
fb576f30c8 Refactor an interface for style 2015-11-13 15:56:27 -08:00
k8s-merge-robot
3d123ba390 Merge pull request #16953 from swagiaal/print-cmd-in-fake-exec
Auto commit by PR queue bot
2015-11-13 05:21:20 -08:00
k8s-merge-robot
0dac3e12c5 Merge pull request #16969 from smarterclayton/fix_secret_in_container
Auto commit by PR queue bot
2015-11-12 21:26:20 -08:00
Sami Wagiaalla
4d373b133a Handle executable not found in exec 2015-11-12 13:16:22 -05:00
k8s-merge-robot
706d3a77a9 Merge pull request #16798 from derekwaynecarr/key_compaction
Auto commit by PR queue bot
2015-11-12 02:45:15 -08:00
Sami Wagiaalla
d10d81d811 Print unhandeled command in FakeExec 2015-11-11 16:54:23 -05:00
deads2k
e683842359 stop panicing on bad array length 2015-11-09 13:23:16 -05:00
Clayton Coleman
8c1d820435 Secrets in containerized Kubelet get mangled due to 'echo'
Change to stream over stdin to 'cat'
2015-11-07 10:53:31 -06:00
derekwaynecarr
6ad7f1a8cb Add event correlation to client 2015-11-06 16:59:38 -05:00
Brendan Burns
13e68d2a87 Merge pull request #16924 from brendandburns/watchdog
Add a deadlock watchdog
2015-11-06 13:14:14 -08:00
Sami Wagiaalla
1880c4eedb move formatAndMount and diskLooksUnformatted to mount_linux 2015-11-06 15:37:46 -05:00
Brendan Burns
c511db9113 Add a deadlock watchdog 2015-11-06 11:31:44 -08:00
k8s-merge-robot
32956b7dd3 Merge pull request #16829 from mikedanese/until-immediate
Auto commit by PR queue bot
2015-11-05 04:51:20 -08:00
k8s-merge-robot
9b60fb0c4f Merge pull request #16536 from rootfs/fix-mkfs
Auto commit by PR queue bot
2015-11-05 01:48:18 -08:00
Mike Danese
8b9809291b make util.Until return immediately if stop is written inside the loop 2015-11-04 16:55:15 -08:00
Daniel Smith
241551e36e set-gen example 2015-11-03 15:14:51 -08:00
k8s-merge-robot
c8fe00b94f Merge pull request #16711 from liggitt/remotecommand_error
Auto commit by PR queue bot
2015-11-03 06:43:37 -08:00
k8s-merge-robot
1b437272ba Merge pull request #16696 from janetkuo/kubectl-jsonpath
Auto commit by PR queue bot
2015-11-03 04:29:28 -08:00
k8s-merge-robot
990c0184be Merge pull request #16330 from mikedanese/deploy-ptr
Auto commit by PR queue bot
2015-11-02 20:41:34 -08:00
Jordan Liggitt
ddae749111 Read error from failed upgrade attempts 2015-11-02 22:39:58 -05:00
Janet Kuo
4d92268212 Better error handling for output format when "kubectl config view" 2015-11-02 16:25:52 -08:00
Huamin Chen
a31d23ea0e don't use ext4 mkfs options for other fs
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-10-30 11:53:10 -04:00
Sami Wagiaalla
1d352a16b8 Support volume relabling for pods which specify an SELinux label 2015-10-28 09:26:58 -04:00
Mike Danese
b0a41108af move deployment PodTemplate to be not a pointer 2015-10-28 00:13:40 -07:00
k8s-merge-robot
ec9b493647 Merge pull request #14639 from gmarek/hollow-proxy
Auto commit by PR queue bot
2015-10-27 18:22:38 -07:00
Daniel Smith
6219b50280 Merge pull request #16160 from kargakis/windows-fixes-for-edit
edit: Windows fixes
2015-10-27 15:44:26 -07:00
gmarek
5a4e4d4d57 Add a HollowProxy to the HollowNode. 2015-10-27 18:23:29 +01:00
Daniel Smith
fcd99461ff Merge pull request #16286 from liggitt/wsstream_cpu
Avoid CPU hotloop on client-closed websocket
2015-10-26 17:19:20 -07:00
Daniel Smith
b07dd73f26 Merge pull request #16053 from saad-ali/attachDetachMutextFix
Fix GCE Cloud/Attach/Detach stability issues
2015-10-26 13:05:27 -07:00
Jordan Liggitt
85379b12ca Avoid CPU hotloop on client-closed websocket 2015-10-26 14:04:16 -04:00
k8s-merge-robot
275e978b90 Merge pull request #16241 from smarterclayton/fix_flake_stream
Auto commit by PR queue bot
2015-10-26 02:54:47 -07:00
k8s-merge-robot
4f17b4b39c Merge pull request #15961 from ncdc/stream-protocol-negotiation
Auto commit by PR queue bot
2015-10-25 07:26:41 -07:00
Clayton Coleman
f79c74e311 Make util/wsstream/stream_test.go not flaky
It's hard to manage connection buffers in a deterministic test, ensure
that the error is always consistent and the output is always a subset
of the input
2015-10-24 15:47:57 -04:00
kargakis
73713ce268 edit: Windows fixes
Contains the following fixes for Windows users of kubectl edit:
* Defaults to notepad as the default Windows editor
* Uses CRLF line endings
* Ensures a file lock is freed
2015-10-24 17:06:49 +02:00
saadali
19115b2a22 Fix GCE Cloudprovider waitForOp bug and make GCE attach/detach atomic operations. 2015-10-23 11:58:56 -07:00
Andy Goldstein
6fddb0e83a Add httpstream.Handshake unit test 2015-10-23 14:09:41 -04:00
Paul Morie
3cd12f5e05 FSGroup implementation 2015-10-22 16:40:59 -04:00
Andy Goldstein
ff9883d9ec Address code review comments 2015-10-21 21:53:51 -04:00
Andy Goldstein
3d1cafc2c3 Add streaming subprotocol negotiation
Add streaming subprotocol negotiation for exec, attach, and port
forwarding. Restore previous (buggy) exec functionality as an
unspecified/unversioned subprotocol so newer kubectl clients can work
against 1.0.x kubelets.
2015-10-21 21:53:51 -04:00
Huamin Chen
3b14135cad mount returns more verbose message upon error
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-10-21 11:52:02 -04:00
eulerzgy
f8f9afb874 alias local packagename for pkg/util/errors 2015-10-18 09:37:46 +08:00
Cesar Wong
b56d474110 Proxy: do not send X-Forwarded-Host or X-Forwarded-Proto with an empty value 2015-10-16 13:09:51 -04:00
k8s-merge-robot
a3f2ba2e34 Merge pull request #11694 from ncdc/add-spdy-proxy-support
Auto commit by PR queue bot
2015-10-15 06:56:15 -07:00
k8s-merge-robot
130e6a7a4d Merge pull request #15468 from feiskyer/volume-typo-error
Auto commit by PR queue bot
2015-10-15 05:08:33 -07:00
Wojciech Tyczynski
647aa1bc8c Unify per-resource List for unversioned client 2015-10-14 08:37:57 +02:00
Dawn Chen
535246f364 Merge pull request #15396 from derekwaynecarr/kernel_flags
Ensure panic_on_oom disabled
2015-10-13 10:24:50 -07:00
derekwaynecarr
0ec36ae210 Ensure panic_on_oom disabled 2015-10-13 11:24:32 -04:00
Dawn Chen
00eb2e7bfc Merge pull request #15267 from nikhiljindal/deploymentRCSelector
Deployment: Fixing the selector for new RC created by deployment
2015-10-12 14:40:30 -07:00