k8s-merge-robot
dfb400e2e9
Merge pull request #15268 from caesarxuchao/fix-14126
...
Auto commit by PR queue bot
2015-10-13 19:30:17 -07:00
k8s-merge-robot
8959e0cc03
Merge pull request #15509 from bgrant0607/labels
...
Auto commit by PR queue bot
2015-10-13 19:04:15 -07:00
Janet Kuo
b9c8b76b6b
address comments
2015-10-13 18:48:27 -07:00
Janet Kuo
f39fe2056d
Keep Flatten() and format output earlier in kubectl get
2015-10-13 18:48:27 -07:00
Chao Xu
b443f1264c
Use PATCH instead of PUT when update events
2015-10-13 17:12:09 -07:00
Dawn Chen
0e0ae670ad
Merge pull request #15488 from caesarxuchao/experimental-extensions-client
...
Move from "Experimental" to "Extensions"
2015-10-13 16:54:37 -07:00
Dawn Chen
61a175f0bc
Merge pull request #15442 from smarterclayton/connect_responder
...
Connect should be passed a Responder interface
2015-10-13 16:51:47 -07:00
Janet Kuo
d7d24dc8d4
Remove sorting-printer's debug message
2015-10-13 16:48:58 -07:00
Chao Xu
be0754750f
add common fields validation before updaing a resource; make the repair of malformed update request flippable by a flag.
2015-10-13 16:28:32 -07:00
Dawn Chen
a529f6ccdf
Merge pull request #15512 from yujuhong/mv_pod_manager
...
kubelet: move PodManager and MirrorClient to a subpackage
2015-10-13 16:27:15 -07:00
Dawn Chen
d6c43f48d1
Merge pull request #15473 from feihujiang/removeShorthandForClientInKubectlVersion
...
Remove shorthand for client flag in kubectl version
2015-10-13 16:24:08 -07:00
Dawn Chen
892d287aa6
Merge pull request #14871 from abutcher/dns-switch
...
Refactor master service ports config
2015-10-13 16:21:03 -07:00
k8s-merge-robot
3753c98783
Merge pull request #15569 from ncdc/pod-ip-downward-api
...
Auto commit by PR queue bot
2015-10-13 16:08:21 -07:00
k8s-merge-robot
6d7d7080df
Merge pull request #14411 from feihujiang/removeUselessTodoNotes
...
Auto commit by PR queue bot
2015-10-13 15:49:12 -07:00
Andy Goldstein
7d02ea9bb7
Fix race condition for consuming podIP via downward API.
2015-10-13 16:39:11 -04:00
Chao Xu
a5f42698b3
fix unit test
2015-10-13 13:22:54 -07:00
Chao Xu
493d2b6920
grep sed Experimental()
2015-10-13 13:22:54 -07:00
Chao Xu
c4ee22b5b6
grep sed NewExperimental
2015-10-13 13:22:22 -07:00
Chao Xu
9a812bd0c5
grep sed ExperimentalClient
2015-10-13 13:22:22 -07:00
Chao Xu
9aa163aa88
grep sed ExperimentalInterface
2015-10-13 13:22:22 -07:00
Chao Xu
10917084df
experimental.go
2015-10-13 13:22:22 -07:00
Brian Grant
1bac67f9e2
Add DoesNotExist label operator.
2015-10-13 20:13:19 +00:00
Clayton Coleman
d4cdabf2fc
Connect should be passed a Responder interface
...
For connect handlers that need to respond with a structured error or
structured object, pass an interface that hides the details of writing
an object to the response (error or runtime.Object).
Example use case:
Connect handler that accepts a body input stream, which it streams to a
pod, and then returns a structured object with info about the pod it
just created.
2015-10-13 15:05:14 -04:00
Dawn Chen
e4c910a35a
Merge pull request #15362 from wojtek-t/refactor_test_objects
...
Refactor test objects to a separate package
2015-10-13 11:52:47 -07:00
Dawn Chen
0f22551e90
Merge pull request #15296 from anish/iscsi_fixes
...
Fix extraneous entries in iscsi path format, update README and sample json
2015-10-13 11:51:06 -07:00
Huamin Chen
340cfcc284
iscsi: if port is not provided, use default 3260 for target portal
...
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-10-13 13:31:59 -04: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
Anish Bhatt
6d9e9561e8
Fix extraneous entries in iscsi path format
...
Code comments currently claim the default iscsi mount path as
kubernetes.io/pod/iscsi/<portal>-iqn-<iqn>-lun-<id>, however actual
path being used is
kubernetes.io/iscsi/iscsi/<portal>-iqn-<iqn>-lun-<id>
This leads to ultimate path being similar to this :
kubernetes.io/iscsi/iscsi/...iqn-iqn...-lun-N
Both iscsi and iqn are repated twice for no reason, since "iqn" is
required by spec to be part of an iqn. This is also wrong on
multiple leves as actual allowed naming formats are :
iqn.2001-04.com.example:storage:diskarrays-sn-a8675309
eui.02004567A425678D
(RFC 3720 3.2.6.3)
and in the second case "iqn-eui" in the path would be misleading.
Change this to a more reasonable path of
kubernetes.io/iscsi/<portal>-<iqn>-lun-<id>
which also aligns up with how the /dev/by-path and sysfs entries
are created for iscsi devices on linux
* -- *
Update iSCSI README and sample json file
There seems to have been quite a skew in recent updates to these
files adding in wrong info or info that no longer lines up the
sample config with the README.
Fixed the following issues :
* Fix discrepancy in samples json using initiator iqn from previous
linked example as target iqn (which was just wrong)
* Generate sample output and README from the same json config provided.
* Remove recommendation to edit initiator name, this is not required
(open-iscsi warns against editing this manually and provides a utility
for the same)
* Update docker inspect command to one that works.
* Use separate LUNs for separate mount points instead of re-using.
2015-10-13 10:08:52 -07:00
derekwaynecarr
0ec36ae210
Ensure panic_on_oom disabled
2015-10-13 11:24:32 -04:00
k8s-merge-robot
de1a9e3167
Merge pull request #15430 from liggitt/fix_tls_config_for
...
Auto commit by PR queue bot
2015-10-13 06:29:16 -07:00
k8s-merge-robot
ae9f7c8ff8
Merge pull request #15426 from zhengguoyong/adjust_package_name_pkgcontroller
...
Auto commit by PR queue bot
2015-10-13 06:05:23 -07:00
Andrew Butcher
a2c97c7b0e
Ports could be in reverse order or otherwise.
2015-10-13 07:42:43 -04:00
Andrew Butcher
efd8e3c9c7
Additional service ports config for master service.
2015-10-13 07:42:40 -04:00
k8s-merge-robot
2dec0826f7
Merge pull request #15351 from caesarxuchao/fix-14584-1
...
Auto commit by PR queue bot
2015-10-13 02:19:43 -07:00
Wojciech Tyczynski
3d88a63b5d
Refactor test objects to a separate package
2015-10-13 10:15:11 +02:00
Yu-Ju Hong
2c76c55bb9
kubelet: move PodManager and MirrorClient to a subpackage
...
This change moves pod_manager.go and mirror_client.go to a separate package.
Also made necessary, minor changes to facilitate testing.
2015-10-12 16:34:18 -07:00
Dawn Chen
593878f1d2
Merge pull request #15350 from mikedanese/gls-api
...
add generalized label selector to the experimental API
2015-10-12 16:24:21 -07:00
Avesh Agarwal
8e4a8b7260
Addresses issue #6596 .
...
Removes ForTesting_ReferencesAllowBlankSelfLinks.
Fixes controller's persistentvolumes unit tests.
2015-10-12 19:21:48 -04:00
Dawn Chen
6fa8ceda60
Merge pull request #14536 from wulonghui/wulonghui-patch-3
...
Update rollback process
2015-10-12 16:04:59 -07:00
Dawn Chen
0901e5050d
Merge pull request #15371 from timothysc/etcd-contexts
...
New etcd client modifications part 1 (context support)
2015-10-12 16:04:13 -07:00
Dawn Chen
de22206929
Merge pull request #15309 from rootfs/no_remount
...
rbd: no more remount.
2015-10-12 16:02:53 -07:00
feihujiang
04aca8489f
Move LogREST into pod/rest package
2015-10-13 06:10:21 +08:00
Dawn Chen
2dd5b2b1d9
Merge pull request #14579 from derekwaynecarr/testing_rc_strategy
...
Add testing to ReplicationController strategy
2015-10-12 14:43:36 -07:00
Dawn Chen
6500fdebb2
Merge pull request #15096 from tummychow/req-getters
...
Add getters for labels.Requirement
2015-10-12 14:42:26 -07:00
Dawn Chen
3a45a5ca92
Merge pull request #15270 from brendandburns/custom
...
Fix the custom columns printer and the sorting printer for v1.List objects
2015-10-12 14:41:00 -07: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
Dawn Chen
782102d437
Merge pull request #15224 from liggitt/proxy_https
...
Allow specifying scheme when proxying
2015-10-12 14:39:21 -07:00
Mike Danese
3645d2f02b
add generalized label selector to the experimental API
2015-10-12 14:03:08 -07:00
Chao Xu
7817c2312c
fix rebase
2015-10-12 13:48:14 -07:00
Chao Xu
7554331185
update swagger
2015-10-12 13:34:07 -07:00
Chao Xu
4c9b88a3c2
combine types.go and unversioned.go
2015-10-12 13:34:07 -07:00
Chao Xu
910c1fd130
fix exceptions
2015-10-12 13:34:07 -07:00
Chao Xu
cbeb307a60
run grep-sed
2015-10-12 13:34:07 -07:00
Chao Xu
fe7b85f6ea
run goimports
2015-10-12 13:33:13 -07:00
Chao Xu
8654227c08
run grep-sed
2015-10-12 13:33:13 -07:00
Chao Xu
58ed8fd6fe
run goimports
2015-10-12 13:33:13 -07:00
Chao Xu
654ceb6e5a
run grep-sed
2015-10-12 13:33:13 -07:00
Chao Xu
29d3351b69
run goimports
2015-10-12 13:33:13 -07:00
Chao Xu
e3d984be27
run grep-sed
2015-10-12 13:33:13 -07:00
Chao Xu
cbb3deb182
run goimports
2015-10-12 13:31:45 -07:00
Chao Xu
50a2c4c643
grep-sed
2015-10-12 13:31:45 -07:00
Chao Xu
d1d10f8361
rename api to unversioned
2015-10-12 13:31:45 -07:00
Dawn Chen
5cab5f68e4
Merge pull request #15174 from yujuhong/syncloop_log
...
kubelet logs update source in the sync loop
2015-10-12 12:59:05 -07:00
Dawn Chen
075c3a2c71
Merge pull request #15061 from kargakis/fix-dry-run-in-expose
...
Fix dry run in expose
2015-10-12 12:53:04 -07:00
Dawn Chen
80bf32ce56
Merge pull request #14879 from tpounds/aws-cloud-cleanup
...
AWS Cloud Provider Cleanup
2015-10-12 12:25:52 -07:00
Dawn Chen
376438b69c
Merge pull request #15156 from feiskyer/kubelet/clear-infra-container
...
Delete infra container if network plugin fails
2015-10-12 11:48:02 -07:00
Dawn Chen
149ca1ec49
Merge pull request #14618 from smarterclayton/refactor_exec
...
Refactor exec to make attach useful without a client.Config
2015-10-12 11:44:34 -07:00
Dawn Chen
d6ee649cb8
Merge pull request #13722 from feihujiang/returnHttpErrorStatusWhenRetriveErrorStatus
...
APIServer should return error status
2015-10-12 11:42:53 -07:00
feihujiang
6290aee8b8
Remove shorthand for client flag in kubectl version
2015-10-13 02:02:54 +08:00
nikhiljindal
0829bcc8fc
Defaulting deployment selector and label
2015-10-12 11:00:29 -07:00
nikhiljindal
6f61326cdb
Fixing the selector for new RC created by deployment
2015-10-12 11:00:29 -07:00
Yu-Ju Hong
1c015560be
kubelet logs update source in the sync loop
...
This improve the clarity/debuggability.
2015-10-12 10:18:52 -07:00
derekwaynecarr
3c012db30f
Add status subresource to HorizontalPodAutoscaler
2015-10-12 11:27:56 -04:00
feisky
296e44cc08
Delete infra container if network plugin fails
2015-10-12 23:23:17 +08:00
Jordan Liggitt
1043126135
Refactor SSH tunneling, fix proxy transport TLS/Dial extraction
2015-10-12 11:17:01 -04:00
Jordan Liggitt
826459e51e
Allow specifying scheme when proxying
2015-10-12 11:16:53 -04:00
derekwaynecarr
22dd92f626
Add testing to ReplicationController strategy
2015-10-12 11:01:33 -04:00
Timothy St. Clair
2a2a2d79ff
New etcd client modifications part 1 (context support)
...
This commit plumbs contexts which are needed for the new client.
2015-10-12 08:45:49 -05:00
kargakis
ef36b3e4f6
deep-copies: Structs cannot be nil
2015-10-12 15:21:30 +02:00
feisky
8ad6b8f035
Fix typo error
2015-10-12 18:57:56 +08:00
gmarek
fb56afe4b4
HollowNode refactoring
2015-10-12 12:13:10 +02:00
eulerzgy
4ed5f9d240
adjust package name for pkg/controller directory
2015-10-12 09:51:27 +08:00
feihujiang
42c38030be
Fix describe pods doesn't show command and args
2015-10-12 05:29:52 +08:00
feihujiang
4f38e8a745
Let kubectl exec follow dash rule
2015-10-12 01:29:07 +08:00
k8s-merge-robot
8580804f77
Merge pull request #15138 from mattmoor/limited-beta-rewrite
...
Auto commit by PR queue bot
2015-10-10 11:41:34 -07:00
k8s-merge-robot
3bd7aafcd2
Merge pull request #15082 from samsabed/restartNever
...
Auto commit by PR queue bot
2015-10-10 11:19:44 -07:00
k8s-merge-robot
688b7840c5
Merge pull request #14941 from caesarxuchao/fix-ServerAPIVersions
...
Auto commit by PR queue bot
2015-10-10 10:36:55 -07:00
k8s-merge-robot
02ec1fb33c
Merge pull request #13885 from smarterclayton/websocket_exec
...
Auto commit by PR queue bot
2015-10-10 09:52:01 -07:00
k8s-merge-robot
fa557f6101
Merge pull request #15409 from caesarxuchao/extension/v1beta1
...
Auto commit by PR queue bot
2015-10-10 09:03:43 -07:00
k8s-merge-robot
ef33001d16
Merge pull request #15429 from mikedanese/gc-fix
...
Auto commit by PR queue bot
2015-10-10 07:35:30 -07:00
kargakis
4b23bf602d
expose: Minor cleanup
2015-10-10 16:16:41 +02:00
kargakis
083c5bebbd
expose: --dry-run should dump the object
...
Also make some tests use --dry-run and compare generated objects
against expected
2015-10-10 16:15:17 +02:00
eulerzgy
8b174f7f33
adjust package name for pkg/cloudprovider
2015-10-10 16:44:54 +08:00
Jordan Liggitt
0ed6751456
Simplify TLSConfigFor, honor Insecure with client certs
2015-10-10 01:04:02 -04:00
k8s-merge-robot
615ae5b04a
Merge pull request #15335 from mikedanese/ds-cleanup
...
Auto commit by PR queue bot
2015-10-09 18:59:55 -07:00
Robert Bailey
bbe42664a7
Merge pull request #15158 from mesosphere/jdef-fix-flocker-unittest
...
MESOS: flocker unit test should clean up after itself
2015-10-09 17:48:02 -07:00
Alex Robinson
3bbfe48e0a
Merge pull request #15286 from a-robinson/ensure
...
Correctly support updates in EnsureTCPLoadBalancer for GCE.
2015-10-09 17:34:40 -07:00
Mike Danese
66ddde9fea
use an aggressive delete option when deleting pods in the pod garbage collector
2015-10-09 17:15:00 -07:00
Mike Danese
392f33e417
Merge pull request #14054 from mikedanese/register-master
...
register master kubelet with the apiserver
2015-10-09 17:12:37 -07:00
Chao Xu
53eab7ef1e
gofmt
2015-10-09 16:04:43 -07:00
Chao Xu
7c9f4cc42f
experimental. -> extensions.
2015-10-09 15:49:10 -07:00
Chao Xu
2816eb0f8a
run update-generated-conversions
2015-10-09 15:42:00 -07:00
Chao Xu
4b7344919b
manual fix package name
2015-10-09 15:41:29 -07:00
Chao Xu
3b178542b6
manual fix of v1beta1/conversions.go
2015-10-09 15:36:08 -07:00
Chao Xu
a87db8834f
manual fix testapi
2015-10-09 15:30:25 -07:00
Chao Xu
c9ad3e20b5
_experimental_ -> _extenstions_
2015-10-09 15:17:38 -07:00
Chao Xu
f3caff2a79
testapi.Experimental -> testapi.Extensions
2015-10-09 15:15:35 -07:00
Chao Xu
80f213c376
"experimental" -> "extensions"
2015-10-09 15:14:03 -07:00
Chao Xu
138eeaef8c
v1alpa1->v1beta1
2015-10-09 15:11:01 -07:00
Chao Xu
347d53ff2e
v1alpa1->v1beta1
2015-10-09 15:06:28 -07:00
Chao Xu
67f316dd19
apis/experimental->apis/extensions
2015-10-09 15:04:41 -07:00
Chao Xu
0b7e3c7dd1
experimental/v1alpha1->extensions/v1beta1
2015-10-09 15:01:33 -07:00
Chao Xu
983f056514
move folders
2015-10-09 14:57:44 -07:00
feihujiang
8781fc73c1
Server should return error status when retrive error status from other location
2015-10-10 05:26:15 +08:00
Alex Robinson
29c607bed6
Only use static IPs for GCE forwarding rules while creating or updating
...
them, not in the steady state once they've been created. This makes it
much less likely that users will run into static IP quota issues.
Also add slightly more parallelism to the deletion of load balancers
now that I realize the static IPs can be deleted in parallel with
forwarding rules :)
2015-10-09 19:03:57 +00:00
Yifan Gu
ba68b095a9
kubelet/rkt: enable getting logs for exited pods.
2015-10-09 12:01:34 -07:00
Clayton Coleman
3f1b18fbba
Refactor exec to make attach useful without a client.Config
...
The current executor structure is too dependent on client.Request
and client.Config. In order to do an attach from the server, it needs
to be possible to create an Executor from crypto/tls#TLSConfig and to
bypassing having a client.Request.
Changes:
* remotecommand.spdyExecutor - handles upgrading a request to SPDY and getting a connection
* remotecommand.NewAttach / New - moved to exec / portforward / attach since they handle requests
* Remove request.Upgrade() - it's too coupled to SPDY, and can live with the spdyExecutor
* Add request.VersionedParams(runtime.Object, runtime.ObjectConvertor) to handle object -> query transform
2015-10-09 14:36:46 -04:00
Clayton Coleman
9136d49dc9
400 HTTP should not result in a stack trace printed
2015-10-09 14:33:41 -04:00
Clayton Coleman
554ce403e4
Prevent attach from being served by default via the proxy
2015-10-09 14:33:40 -04:00
Clayton Coleman
363b616908
Expose exec and logs via WebSockets
...
Not all clients and systems can support SPDY protocols. This commit adds
support for two new websocket protocols, one to handle streaming of pod
logs from a pod, and the other to allow exec to be tunneled over
websocket.
Browser support for chunked encoding is still poor, and web consoles
that wish to show pod logs may need to make compromises to display the
output. The /pods/<name>/log endpoint now supports websocket upgrade to
the 'binary.k8s.io' subprotocol, which sends chunks of logs as binary to
the client. Messages are written as logs are streamed from the container
daemon, so flushing should be unaffected.
Browser support for raw communication over SDPY is not possible, and
some languages lack libraries for it and HTTP/2. The Kubelet supports
upgrade to WebSocket instead of SPDY, and will multiplex STDOUT/IN/ERR
over websockets by prepending each binary message with a single byte
representing the channel (0 for IN, 1 for OUT, and 2 for ERR). Because
framing on WebSockets suffers from head-of-line blocking, clients and
other server code should ensure that no particular stream blocks. An
alternative subprotocol 'base64.channel.k8s.io' base64 encodes the body
and uses '0'-'9' to represent the channel for ease of use in browsers.
2015-10-09 14:33:40 -04:00
Yu-Ju Hong
ed382ec0a0
Merge pull request #15386 from yujuhong/rename_kubelettypes
...
Rename imported package local name kubeletTypes to kubetypes
2015-10-09 11:08:30 -07:00
Alex Robinson
2a5a121505
Fix small comments.
2015-10-09 17:38:55 +00:00
k8s-merge-robot
96a2a95dee
Merge pull request #15276 from yifan-gu/rkt_probe
...
Auto commit by PR queue bot
2015-10-09 10:28:08 -07:00
Yu-Ju Hong
a3e60cc32e
Rename imported package local name kubeletTypes to kubetypes
...
According to the naming guidelines, package name should not include mixedCaps.
2015-10-09 10:24:31 -07:00
Trevor Pounds
5d5013a722
Remove unreachable panic statement.
...
The availability zone always exist since it is retrieved
from the instance's EC2 metadata service during cloud
provider construction.
2015-10-09 10:19:56 -07:00
Trevor Pounds
4407ca9a64
Remove unused method.
2015-10-09 10:19:56 -07:00
Trevor Pounds
f71533ce20
Remove unnecessary describe VPC call.
...
The external DescribeVPCs call is unnecessary since only the VPC ID
is used and it is retrieved from the EC2 metadata service.
2015-10-09 10:19:56 -07:00
Trevor Pounds
326dd7c1c0
Remove private struct field. It is only used at construction.
2015-10-09 10:19:56 -07:00
k8s-merge-robot
ac6122c562
Merge pull request #15274 from timstclair/results-manager
...
Auto commit by PR queue bot
2015-10-09 10:05:15 -07:00
k8s-merge-robot
273c9ce503
Merge pull request #15177 from timstclair/restart-policy
...
Auto commit by PR queue bot
2015-10-09 09:41:22 -07:00
k8s-merge-robot
2f90f660c1
Merge pull request #11368 from hurf/ctl_convert
...
Auto commit by PR queue bot
2015-10-09 08:57:30 -07:00
k8s-merge-robot
45cca144cb
Merge pull request #15167 from yujuhong/sources_seen
...
Auto commit by PR queue bot
2015-10-09 08:35:40 -07:00
Mike Danese
6fe7edc5ea
simplify DaemonReaper by using NodeSelector
2015-10-09 08:17:49 -07:00
k8s-merge-robot
44699f5852
Merge pull request #15238 from mpuncel/mpuncel/cleanup
...
Auto commit by PR queue bot
2015-10-09 08:12:17 -07:00
k8s-merge-robot
b793c3edf1
Merge pull request #14700 from liggitt/kubelet_authz
...
Auto commit by PR queue bot
2015-10-09 03:01:43 -07:00
k8s-merge-robot
538cf72208
Merge pull request #15051 from feiskyer/kubelet/garbage-collection
...
Auto commit by PR queue bot
2015-10-09 02:11:47 -07:00
k8s-merge-robot
388159590d
Merge pull request #15014 from ncdc/gh14995-fix-wait-goroutine-leaks
...
Auto commit by PR queue bot
2015-10-09 00:51:46 -07:00
Jordan Liggitt
9d6b52881d
Add authentication/authorization interfaces to kubelet, always include /metrics with /stats
2015-10-09 03:10:00 -04:00
k8s-merge-robot
0fb7c80edf
Merge pull request #14888 from JanetKuo/kubectl-get-list
...
Auto commit by PR queue bot
2015-10-09 00:03:01 -07:00
k8s-merge-robot
1f764fcd3f
Merge pull request #14726 from linzichang/validation-on-list
...
Auto commit by PR queue bot
2015-10-08 23:38:53 -07:00
k8s-merge-robot
d9c56eed26
Merge pull request #15107 from caesarxuchao/fix-14384
...
Auto commit by PR queue bot
2015-10-08 21:40:52 -07:00
Mike Danese
fa60bbe8e6
add flag to kubelet to ignore the cidr passed down by the apiserver on the master
2015-10-08 21:21:19 -07:00
k8s-merge-robot
e4faa5c411
Merge pull request #15200 from yujuhong/move_types
...
Auto commit by PR queue bot
2015-10-08 19:50:27 -07:00
hurf
e1b88c6942
Integrate convertion tool to kubectl
...
Added 'convert' subcommand to kubectl to convert config files
between different API versions.
2015-10-09 10:15:30 +08:00
k8s-merge-robot
86fdc3f85c
Merge pull request #15240 from mikedanese/job-fix-1
...
Auto commit by PR queue bot
2015-10-08 16:58:06 -07:00
k8s-merge-robot
79b70df747
Merge pull request #15273 from nikhiljindal/deploymentAPI
...
Auto commit by PR queue bot
2015-10-08 16:28:53 -07:00
Alex Robinson
429fa7a378
Correctly support updates in EnsureTCPLoadBalancer for GCE.
...
Previously we'd just tear everything down and recreate it, which makes
for a pretty bad experience because it causes downtime whenever the
service controller restarts and has to make sure everything is in the
desired state.
This adds more code than I'd prefer, but makes it much cleaner and more
organized than it was before, in my opinion. I didn't bother
parallelizing anything because it's complex enough as it is, right now.
It's consistently passing the existing e2es and worked when I tested
manually, but this could definitely use additional e2e tests and/or some
serious refactoring to make real unit tests feasible. I'll follow up
with one or two e2e tests that make sense (updating an LB or killing the
controller manager, perhaps).
2015-10-08 23:20:48 +00:00
feisky
fb04edea3a
Replace rkt --grace-period and --expire-prepared with gcPolicy.MinAge
2015-10-09 06:57:10 +08:00
feisky
d624c7de51
Pass the ContainerGCPolicy in Runtime.GarbageCollect
2015-10-09 06:57:10 +08:00
feisky
69867fb502
Refactor container gc tests
2015-10-09 06:57:09 +08:00
feisky
4c8a836260
Move original container gc to docker runtime
2015-10-09 06:57:09 +08:00
feisky
35cf8ab7d4
Use runtime instread of dockerclient in container gc
2015-10-09 06:54:38 +08:00
James DeFelice
a7c06e57ac
flocker unit test should clean up after itself
2015-10-08 22:40:36 +00:00
Yu-Ju Hong
098ab05997
kubelet: move common types to kubelet/types
...
This would faciliate tasks such as moving code in pkg/kubelet to sub packages.
2015-10-08 14:38:01 -07:00
Yifan Gu
2c318bfee2
kubelet/rkt: return util/exec.ExitError if exec probing fails.
...
This enables the prober to return probe.Failure instead of
probe.Unknown.
2015-10-08 14:14:01 -07:00
Robert Bailey
f828c9a49c
Merge pull request #15185 from yujuhong/fix_annotation
...
kubelet: fix mirror pod creation/deletion
2015-10-08 14:07:45 -07:00
nikhiljindal
119150fd33
Updating API comments
2015-10-08 13:55:45 -07:00
Robert Bailey
be3fc9007a
Merge pull request #14626 from jackgr/apply_annotation
...
Add calls to set annotation for kubectl apply
2015-10-08 12:44:42 -07:00
Robert Bailey
49d6c86eb7
Merge pull request #14621 from jackgr/kubectl_apply
...
Add the kubectl apply command
2015-10-08 12:44:32 -07:00
Robert Bailey
f9364da306
Merge pull request #13820 from jackgr/apply_patch
...
Add method to apply strategic merge patch
2015-10-08 12:44:13 -07:00
k8s-merge-robot
8982776b54
Merge pull request #15237 from mikedanese/ds-bug-3
...
Auto commit by PR queue bot
2015-10-08 10:50:59 -07:00
Huamin Chen
de41fd3960
rbd: no more remount.
...
remount was originally needed to ensure rw/ro is set correctly. There is no such need since mount is using exec interface
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-10-08 13:50:41 -04:00
Mike Danese
73f7242027
rename JobStatus.Unsuccessful => JobStatus.Failed, JobStatus.Successful => JobStatus.Succeeded
2015-10-08 10:41:22 -07:00
jiangyaoguo
af46c69553
Distinguish image registry unavailable and pull failure
2015-10-09 01:16:31 +08:00
Piotr Szczesniak
952a058357
Merge pull request #15153 from wojtek-t/common_resync_period
...
Extend resyncPeriods in controllers in production.
2015-10-08 14:07:04 +02:00
k8s-merge-robot
f754f05bd6
Merge pull request #15257 from nikhiljindal/deploymentScaleDown
...
Auto commit by PR queue bot
2015-10-08 04:36:59 -07:00
Piotr Szczesniak
708102af36
Merge pull request #14714 from mqliang/node-misleading
...
Eliminate misleading code
2015-10-08 13:31:04 +02:00
Piotr Szczesniak
6217869085
Merge pull request #14672 from derekwaynecarr/rc_status
...
Add replication controller status subresource
2015-10-08 13:30:29 +02:00
Piotr Szczesniak
726f1e17c4
Merge pull request #14173 from runningwild/PR0
...
If an isolator's request is nil, populate it with the limit and vice versa
2015-10-08 13:07:08 +02:00
Piotr Szczesniak
95b293c615
Merge pull request #13516 from samsabed/backoff-image-reason
...
backoff image pulling on failure
2015-10-08 13:05:32 +02:00
Piotr Szczesniak
dcfc63e181
Merge pull request #15133 from mqliang/ErrMsg
...
Use string constant instead of duplicating
2015-10-08 11:41:19 +02:00
Wojciech Tyczynski
df79026b79
Extend resyncPeriods in controllers in production.
2015-10-08 09:10:09 +02:00
k8s-merge-robot
0e5478efae
Merge pull request #15269 from brendandburns/apis
...
Auto commit by PR queue bot
2015-10-07 21:38:38 -07:00
wulonghui
cbd10dbf36
Update rollback process
2015-10-08 10:49:09 +08:00
Brendan Burns
51b0def44f
Fix the custom column and sorting printers for v1.List
2015-10-07 19:42:19 -07:00
k8s-merge-robot
04f055c48d
Merge pull request #15258 from saad-ali/repro15106
...
Auto commit by PR queue bot
2015-10-07 19:23:10 -07:00
k8s-merge-robot
4cb021f5df
Merge pull request #15254 from bprashanth/healthchecks
...
Auto commit by PR queue bot
2015-10-07 18:12:45 -07:00
jackgr
ef3f64612e
Add calls to set annotation for kubectl apply
2015-10-07 17:15:56 -07:00
jackgr
703a3e19aa
Add the kubectl apply command.
2015-10-07 17:14:51 -07:00
jackgr
ddda379b1b
Add method to apply strategic merge patch.
2015-10-07 17:14:11 -07:00
Tim St. Clair
9b8bc50357
Generalize readinessManager to handle liveness
2015-10-07 16:40:30 -07:00
Chao Xu
efe7d30a64
address lavalamp's comments
2015-10-07 16:19:22 -07:00
nikhiljindal
b0b1a35aae
Adding logic to scale down new RC
2015-10-07 15:53:47 -07:00
Brendan Burns
deb3514c02
Fix ExtractList to work with v1.List
2015-10-07 15:48:38 -07:00
Dan Williams
823242d9a8
Add some more debugging to the CNI testcase
...
Let's attempt to find out why it's failing some small percentage of the time.
2015-10-07 17:24:44 -05:00
Janet Kuo
aa307da594
Merge pull request #15124 from timstclair/container-id
...
Use strong type for container ID
2015-10-07 15:15:16 -07:00
Mike Danese
e5fe0c0c6e
revise meaning of DaemonsSpecStatus.CurrentNumberScheduled
2015-10-07 14:29:34 -07:00
saadali
1bb4809841
Prevent GCE PD attach code from succeding if disk failed to attach.
2015-10-07 14:07:33 -07:00
Mike Danese
591d7c42a4
Merge pull request #15198 from mikedanese/ds-bug-2
...
include name match in mischeduled check in daemonset controller
2015-10-07 13:54:42 -07:00
Brendan Burns
3e6b6d9cfb
Merge pull request #15242 from mikedanese/sw-fix
...
fix master swagger spec
2015-10-07 13:34:14 -07:00
Prashanth Balasubramanian
02aa5e183c
Add HTTPHealthCheck crud operations to cloudprovider library.
2015-10-07 13:22:56 -07:00
Nikhil Jindal
c5d534e4f6
Merge pull request #15159 from ironcladlou/deployment-controller-tests
...
Add unit tests for deployment controller
2015-10-07 13:20:30 -07:00
derekwaynecarr
544b453e31
Add replication controller status subresource
2015-10-07 14:39:33 -04:00
Tim St. Clair
551eff63b8
Use strong type for container ID
...
Change all references to the container ID in pkg/kubelet/... to the
strong type defined in pkg/kubelet/container: ContainerID
The motivation for this change is to make the format of the ID
unambiguous, specifically whether or not it includes the runtime
prefix (e.g. "docker://").
2015-10-07 10:58:05 -07:00
Mike Danese
0d9d81ff57
fix master swagger spec
2015-10-07 10:23:22 -07:00
Michael Puncel
4921a62f3a
Fix comment typo and remove unnecessary line
2015-10-07 09:53:27 -07:00
Dawn Chen
092dddd12c
Merge pull request #15087 from derekwaynecarr/kernel_overcommit
...
Kubelet sets kernel overcommit_memory flag
2015-10-07 09:47:47 -07:00
k8s-merge-robot
b0d748efb0
Merge pull request #14461 from JanetKuo/kubectl-api-group-cmd
...
Auto commit by PR queue bot
2015-10-07 07:29:10 -07:00
Derek Carr
87fe1f4af8
Merge pull request #13939 from pmorie/pod-sc-minimal
...
Add PodSecurityContext and backward compatibility tests
2015-10-07 09:56:58 -04:00
Filip Grzadkowski
fa97035389
Merge pull request #15063 from mwielgus/cluster_autoscaler_config
...
Experimental Cluster Autoscaler configuration object
2015-10-07 13:48:52 +02:00
Filip Grzadkowski
c0532a432a
Revert "Allow specifying scheme when proxying"
2015-10-07 13:02:35 +02:00
Sam Abed
fdf712cd84
back-off image pull on failure
...
Signed-off-by: Sam Abed <samabed@gmail.com>
2015-10-07 21:12:42 +11:00
Marcin Wielgus
b9f13ded6f
Experimental Cluster Autoscaler configuration object
2015-10-07 12:01:20 +02:00
k8s-merge-robot
348f0ca335
Merge pull request #14686 from yifan-gu/rkt_gc
...
Auto commit by PR queue bot
2015-10-07 00:15:48 -07:00
k8s-merge-robot
eea83ee930
Merge pull request #14722 from mqliang/pod-sort
...
Auto commit by PR queue bot
2015-10-06 23:32:03 -07:00
k8s-merge-robot
61b3fecb1a
Merge pull request #14876 from liggitt/proxy_https
...
Auto commit by PR queue bot
2015-10-06 22:29:38 -07:00
k8s-merge-robot
5979655da1
Merge pull request #14949 from brendandburns/flakes10
...
Auto commit by PR queue bot
2015-10-06 21:01:33 -07:00
Sam Abed
e20d599ace
Apply pod restart policy to Containers that fail to start. Fix Reason and Message for succeeding or failing containers
...
Signed-off-by: Sam Abed <samsabed@gmail.com>
2015-10-07 12:20:28 +11:00
Mike Danese
d601bfa1bb
fix bug in daemonset
2015-10-06 18:18:18 -07:00
Paul Morie
123a5bd465
Merge pull request #13978 from jayunit100/api_server_append_13152
...
NodePort option: Allowing for apiservers behind load-balanced endpoint.
2015-10-06 20:09:03 -04:00
Mike Danese
5a441d4ad1
include name match in mischeduled check in daemonset controller
2015-10-06 17:01:54 -07:00
Matt Moore
eeb4eeb17c
Move pause and fluentd-elasticsearch to GCR v2.
...
This scopes down the initially ambitious PR:
https://github.com/kubernetes/kubernetes/pull/14960 to replace just
`pause` and `fluentd-elasticsearch` to come through `beta.gcr.io`.
The v2 versions have been pushed under new tags, `pause:2.0` and
`fluentd-elastisearch:1.12`.
NOTE: `beta.gcr.io` will still serve images using v1 until they are repushed with v2. Pulls through `gcr.io` will still work after pushing through `beta.gcr.io`, but will be served over v1 (via compat logic).
2015-10-06 16:39:07 -07:00
Yu-Ju Hong
53e65b0826
kubelet: fix mirror pod creation/deletion
...
When annotating the mirror pod, make a new copy of the annotations map from the
static pod, so that the change wouldn't be in the static pod.
2015-10-06 14:45:44 -07:00
Tim St. Clair
f67879eac7
Check pod RestartPolicy before restarting unhealthy containers
2015-10-06 13:17:45 -07:00
Janet Kuo
57388f9f94
Support kubectl group/resource name
2015-10-06 13:12:32 -07:00
Andy Goldstein
7999e72659
Fix potential goroutine leaks in pollers
2015-10-06 14:58:21 -04:00
derekwaynecarr
970c369f31
Kubelet sets kernel overcommit_memory flag
2015-10-06 14:28:46 -04:00
Yu-Ju Hong
5abdfcdfe6
kubelet: fix all sources ready condition
...
The current implementation considers a source seen when it receives a SET at
kubelet/config/config.go. However, the main kubelet sync loop may not have
received the pod update from the source via the channel. This change ensures
that kubelet would consider all sources are ready only after the sync loop has
seen all the sources.
2015-10-06 10:13:04 -07:00
Dan Mace
007ca63c5b
Add unit tests for deployment controller
...
Add some minimal unit tests for the deployment controller.
2015-10-06 10:35:28 -04:00
k8s-merge-robot
f0fdfd96a0
Merge pull request #15101 from liggitt/kubelet_bearer_token
...
Auto commit by PR queue bot
2015-10-06 04:51:32 -07:00
Zichang Lin
755d740fed
Add validate support for list kind
2015-10-06 18:42:36 +08:00
Michael Schmidt
48776f3feb
Fix for Invalidation of DeviceMapping-Cache
2015-10-06 09:58:04 +02:00
hzliangmingqiang
b1412997d6
Sort the daemon pods by creation time
2015-10-06 14:09:42 +08:00
k8s-merge-robot
239790a045
Merge pull request #15110 from mikedanese/ds-reaper-fix
...
Auto commit by PR queue bot
2015-10-05 22:28:51 -07:00
mqliang
3c15fc0901
use string constant instead of duplicating
2015-10-06 10:49:17 +08:00
Jordan Liggitt
b9ba3bd7c2
Allow specifying scheme when proxying
2015-10-05 22:12:10 -04:00
hzliangmingqiang
4b79572f8e
eliminate misleading code
2015-10-06 09:13:10 +08:00
Paul Morie
227dd82119
Add PodSecurityContext and backward compatibility tests
2015-10-05 21:05:27 -04:00
mqliang
22eac85190
write log when two replication controller overlap
2015-10-06 09:01:05 +08:00
Alex Robinson
608244fbb0
Merge pull request #14044 from rootfs/rbd_enhancement
...
Multiple rbd volume enhancements
2015-10-05 17:36:11 -07:00
jayvyas
be2a2ec3cd
NodePort apiserver option for exposing KubernetesMasterService NodePort on startup.
2015-10-05 20:34:25 -04:00
Alex Robinson
cae6b7cf61
Merge pull request #14607 from erictune/jobs-get-fix
...
kubectl get jobs printing fix
2015-10-05 17:03:25 -07:00
Alex Robinson
99936383b0
Merge pull request #15079 from gmarek/fix-kubemark
...
Turn on smarter FakeDockerClient in HollowNode.
2015-10-05 17:00:49 -07:00
Alex Robinson
7a33a4b0e9
Merge pull request #14296 from technosophos/master
...
Fix documentation in clientcmd/doc.go.
2015-10-05 16:31:09 -07:00
Alex Robinson
48c6b7ea96
Merge pull request #14728 from kargakis/truncate-inherited-service-names
...
expose: Truncate service names
2015-10-05 16:29:14 -07:00
Alex Robinson
32b9d8aad0
Merge pull request #14823 from wojtek-t/move_events_to_separate_etcd
...
Move events to a separate etcd instance
2015-10-05 16:28:04 -07:00
Alex Robinson
d481ba7547
Merge pull request #14964 from a-robinson/lbdelete
...
Unrevert #14608 and decrease the latency of GCE load balancer deletions
2015-10-05 16:26:07 -07:00
Alex Robinson
90a9e01a68
Delete GCE external load balancer components in parallel.
...
This will cut down on the amount of time it takes to delete an external
load balancer, which should reduce the likelihood of resource leaks when
clusters are deleted.
2015-10-05 22:43:25 +00:00
Alex Robinson
2feb54ce40
Add utility function for errors that runs multiple functions that errors
...
as goroutines, blocks until they're all done executing, and combines the
results into an Aggregate error.
2015-10-05 22:43:19 +00:00
Alex Robinson
cfdde6f7d4
Fix PR for maintaining a GCE IP independently of the forwarding rule.
...
This code was in rough shape, so I've fixed the issues with the original
PR as well as a few other changes:
1. Clarify the error messages related to the "gce Addresses" to make it
clear we're talking about static IP addresses
2. Fix the bug in the original PR, which was a nil pointer dereference
from passing op to waitForRegionOp when the address doesn't exist.
3. Rearrange the steps of EnsureTCPLoadBalancerDeleted to be the reverse
of EnsureCreated, which mostly just seems like good practice to me.
This is also supported by the following two bugs I found :(
4. Fix an independent bug of returning too early if the target pool
doesn't exist, effectively stranding the firewall. This was likely
introduced because target pools used to be the last thing deleted,
so it was previously safe to return there.
5. Fix an independent bug of not returning an error waiting for the
target pool to be deleted failed. This was very possibly causing
target pool leaks in our e2e tests. This was similarly due to
assuming that the target pool was the last thing deleted in the
function, then having the firewall deletion stuck in after it.
2015-10-05 22:43:15 +00:00
Alex Robinson
52b8c40bfa
Merge pull request #14758 from deads2k/fix-patch
...
make patch handle conflicts gracefully
2015-10-05 14:41:51 -07:00
Yifan Gu
b42d2311c3
kubelet/rkt: add container/image gc for rkt.
2015-10-05 14:22:19 -07:00
Mike Danese
334b551166
use unconditional update and check error of update in DaemonSet reaper
2015-10-05 14:15:19 -07:00
Alex Robinson
2218ad0f86
Merge pull request #14845 from derekwaynecarr/kubectl_besteffort
...
Fix missing display of BestEffort resources in kubectl describe
2015-10-05 13:40:03 -07:00
Alex Robinson
d8120f5425
Merge pull request #14221 from timstclair/readiness-workers
...
Refactor readiness probing
2015-10-05 13:26:54 -07:00
Chao Xu
d1cb0b7a7a
returns StatusError in GetAllEventsSinceThreadUnsafe
2015-10-05 13:24:54 -07:00
Alex Robinson
d578e7738d
Merge pull request #14242 from simonswine/fix_mulitple_subnets_per_az
...
aws: fixes ELB creation with multiple subnets per AZ
2015-10-05 13:06:19 -07:00
Steve Milner
6439486512
url.URL.Host now canonical before use in spdy roundtripper.
2015-10-05 16:05:36 -04:00
Alex Robinson
53067d0978
Merge pull request #14896 from davidopp/master
...
Fix race condition in DaemonSet controller. Fixes #14693 .
2015-10-05 12:53:23 -07:00
gmarek
22b318fc5c
Turn on smarter FakeDockerClient in HollowNode.
2015-10-05 21:36:54 +02:00
Jordan Liggitt
120e87277a
Add bearer token support for kubelet client config
2015-10-05 15:29:10 -04:00
tummychow
b9ff3a0741
Add getters for labels.Requirement
...
Useful for some label backends that need access to the fields.
2015-10-05 11:48:20 -07:00
Janet Kuo
1f35cf2e5b
Fix get with List
2015-10-05 11:44:57 -07:00
Alex Robinson
b1461be2e4
Merge pull request #14982 from Huawei-PaaS/fixed_typos_for_proxy
...
Fixed some typos for pkg/proxy
2015-10-05 11:40:03 -07:00
deads2k
05e84fafbe
move HasConflicts to shareable location
2015-10-05 14:37:57 -04:00
deads2k
41e2a4c40f
make patch handle conflicts gracefully
2015-10-05 14:37:57 -04:00
Alex Robinson
8f9feb40b9
Merge pull request #14867 from tummychow/no-fielderror-glog
...
Remove glog dependency from fielderrors
2015-10-05 11:32:50 -07:00
Alex Robinson
0920a979c7
Merge pull request #15029 from caesarxuchao/fix-14622
...
fix label selector parser in case no value (or only whitespaces) is specified after the key
2015-10-05 11:24:15 -07:00
Alex Robinson
c1012d8c93
Merge pull request #14882 from ArtfulCoder/logformat
...
fixed log format
2015-10-05 10:50:30 -07:00
derekwaynecarr
f062a29e34
Fix missing display of BestEffort resources in kubectl describe
2015-10-05 13:38:04 -04:00
Alex Robinson
9419bfb402
Merge pull request #14937 from krousey/flaky_job_controller
...
Removing custom test timeout
2015-10-05 10:34:34 -07:00
Eric Tune
b4ca15dfce
Print namespace when asked for job.
...
Also print multiple containers if there happen to be multiple.
2015-10-05 10:32:14 -07:00
Alex Robinson
7c5b8f6a58
Merge pull request #14985 from deads2k/fix-anon-struct
...
fix patch for anonymous struct fields
2015-10-05 10:29:59 -07:00
Alex Robinson
66cbacc9c1
Merge pull request #14967 from liggitt/set_transport_defaults
...
Add util to set transport defaults
2015-10-05 10:29:32 -07:00
Alex Robinson
f8c9301658
Merge pull request #15076 from jszczepkowski/hpa-e2e
...
Improved logging for horizontal pod autoscaler.
2015-10-05 09:57:13 -07:00
Marcin Wielgus
5adeb00583
Merge pull request #15048 from Huawei-PaaS/fixed_typos_for_cloudprovider
...
Fixed some typos and improved comments for cloudprovider
2015-10-05 17:49:15 +02:00
Jerzy Szczepkowski
f8b18b0a4c
Improved logging for horizontal pod autoscaler.
...
Improved logging for horizontal pod autoscaler. Disabled redundant e2e test.
2015-10-05 16:26:14 +02:00
Wojciech Tyczynski
0f1cbe37a4
Events in separate etcd
2015-10-05 10:54:24 +02:00
kargakis
989806d9ec
expose: Truncate service names
...
In case the generated service inherits the exposed object's name (the user didn't specify
a name via --name), truncate it up to the maximum length for a valid service name
2015-10-05 10:39:42 +02:00
David Oppenheimer
723cb73057
Address reviewer comments.
2015-10-03 23:30:46 -07:00
qiaolei
919add69be
Fixed some typos and improved comments
2015-10-03 22:43:10 +08:00
k8s-merge-robot
0291668748
Merge pull request #14761 from mikedanese/job-doc-fix
...
Auto commit by PR queue bot
2015-10-02 18:08:14 -07:00
CJ Cullen
49e204cd1e
Merge pull request #14566 from erictune/job-e2e
...
Job e2e
2015-10-02 16:59:14 -07:00
CJ Cullen
1b841d26e7
Merge pull request #14996 from thockin/wait-poll
...
add wait.PollImmediate() and retool wait tests
2015-10-02 16:39:42 -07:00
Chao Xu
9be421c053
fix label selector parser in case no value (or only whitespaces) is specified after the key
2015-10-02 16:17:56 -07:00
Tim Hockin
6260759c51
Merge pull request #14328 from agonzalezro/flocker
...
Add flocker volume plugin
2015-10-02 16:02:18 -07:00
Tim St. Clair
52ece0c34e
Refactor readiness probing
...
Each container with a readiness has an individual go-routine which
handles periodic probing for that container. The results are cached, and
written to the status.Manager in the pod sync path.
2015-10-02 15:37:10 -07:00
k8s-merge-robot
1b653ce1b8
Merge pull request #14889 from liggitt/honor-skip-validate
...
Auto commit by PR queue bot
2015-10-02 14:29:55 -07:00
deads2k
c4ca26f84d
fix patch for anonymous struct fields
2015-10-02 16:32:37 -04:00
k8s-merge-robot
7007481f00
Merge pull request #14917 from nikhiljindal/deploymentController
...
Auto commit by PR queue bot
2015-10-02 13:18:49 -07:00
k8s-merge-robot
13382b30c4
Merge pull request #14950 from yujuhong/sync_type
...
Auto commit by PR queue bot
2015-10-02 12:39:00 -07:00
k8s-merge-robot
1d73382b83
Merge pull request #14958 from madhusudancs/fix-kubelet-messages
...
Auto commit by PR queue bot
2015-10-02 11:55:42 -07:00
Tim Hockin
1973d233e8
add wait.PollImmediate() and retool wait tests
2015-10-02 11:44:26 -07:00
k8s-merge-robot
0154f1b309
Merge pull request #14407 from jimmidyson/prometheus-version-metrics
...
Auto commit by PR queue bot
2015-10-02 10:43:24 -07:00
k8s-merge-robot
e330b1197e
Merge pull request #14459 from bprashanth/l7_ingress_resource_refactor
...
Auto commit by PR queue bot
2015-10-02 10:20:48 -07:00
k8s-merge-robot
cc34aee8ab
Merge pull request #14526 from saad-ali/issue13751GCEPollOps
...
Auto commit by PR queue bot
2015-10-02 09:46:28 -07:00
qiaolei
718d7df276
Fixed some typos
2015-10-03 00:33:35 +08:00
k8s-merge-robot
333eaf5893
Merge pull request #14710 from liggitt/authz_attr
...
Auto commit by PR queue bot
2015-10-02 09:18:13 -07:00
k8s-merge-robot
7f9c18d646
Merge pull request #14819 from mesosphere/sttts-add-kubectl-bind-address
...
Auto commit by PR queue bot
2015-10-02 08:05:57 -07:00
k8s-merge-robot
6ca515c312
Merge pull request #14820 from gmarek/playground
...
Auto commit by PR queue bot
2015-10-02 07:37:45 -07:00
k8s-merge-robot
a413fd278f
Merge pull request #14874 from derekparker/fix-json-patch-content-type
...
Auto commit by PR queue bot
2015-10-02 07:08:58 -07:00
k8s-merge-robot
f5adbb7e12
Merge pull request #14926 from caesarxuchao/fix-discovery-1
...
Auto commit by PR queue bot
2015-10-02 06:39:44 -07:00
k8s-merge-robot
2433f2eaa4
Merge pull request #14929 from caesarxuchao/fix-thirdparty-apiversion
...
Auto commit by PR queue bot
2015-10-02 05:45:46 -07:00
k8s-merge-robot
1bcdd56cf3
Merge pull request #12283 from ncdc/gh8766-port-forward-not-closing-correctly
...
Auto commit by PR queue bot
2015-10-02 04:48:12 -07:00
k8s-merge-robot
a34855e0d1
Merge pull request #14657 from justinsb/aws_more_regions
...
Auto commit by PR queue bot
2015-10-02 03:48:25 -07:00
k8s-merge-robot
562ea7160d
Merge pull request #14664 from deads2k/fix-prepend
...
Auto commit by PR queue bot
2015-10-02 03:21:10 -07:00
k8s-merge-robot
1b158fc466
Merge pull request #14706 from yifan-gu/rkt_get_status
...
Auto commit by PR queue bot
2015-10-02 02:25:44 -07:00
Jerzy Szczepkowski
e485fafc17
Merge pull request #14901 from wojtek-t/debug_tests
...
Fix TestMaxInFlight
2015-10-02 11:23:14 +02:00
Jordan Liggitt
2a1286c8f2
Add util to set transport defaults
2015-10-02 02:29:46 -04:00
Jordan Liggitt
36a721e8b7
Honor InsecureSkipVerify flag
2015-10-02 02:26:04 -04:00
Jordan Liggitt
e024e55e8e
Add verb to authorizer attributes
2015-10-01 23:54:02 -04:00
k8s-merge-robot
e4164638c4
Merge pull request #14732 from jszczepkowski/hpa-api-fix
...
Auto commit by PR queue bot
2015-10-01 18:52:59 -07:00
Chao Xu
4927cec3be
fix groups exposes at apis/
2015-10-01 18:32:42 -07:00
k8s-merge-robot
2b1a0e98a2
Merge pull request #14746 from jszczepkowski/deployment-fix
...
Auto commit by PR queue bot
2015-10-01 18:23:12 -07:00
Madhusudan.C.S
7a709b09c3
Messages should be appended to "messages" slice.
...
Network configuration error message while setting Kubelet status was
being written to "reasons" slice. Write this message to "messages" slice
instead.
Also remove "reasons" slice entirely since it is not used anywhere.
2015-10-01 17:55:45 -07:00
k8s-merge-robot
4e63cafde1
Merge pull request #14748 from gmarek/nodecontroller
...
Auto commit by PR queue bot
2015-10-01 17:38:53 -07:00
k8s-merge-robot
2516086771
Merge pull request #14764 from timstclair/kubectl
...
Auto commit by PR queue bot
2015-10-01 17:10:10 -07:00
nikhiljindal
c6deb442f9
Adding events to deployment
2015-10-01 16:38:08 -07:00
Yu-Ju Hong
889e798ddb
kubelet: pipe SyncPodType to pod workers
...
Now that kubelet has switched to incremental updates, it has complete
information of the pod update type (create, update, sync). This change pipes
this information to pod workers so that they don't have to derive the type
again.
2015-10-01 16:29:46 -07:00
Chao Xu
6dc99b52dd
use http.client in ServerAPIVersions
2015-10-01 16:24:04 -07:00
Brendan Burns
2afddde027
Deflake an exec test by removing global paths and making conflicts impossible
2015-10-01 16:16:06 -07:00
Chao Xu
6a4c477af7
add a ServerAPIVersions function that visits both /api and /apis, and doesn't require a high-level client
2015-10-01 15:00:33 -07:00
Brendan Burns
0e71ea1253
Maintain an IP address independent of the forwarding rule for GCE
2015-10-01 21:42:36 +00:00
Kris
d0aa9dfbc7
Removing custom test timeout
2015-10-01 14:35:58 -07:00
Christian Simon
c1a14bd163
aws: fixes ELB creation with multiple subnets per AZ
...
Only takes the first available subnet in a AZ, ignore other subnets
and log warning about this.
Removes AWS region comparison for subnet AZs. A VPC is only in a single
AWS region.
Fixes #12381
2015-10-01 21:38:11 +01:00
k8s-merge-robot
b19837f4e2
Merge pull request #14767 from nikhiljindal/podConditionTransitionTime
...
Auto commit by PR queue bot
2015-10-01 13:01:45 -07:00
Chao Xu
f4ff0f7683
fix thirdparty API, now the config file of thirdpartyresource also need to group/version instead of version
2015-10-01 12:30:51 -07:00
David Oppenheimer
a448b5e154
Merge pull request #14697 from vishh/api-proxy
...
Avoid rewriting URLs in the proxy, if the application is proxy-aware.
2015-10-01 11:54:31 -07:00
tummychow
447c3371a1
Remove glog dependency from fielderrors
2015-10-01 11:02:51 -07:00
k8s-merge-robot
a463b34507
Merge pull request #14822 from jszczepkowski/events-cleaunp
...
Auto commit by PR queue bot
2015-10-01 09:22:59 -07:00
k8s-merge-robot
d50810a1db
Merge pull request #14831 from deads2k/allow-yaml-patch
...
Auto commit by PR queue bot
2015-10-01 08:48:45 -07:00
Wojciech Tyczynski
a659007f6a
Fix TestMaxInFlight
2015-10-01 14:28:22 +02:00
k8s-merge-robot
7178921a96
Merge pull request #14375 from deads2k/remove-unprefixed-access
...
Auto commit by PR queue bot
2015-10-01 04:35:59 -07:00
k8s-merge-robot
8356270cce
Merge pull request #14430 from Defensative/updated-fw-tags
...
Auto commit by PR queue bot
2015-10-01 03:51:13 -07:00
David Oppenheimer
29dd7e3bb8
Fix race condition in DaemonSet controller. Fixes #14693 .
2015-10-01 02:17:52 -07:00
gmarek
fc79ce347e
Allow usining FakeOOMAdjuster in Kubelet
2015-10-01 10:55:08 +02:00
k8s-merge-robot
014ee7bb06
Merge pull request #14576 from derekwaynecarr/strategy_job_test
...
Auto commit by PR queue bot
2015-10-01 01:13:52 -07:00
Wojciech Tyczynski
7f9df8c062
Merge pull request #14721 from zhengguoyong/err_value
...
add log err value
2015-10-01 09:37:36 +02:00
Wojciech Tyczynski
b7dbbdbc09
Merge pull request #14890 from timothysc/user_error
...
Fix for unit test failures on user
2015-10-01 09:36:44 +02:00
k8s-merge-robot
fb4882620f
Merge pull request #14611 from MikaelCluseau/wip-optional-sysctl
...
Auto commit by PR queue bot
2015-10-01 00:28:38 -07:00
Nikhil Jindal
00ab055fa1
Merge pull request #14893 from caesarxuchao/temp-fix-negotiate-version
...
temporarily disable warning message in NegotiateVersion
2015-09-30 23:13:39 -07:00
Chao Xu
dfdbaec577
temporarily disable warning message in NegotiateVersion
2015-09-30 21:41:26 -07:00
Nikhil Jindal
7adb463dd0
Merge pull request #14199 from nikhiljindal/deploymentDescribe
...
Adding a DeploymentDescriber to kubectl
2015-09-30 21:34:24 -07:00
k8s-merge-robot
888f08377e
Merge pull request #14671 from ironcladlou/rolling-rollback-fix
...
Auto commit by PR queue bot
2015-09-30 20:56:05 -07:00
Timothy St. Clair
7955d428de
Fix for unit test failures 'unexpected error: user: Current not implemented on linux/amd64'
...
running on Fedora 20 'go version go1.4.2 linux/amd64'
2015-09-30 20:33:34 -05:00
Álex González
fa39c2b032
Add flocker volume plugin
...
Flocker [1] is an open-source container data volume manager for
Dockerized applications.
This PR adds a volume plugin for Flocker.
The plugin interfaces the Flocker Control Service REST API [2] to
attachment attach the volume to the pod.
Each kubelet host should run Flocker agents (Container Agent and Dataset
Agent).
The kubelet will also require environment variables that contain the
host and port of the Flocker Control Service. (see Flocker architecture
[3] for more).
- `FLOCKER_CONTROL_SERVICE_HOST`
- `FLOCKER_CONTROL_SERVICE_PORT`
The contribution introduces a new 'flocker' volume type to the API with
fields:
- `datasetName`: which indicates the name of the dataset in Flocker
added to metadata;
- `size`: a human-readable number that indicates the maximum size of the
requested dataset.
Full documentation can be found docs/user-guide/volumes.md and examples
can be found at the examples/ folder
[1] https://clusterhq.com/flocker/introduction/
[2] https://docs.clusterhq.com/en/1.3.1/reference/api.html
[3] https://docs.clusterhq.com/en/1.3.1/concepts/architecture.html
2015-10-01 01:10:00 +01:00
Andy Goldstein
ed021fed4c
Port forwarding fixes
...
Correct port-forward data copying logic so that the server closes its
half of the data stream when socat exits, and the client closes its half
of the data stream when it finishes writing.
Modify the client to wait for both copies (client->server,
server->client) to finish before it unblocks.
Fix race condition in the Kubelet's handling of incoming port forward
streams. Have the client generate a connectionID header to be used to
associate the error and data streams for a single connection, instead of
assuming that streams n and n+1 go together. Attempt to generate a
pseudo connectionID in the server in the event the connectionID header
isn't present (older clients); this is a best-effort approach that only
really works with 1 connection at a time, whereas multiple concurrent
connections will only work reliably with a newer client that is
generating connectionID.
2015-09-30 20:03:49 -04:00
Abhishek Shah
6278b5f648
fixed log format
2015-09-30 16:29:32 -07:00
Derek Parker
4745cc9d9a
apiserver: Fix handling patch requests with charset
...
Fixes #14872
2015-09-30 14:03:27 -07:00
Brendan Burns
44a16834d8
Merge pull request #14087 from brendandburns/kubectl
...
Move the default schema cache to the home directory
2015-09-30 11:30:32 -07:00
Brendan Burns
2a6c7a1e79
Merge pull request #14715 from zhengguoyong/capital
...
set capital in some glog files
2015-09-30 11:28:05 -07:00
Brendan Burns
2cc6901d7d
Merge pull request #14798 from kubernetes/revert-14616-controller-framework-flake
...
Revert "Controller framework test flake fix"
2015-09-30 10:04:48 -07:00
deads2k
8b063a34b0
allow yaml as argument to patch
2015-09-30 11:58:42 -04:00
Dr. Stefan Schimanski
3650899b29
Add --address to kubectl proxy
2015-09-30 15:53:52 +02:00
deads2k
df870cf36a
remove Kind from APIRequestInfo
2015-09-30 09:46:22 -04:00
deads2k
8db054651c
plumb APIGroup to authorization attributes and test
2015-09-30 09:45:10 -04:00
deads2k
dc8d0de70b
update APIRequestInfo for APIGroup
2015-09-30 09:45:10 -04:00
Jerzy Szczepkowski
83ec04ef58
Improved event message for ServiceController.
...
Improved event message for ServiceController. Follow up of #13992 .
2015-09-30 13:20:41 +02:00
gmarek
a3723e2045
Separate deletion and termination evictors in NodeController, and fix rate_limited_queue.go
2015-09-30 09:42:01 +02:00
Wojciech Tyczynski
5d07236be6
Merge pull request #14808 from wojtek-t/extend_cacher_timeout
...
Extend timeouts in cacher test
2015-09-30 09:40:25 +02:00
David Oppenheimer
f86b119242
Merge pull request #14550 from mesosphere/sttts-fix-daemonset-tests
...
Fix bugs in daemonset controller and e2e tests
2015-09-30 00:37:46 -07:00
eulerzgy
4c588d771c
ent
2015-09-30 14:49:19 +08:00
eulerzgy
71b96422f4
set capital in some files
2015-09-30 14:46:20 +08:00
Wojciech Tyczynski
907f2e9f89
Extend timeouts in cacher test
2015-09-30 08:26:58 +02:00
Tim Hockin
5fbcb72241
Merge pull request #14525 from dcbw/cni
...
CNI network plugin
2015-09-29 21:13:26 -07:00
Brendan Burns
d82567de85
Revert "Controller framework test flake fix"
2015-09-29 20:17:16 -07:00
Brendan Burns
22fa2db39a
Merge pull request #14616 from mvdan/controller-framework-flake
...
Controller framework test flake fix
2015-09-29 20:16:36 -07:00
Brendan Burns
e827934d78
Merge pull request #12677 from andronat/kubectl_doc_cmd
...
A new command to read types' description from Swagger - kubectl explain
2015-09-29 19:35:37 -07:00
k8s-merge-robot
66e25b48b0
Merge pull request #14636 from feihujiang/fixMinorBugsInKubectlCommand
...
Auto commit by PR queue bot
2015-09-29 19:31:40 -07:00
Brendan Burns
4b1d3d8b0c
Merge pull request #14245 from tpounds/update-to-aws-sdk-go-v0.9.9
...
Update to aws-sdk-go v0.9.9
2015-09-29 19:31:14 -07:00
Brendan Burns
987bda06b1
Merge pull request #14248 from tpounds/use-set-interface-methods
...
Use set interface methods.
2015-09-29 19:31:06 -07:00
Brendan Burns
5711f6d6e5
Merge pull request #14564 from erictune/fix-mac-test-2
...
Fix "make test" on mac (pkg/kubelet)
2015-09-29 19:29:35 -07:00
Brendan Burns
665a2807ee
Merge pull request #14615 from smarterclayton/bandwidth_fails_on_mac
...
Linux bandwidth test doesn't work on Mac
2015-09-29 19:28:54 -07:00
k8s-merge-robot
b661cfd21e
Merge pull request #14643 from liguangbo/change_Oom_to_OOM
...
Auto commit by PR queue bot
2015-09-29 18:54:22 -07:00
Prashanth Balasubramanian
c148332772
Deleting namespace cleans-up Ingress
2015-09-29 18:51:55 -07:00
Prashanth Balasubramanian
c54e174808
Ingress Client
2015-09-29 18:51:24 -07:00
Prashanth Balasubramanian
99b0e051fc
Kubectl printer
2015-09-29 18:51:24 -07:00
Prashanth Balasubramanian
9779bf68ef
Validation
2015-09-29 18:51:24 -07:00
Prashanth Balasubramanian
16921f961a
Ingress registry
2015-09-29 18:51:24 -07:00
Prashanth Balasubramanian
20a8caa369
Ingress V0.2 boilerplate
2015-09-29 18:51:24 -07:00
Prashanth Balasubramanian
707b1f72a5
Ingress V0.2
2015-09-29 18:51:24 -07:00
k8s-merge-robot
bec96e622a
Merge pull request #14666 from mikedanese/job-ns-del
...
Auto commit by PR queue bot
2015-09-29 18:10:05 -07:00
Eric Tune
3c43c8dfa0
Improve jobs e2e
...
Remove unnecessary yaml file.
Define 4 specific pod behaviors.
(sleeping for short periods is going to be flaky during automated
testing. Also, sleep -1 still exits 0)
Don't wait for a certain number of active pods in tests
where the pods terminate after a finite time, since this is racy.
Changed some tests to use pods that run forever, and not wait
for completion.
Added tests with local restarts.
Convert the DeleteOptions to the correct api group.
2015-09-29 17:31:57 -07:00
nikhiljindal
b99d225d19
Setting PodReadyCondition.LastTransitionTime
2015-09-29 17:23:32 -07:00
k8s-merge-robot
b67028f40d
Merge pull request #14670 from nikhiljindal/rollingUpdateMaxSurge
...
Auto commit by PR queue bot
2015-09-29 16:15:44 -07:00
k8s-merge-robot
ffc1641f4a
Merge pull request #14683 from erictune/always-experimental
...
Auto commit by PR queue bot
2015-09-29 15:22:26 -07:00
Tim St. Clair
4dc9df91d8
Fix race condition in kubectl run --attach
2015-09-29 15:02:38 -07:00
saadali
7771151767
GCE PD attach/detach operations should poll to verify successful completion
2015-09-29 14:32:06 -07:00
Andy Goldstein
e73652411e
Add http proxy support for exec/port-forward
...
Add http proxy support for exec/port-forward in SpdyRoundTripper
2015-09-29 15:29:19 -04:00
Mike Danese
076d2de3c6
make jobstatus documenation more accurate
2015-09-29 11:41:52 -07:00
Dawn Chen
ca3ae476fc
Merge pull request #14599 from feiskyer/kubelet/client-server/image-refator
...
Refactor image manager for client/server container runtime
2015-09-29 09:33:59 -07:00
Jerzy Szczepkowski
e5b2f310fb
Fixed ignoring the rest of deployments after the first error in deployment controller.
...
Fixed ignoring the rest of deployments after the first error in deployment controller & added logging of errors.
2015-09-29 17:09:33 +02:00
Huamin Chen
8dbbcefdec
rbd: don't use /dev/rbd/pool/image; use sysfs to find rbd device instead
...
rbd: if rbd image is not formatted, format it to the designated filesystem type
rbd: update example README.md and include instructions to get base64 encoded Ceph secret
if rbd fails to lock image, unmap the image before exiting
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-09-29 10:13:01 -04:00
Dan Mace
6db9601772
Support asymmetric rolling rollbacks
...
Improve the rolling updater rollback/abort function by making it aware
of the original replicas annotation: if the rollback target has the
original replica count recorded, prefer it over the desired annotation
since the update from old to new could have been asymmetrical.
For example, when scaling from 5 to 10, aborting should scale back to 5.
2015-09-29 09:00:02 -04:00
Jerzy Szczepkowski
a5194c5ff4
HorizontalPodAutoscaler.Status kept by value, not by pointer.
...
HorizontalPodAutoscaler.Status kept by value, not by pointer. Fixes #14567 .
2015-09-29 14:25:46 +02:00
deads2k
4cc63313e7
fix testclient prepend functions
2015-09-29 08:03:52 -04:00
eulerzgy
b1be6bc8ea
add log err value
2015-09-29 17:09:25 +08:00
Jerzy Szczepkowski
0fd5a74450
Fixed update of scale sub-resource for experimental RC.
...
Fixed update of scale sub-resource for experimental RC. Resolves #14656 .
2015-09-29 10:55:29 +02:00
Tim Hockin
abe5a7d5ad
Merge pull request #14527 from thockin/lower-udp-timeout
...
Changes to make kube-proxy userspace scale better
2015-09-28 23:32:40 -07:00
k8s-merge-robot
226d97fa29
Merge pull request #14688 from brendandburns/fix3
...
Auto commit by PR queue bot
2015-09-28 23:08:19 -07:00
k8s-merge-robot
d11aec9217
Merge pull request #14595 from yujuhong/rm_containerlist
...
Auto commit by PR queue bot
2015-09-28 19:54:32 -07:00
Yifan Gu
4309cafff1
rkt: return non error if the pod doesn't exist in GetPodStatus().
...
Previously, GetPodStatus() will return error if the pod is never
created. However we've never seen the sync loop fail because in the
beginning of the loop, if the pod is not found, it will be created.
This works fine except the pod that keeps crashing. Because the above
logic will keep restarting the pod as if it's never created.
This PR fixes the bug.
2015-09-28 19:30:57 -07:00
Vishnu kannan
2788b47059
Avoid rewriting URLs in the proxy, if the application is proxy-aware.
2015-09-28 17:20:03 -07:00
Brendan Burns
afea127a3e
Move the default schema cache to the home directory
2015-09-28 16:26:48 -07:00
Brendan Burns
c3a8dc0494
Deflake the max-in-flight limit test
2015-09-28 16:08:14 -07:00
nikhiljindal
c651c1ae30
Updating the semantics of MaxSurge and unavailability
2015-09-28 14:51:26 -07:00
Eric Tune
293055b38e
Always set codec in setExperimentalDefaults
...
Without this, the Jobs client used by
kubectl had codec type v1. You would not notice this
on, say, a GET. But when you tried to do an
Update, which did client-side conversion, then
you would get an error.
2015-09-28 14:36:54 -07:00
nikhiljindal
153c57ffc8
Adding a DeploymentDescriber to kubectl
2015-09-28 14:21:24 -07:00
Mike Danese
2fa10f8ad6
delete job when namespace is deleted
2015-09-28 11:18:56 -07:00
Dr. Stefan Schimanski
a9582dfcbe
Set NodeName on daemonset pods correctly
...
The pod template was overriding the NodeName.
2015-09-28 19:20:38 +02:00