Commit Graph

10345 Commits (b929424135c662415469bb2eca41516f5d35abb2)

Author SHA1 Message Date
Random-Liu 2b7d0182ca Remove ConvertPodStatusToAPIPodStatus from runtime interface 2016-02-05 19:19:46 +00:00
k8s-merge-robot bd67b8a5db Merge pull request #20192 from Random-Liu/remove-get-api-podstatus
Auto commit by PR queue bot
2016-02-05 11:00:42 -08:00
Prashanth Balasubramanian c56bebf594 Basic TLS support. 2016-02-05 11:00:04 -08:00
k8s-merge-robot 87fbfdc953 Merge pull request #20116 from Clarifai/http-headers
Auto commit by PR queue bot
2016-02-05 10:28:31 -08:00
k8s-merge-robot 14d74a1c01 Merge pull request #19365 from jsafrane/devel/retry-delete
Auto commit by PR queue bot
2016-02-05 09:55:21 -08:00
deads2k 4175688460 add restmapper Stringer methods for debugging 2016-02-05 12:47:25 -05:00
k8s-merge-robot 266d7aa5b3 Merge pull request #19783 from magicwang-cn/master
Auto commit by PR queue bot
2016-02-05 08:53:30 -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
Jan Safranek 76b6449715 Retry recycle or delete operation on failure.
Recycle controller tries to recycle or delete a PV several times.
It stores count of failed attempts and timestamp of the last attempt in
annotations of the PV.

By default, the controller tries to recycle/delete a PV 3 times in
10 minutes interval. These values are configurable by
kube-controller-manager --pv-recycler-maximum-retry=X --pvclaimbinder-sync-period=Y
arguments.
2016-02-05 17:02:13 +01:00
k8s-merge-robot 3cfb090939 Merge pull request #7893 from pweil-/security-policy
Auto commit by PR queue bot
2016-02-05 07:14:37 -08:00
k8s-merge-robot ae15a4437b Merge pull request #19944 from mwielgus/simple-cm
Auto commit by PR queue bot
2016-02-05 06:41:28 -08:00
Paul Weil 03261146b0 api 2016-02-05 08:45:50 -05:00
Eric Tune ff35d97663 Cleanup borrowed conversion functions.
In pkg/apis/extensions/v1beta1/conversion.go,
some conversion code was copied from the
legacy api because Pod conversions cannot be
automatically generated because of something
about deprecatedServiceAccount.

This PR fixes two problems due to that copying.

First, the copied code could drift from its source
To fix that, I replaced the Convert_api_ and Convert_v1
implementations with a call to the original function.
I left a wrapper in case something needed to have
a package-local function name.

Second, the copied Convert_* functions, were copied,
in a way that they refer to other conversion functions
that aren't in the current package.  This prevented
genconverion from working from a clean start
(no conversion_generated.go).  Perhaps the person
who wrote this in the first place had copied
the conversion_generated.go file from legacy,
so it worked.   So, I added the v1
package name to calls to Convert_* functions.
So, when someone Cargo-Cult copies the conversion.go
file, like I did, they now will not have to
wonder why genconversion complains about missing
Convert_ functions.

Deleted the conversion_generated.go and reran genconversion
and it worked, no diffs old vs new conversion_generated.go.
2016-02-05 05:42:47 -08:00
k8s-merge-robot 4ecfe4d207 Merge pull request #20678 from janetkuo/dont-copy-apply-annotation
Auto commit by PR queue bot
2016-02-05 05:23:08 -08:00
k8s-merge-robot df0bbd45d7 Merge pull request #20615 from Random-Liu/deprecate-hostconfig-at-container-start
Auto commit by PR queue bot
2016-02-05 04:54:28 -08:00
bryk 46f51d74bb Set kubernetes-dashboard as the default UI addon
Dashboard release info:
https://github.com/kubernetes/dashboard/releases/tag/v0.1.0

This replaces kube-ui addon
2016-02-05 13:36:37 +01:00
gmarek 0c191e787b Split controller flags between controllers 2016-02-05 12:17:51 +01:00
Marcin Wielgus bf0c881263 Set Docker custom metric label for cAdvisor if custom metric volume is mounted 2016-02-05 12:00:02 +01:00
Marcin Wielgus 9a74a60413 Validation of HPA custom metrics annotation 2016-02-05 11:31:51 +01:00
k8s-merge-robot ce6fd46637 Merge pull request #20539 from mikedanese/kube-scheduler-external
Auto commit by PR queue bot
2016-02-05 01:56:43 -08:00
Wojciech Tyczynski 31a6f90da1 Don't mix RVs from different resources 2016-02-05 09:23:34 +01:00
magicwang-cn d2cf858560 make watch cache sizes configuratable of kube-apiserver 2016-02-05 15:47:27 +08:00
Wojciech Tyczynski d3639aff73 Fix deadlock in watch cache 2016-02-05 08:31:55 +01:00
Janet Kuo 40849a5b50 Skip apply annotation when copying annotations from deployment to RC 2016-02-04 23:30:31 -08:00
Daniel Smith 2e7993e057 Merge pull request #20674 from caesarxuchao/decode-status
To be compatible with release 1.1, decode Status even if the APIVersion is not set in the response
2016-02-04 23:27:47 -08:00
Daniel Smith c399b49c29 Merge pull request #20431 from deads2k/tighten-api-installer
tighten api server installation for bad groups
2016-02-04 23:19:08 -08:00
Daniel Smith d84ac764a9 Merge pull request #20492 from erictune/labselunver
Move extensions.LabelSelector to unversioned
2016-02-04 23:17:40 -08:00
Daniel Smith e6639de333 Merge pull request #20380 from mqliang/podcidr-validation
pod cidr validation
2016-02-04 23:16:02 -08:00
Tim Hockin df6ac92976 Merge pull request #20663 from thockin/svc-ctrl-defer-ip-release
Use defer for IP release
2016-02-04 22:47:46 -08:00
nikhiljindal d267ab5f92 Moving /apis handler to generic server 2016-02-04 17:58:13 -08:00
k8s-merge-robot c09b67f60f Merge pull request #20591 from caesarxuchao/legacy-to-core
Auto commit by PR queue bot
2016-02-04 17:37:12 -08:00
k8s-merge-robot 2084fba199 Merge pull request #18842 from vishh/kubelet_docker
Auto commit by PR queue bot
2016-02-04 17:08:34 -08:00
Tim Hockin a6cb6d76e3 Use defer for IP release 2016-02-04 16:40:28 -08:00
Chao Xu 0d772a7a52 To be compatible with release 1.1, decode Status even if the APIVersion is not set. 2016-02-04 16:12:17 -08:00
Lantao Liu 8118092d11 Deprecate HostConfig at container start 2016-02-04 15:35:14 -08:00
k8s-merge-robot 003b231867 Merge pull request #19576 from maclof/master
Auto commit by PR queue bot
2016-02-04 15:20:00 -08:00
Chao Xu 1b047f8e67 rename legacy to core 2016-02-04 14:26:56 -08:00
Phillip Wittrock ba5be34574 Kubelet Metrics Summary Api Implementation 2016-02-04 14:05:28 -08:00
Eric Tune eba2c56566 hack/update-generated-swagger-docs.sh 2016-02-04 13:46:34 -08:00
Eric Tune fead374844 Regenerate types, conversions. 2016-02-04 13:46:34 -08:00
Eric Tune 6133cb1f21 Move extensions.LabelSelector to unversioned.
Move type LabelSelector and type LabelSelectorRequirement from pkg/apis/extensions
This avoids an import loop when Job (and later DaemonSet, Deployment, ReplicaSet)
are moved out of extensions to new api groups.

Also Move LabelSelectorAsSelector utility from pkg/apis/extensions/ to pkg/api/unversioned/
Also its test.
Also LabelSelectorOp* constants.
Also the pkg/apis/extensions/validation functions ValidateLabelSelectorRequirement and
ValidateLabelSelector move to pkg/api/unversioned

The related type in pkg/apis/extensions/v1beta1/ is staying there.  I might move
it in another PR if neccessary.
2016-02-04 13:46:34 -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
Vishnu kannan 62fe566e68 Kubelet will not move docker daemons running in containers.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-02-04 13:34:56 -08:00
Marc Lough c33fcba311 Reject packets to services without endpoints 2016-02-04 20:56:02 +00:00
Nikhil Jindal 59820827d4 Merge pull request #20513 from nikhiljindal/apiserverExampleTest
Adding test for apiserver example
2016-02-04 11:28:58 -08:00
Tim Hockin 318b11d418 Merge pull request #20657 from bprashanth/ut_fix
Don't handshake with each watch interrupt in proxy unittests.
2016-02-04 11:04:12 -08:00
Saad Ali 7d70edc91f Merge pull request #20553 from jonboulle/yifan-gu-rkt_dns
rkt: Add DNS support
2016-02-04 10:55:38 -08:00
Prashanth Balasubramanian 589b7fdc92 Don't handshake with watch interrupt in proxy unittests. 2016-02-04 10:55:25 -08:00
derekwaynecarr 2ad322f295 Add or subtract from zero should not lose format 2016-02-04 13:16:47 -05:00
deads2k 067ecb4b60 expose unstructured scheme as codec 2016-02-04 11:14:16 -05:00
deads2k e084578148 fix validation error path for namespace 2016-02-04 10:10:49 -05:00
deads2k 26b91926b2 fix version detection for error 2016-02-04 08:20:41 -05:00
Jimmi Dyson 1b204d85a6 Ensure all API server responses are properly instrumented 2016-02-04 12:35:03 +00:00
Wojciech Tyczynski f23034d5da Reset more metrics before scalability tests 2016-02-04 11:47:13 +01:00
AdoHe 714d12cf72 kubectl add show-labels flag to make it more readable 2016-02-04 02:08:44 -05:00
Saad Ali 0952dcd349 Merge pull request #20389 from mqliang/deployment-MinReadySeconds
Move MinReadySeconds out of RollingUpdateDeployment
2016-02-03 22:44:14 -08:00
k8s-merge-robot 16aa40cc33 Merge pull request #20035 from janetkuo/record-command
Auto commit by PR queue bot
2016-02-03 20:19:08 -08:00
Prashanth B 8d5ad91f0e Merge pull request #20624 from bprashanth/kp-channel
Make sure at least one interrupt is buffered before dropping.
2016-02-03 20:13:10 -08:00
k8s-merge-robot f3429776c2 Merge pull request #20598 from mikedanese/serialization-tests
Auto commit by PR queue bot
2016-02-03 19:46:28 -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 bb7ad7cd09 Merge pull request #18795 from dcbw/cbr0-network-plugin
Auto commit by PR queue bot
2016-02-03 19:46:25 -08:00
Prashanth Balasubramanian f9b96d2c71 Make sure at least one interrupt is buffered before dropping. 2016-02-03 19:23:17 -08:00
David Oppenheimer bf2dbd61a2 Merge pull request #19758 from Huawei-PaaS/node-affinity-part1
NodeSelector, HardNodeAffinity and SoftNodeAffinity implementation
2016-02-03 19:18:45 -08:00
magicwang-cn 2d701e8ac8 bug fix in unversion request 2016-02-04 11:07:00 +08:00
Kevin c8c82c1d8f implement Node affinity and NodeSelector 2016-02-04 01:53:14 +00:00
Mike Danese 216a35d988 run serialization tests on all apigroups registered in testapi 2016-02-03 17:41:02 -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
Lantao Liu 4a386f881f Deprecate HostConfig at container start 2016-02-04 01:00:03 +00:00
Prashanth Balasubramanian 33654c8b4e Send update events from service-controller. 2016-02-03 16:50:13 -08:00
Saad Ali 10f9dd3b67 Merge pull request #20575 from derekwaynecarr/fix_fake_client
Fix DeleteCollection in FakeClient
2016-02-03 16:33:58 -08:00
Saad Ali 25f02f19e1 Merge pull request #20603 from pmorie/pod-ip-debug
Make it easier to debug pod IP flakes for downward API
2016-02-03 16:09:33 -08:00
Joe Finney 7a59683e41 Retry SSH connection for E2E log gathering. 2016-02-03 16:06:02 -08:00
nikhiljindal c7beb9078c Updating methods to return error rather than using glog.Fatalf 2016-02-03 16:00:45 -08:00
Paul Morie 1db0925521 Make it easier to debug pod IP flakes for downward API 2016-02-03 18:26:07 -05:00
Minhan Xia ec7366fc2a add service validation for mix protocol 2016-02-03 14:54:32 -08:00
Jerome Touffe-Blin 0a36db19bf Fix #11543 - use DescribeInstances API to retrieve the correct private DNS name 2016-02-04 08:48:25 +11:00
Chao Xu f9f5736b01 grep sed 2016-02-03 13:06:07 -08:00
Prashanth Balasubramanian e1fa6e9fb8 kube-proxy applies latest snapshot of endpoints and services. 2016-02-03 12:58:37 -08:00
Justin Santa Barbara 12d407da19 AWS EBS: Remove copied-and-pasted udevadm code
This is in GCE to deal with a GCE specific issue; there's no reason to
believe we need the same logic on AWS.
2016-02-03 20:56:17 +00:00
Justin Santa Barbara f61a5d0400 AWS: Switch arguments to AttachDisk/DetachDisk to match GCE 2016-02-03 20:43:23 +00:00
Justin Santa Barbara d10e3debc7 AWS EBS: HandleCrash moved to util/runtime 2016-02-03 20:43:14 +00:00
Justin Santa Barbara 089951e7b4 Fix typo in comment: succefully -> successfully 2016-02-03 20:43:14 +00:00
Justin Santa Barbara 6c87a4be7c AWS: Handle deleting volume that no longer exists
The tests in particular double-delete volumes, so we need to handle this
graciously.
2016-02-03 20:43:14 +00:00
Justin Santa Barbara 1ae1db6027 AWS: Update copy-paste of GCE PD code to latest version
We are (sadly) using a copy-and-paste of the GCE PD code for AWS EBS.
This code hasn't been updated in a while, and it seems that the GCE code
has some code to make volume mounting more robust that we should copy.
2016-02-03 20:43:14 +00:00
derekwaynecarr 070dce1bec Fix DeleteCollection in FakeClient 2016-02-03 14:39:24 -05:00
Mike Danese ee4e60d78c componentconfig: move kube proxy defaulting into the exetrnal api 2016-02-03 11:04:24 -08:00
Janet Kuo e3cb44aaff Copy deployment's annotations to its RC 2016-02-03 10:19:06 -08:00
Janet Kuo 5088d0e147 Record kubectl commands 2016-02-03 10:19:05 -08:00
k8s-merge-robot 210bac10c9 Merge pull request #19200 from wojtek-t/public_deep_copies
Auto commit by PR queue bot
2016-02-03 08:43:22 -08:00
Rudi Chiarito a0831a2378 Mass fix of Infof and co. missing the trailing "f", even when formatting placeholders are used 2016-02-03 11:34:59 -05:00
Dan Williams fabb65c13f Add a network plugin that duplicates "configureCBR0" functionality 2016-02-03 10:08:08 -06:00
Dan Williams 67414afd11 Send PodCIDR to network plugins as an event 2016-02-03 10:08:07 -06:00
Yifan Gu d27a635c4a rkt: Add DNS support.
rkt is now able to populate /etc/resolv.conf with command line flags.
Update the runtime code to fix DNS issues.
2016-02-03 14:54:09 +01:00
Yifan Gu e9139bb0e5 kubelet: Rename RunContainerOptionsGenerator to RuntimeHelper.
Also add GetClusterDNS() to the interface to let rkt get the
DNS servers, DNS names.
2016-02-03 14:54:08 +01:00
Wojciech Tyczynski 68d0f6387a Regenerate auto-generated files 2016-02-03 13:35:09 +01:00
Jan Safranek e90de3f985 Fixed cleanup of persistent volumes.
Kubelet.cleanupOrphanedVolumes() compares list of volumes mounted to a node
with list of volumes that are required by pods scheduled on the node
("scheduled volume").

Both lists should contain real volumes, i.e. when a pod uses
PersistentVolumeClaim, the list must contain name of the bound volume instead
of name of the claim.
2016-02-03 10:00:09 +01:00
k8s-merge-robot 5914deeac8 Merge pull request #19380 from brendandburns/apiresource
Auto commit by PR queue bot
2016-02-03 00:49:47 -08:00
k8s-merge-robot a7ef693f84 Merge pull request #20464 from thockin/proxymode-iptables
Auto commit by PR queue bot
2016-02-03 00:17:38 -08:00
k8s-merge-robot 843c11e06a Merge pull request #20452 from caesarxuchao/replace-client-kubelet
Auto commit by PR queue bot
2016-02-02 23:46:58 -08:00
Mike Danese 097a1d6dd1 autogenerated 2016-02-02 23:17:21 -08:00
Mike Danese 7df86e1ecf create external api for scheduler config
move defaulting into external pacakge
2016-02-02 23:17:18 -08:00
Tim Hockin 11f75e61b9 Inject a kernel-compat tester for kube-proxy test 2016-02-02 22:11:39 -08:00
Chao Xu cddd7b56a4 replace client with clientset in kubelet and other places 2016-02-02 20:28:45 -08:00
Chao Xu fe7887f1ec replace the client with clientset in controllers 2016-02-02 20:28:45 -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
mqliang 8e615df000 fix the HasSynced() bug for Informer 2016-02-03 11:40:11 +08:00
mqliang c4a1ab42e3 Move MinReadySeconds out of RollingUpdateDeployment 2016-02-03 11:38:11 +08:00
Jeff Lowdermilk ae2aece9af Merge pull request #20202 from caesarxuchao/skip-update
skip update when deleting with grace-period=0
2016-02-02 18:24:57 -08:00
k8s-merge-robot 8d540506ae Merge pull request #20523 from caesarxuchao/generate-fake-clientset
Auto commit by PR queue bot
2016-02-02 17:28:24 -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
Chao Xu 66f5cd259d automatically generate the clientset 2016-02-02 16:06:43 -08:00
nikhiljindal 2aa28c6553 Adding test for apiserver example 2016-02-02 15:42:29 -08:00
Random-Liu 7b4cdb6f8f Remove GetAPIPodStatus from runtime interface 2016-02-02 23:41:55 +00:00
Random-Liu 41b12a18d9 Remove GetAPIPodStatus usage 2016-02-02 23:41:55 +00:00
Janet Kuo 442c75045a Add kubectl rollout undo 2016-02-02 14:20:01 -08:00
Tim Hockin f3de95ff41 test nits and a TODO for iptables tests 2016-02-02 14:19:16 -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
Mike Danese 044b69cbda componentconfig: fix proxy mode set func 2016-02-02 13:31:49 -08:00
Chao Xu a6d96a04d0 make kubelet.HandlePodsDeletion aware of api.Pod 2016-02-02 13:01:17 -08:00
Tim Hockin 7ed83ad4f9 Make kube-proxy default to iptables (regression)
This was accidentally introduced as part of the component config changes.
2016-02-02 12:45:11 -08:00
Paul Morie 180bed7b5c Fix a couple typos 2016-02-02 15:39:33 -05:00
k8s-merge-robot cfa3f037fd Merge pull request #20087 from kargakis/rollout-pause-resume
Auto commit by PR queue bot
2016-02-02 12:03:44 -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
Matt Liggett f2d5375bc0 Stop deleting DaemonSet pods during drain.
We do this because they will be recreated immediately by the
DaemonSet Controller.  In addition, we also require a specific flag
(--ignore-daemonsets) when there are DaemonSet pods on the node.
2016-02-02 11:13:29 -08:00
Chao Xu fdf6a0f61c skip update when deleting with grace-period=0 2016-02-02 10:53:25 -08:00
k8s-merge-robot 072bfd40ca Merge pull request #18556 from mqliang/podValidation
Auto commit by PR queue bot
2016-02-02 10:26:43 -08:00
k8s-merge-robot e78834ab62 Merge pull request #20337 from yifan-gu/rkt_empty_isolator
Auto commit by PR queue bot
2016-02-02 09:56:04 -08:00
k8s-merge-robot 5a099308f5 Merge pull request #20325 from mwielgus/hpa-cm-impl
Auto commit by PR queue bot
2016-02-02 09:22:50 -08:00
k8s-merge-robot 23c64ec103 Merge pull request #20233 from yifan-gu/rkt_fix_user_group
Auto commit by PR queue bot
2016-02-02 08:47:08 -08:00
k8s-merge-robot b731d8275e Merge pull request #19707 from jsafrane/devel/fix-cinder-teardown
Auto commit by PR queue bot
2016-02-02 07:05:54 -08:00
k8s-merge-robot c5260c8c71 Merge pull request #20145 from mqliang/quorum-read
Auto commit by PR queue bot
2016-02-02 05:50:41 -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 df4d50a7ac Merge pull request #20098 from brendandburns/flake2
Auto commit by PR queue bot
2016-02-02 04:22:45 -08:00
k8s-merge-robot bf9523a03a Merge pull request #20195 from bprashanth/fix_zone_url
Auto commit by PR queue bot
2016-02-02 03:50:05 -08: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 71727385e8 Merge pull request #20069 from BugRoger/cephfs_subtree_mount_master
Auto commit by PR queue bot
2016-02-02 02:15:35 -08:00
k8s-merge-robot c0fd002fbb Merge pull request #20019 from thockin/dont-cni-hostnet-pods
Auto commit by PR queue bot
2016-02-02 01:43:24 -08:00
Michail Kargakis 21c2b836ed kubectl: add rollout pause/resume subcommands 2016-02-02 10:33:55 +01: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
k8s-merge-robot 71ae2736c0 Merge pull request #19889 from yujuhong/replace_cache
Auto commit by PR queue bot
2016-02-02 00:41:06 -08:00
k8s-merge-robot 126f798699 Merge pull request #19942 from yujuhong/mirror_creation
Auto commit by PR queue bot
2016-02-01 22:55:38 -08:00
k8s-merge-robot 5a6cf15c09 Merge pull request #19874 from justinsb/aws_fix_findinstancesbynodenames
Auto commit by PR queue bot
2016-02-01 21:38:46 -08:00
Yu-Ju Hong ff04de4fc0 Remove RuntimeCache from sync path
This change removes RuntimeCache in the pod workers and the syncPod() function.
Note that it doesn't deprecate RuntimeCache completely as other components
still rely on the cache.
2016-02-01 21:32:41 -08:00
k8s-merge-robot 32ab64ce5b Merge pull request #19778 from resouer/runtime
Auto commit by PR queue bot
2016-02-01 21:05:05 -08:00
k8s-merge-robot 2d8068e53e Merge pull request #20450 from mikedanese/bool-string-ptr-conversion
Auto commit by PR queue bot
2016-02-01 20:02:46 -08:00
k8s-merge-robot ba13454430 Merge pull request #19855 from mitake/remove-v
Auto commit by PR queue bot
2016-02-01 17:18:42 -08:00
k8s-merge-robot 348858061d Merge pull request #20258 from smarterclayton/get_logs_for_any_container
Auto commit by PR queue bot
2016-02-01 16:24:20 -08:00
Mike Danese c5ab2cae15 autogenerated 2016-02-01 16:01:19 -08:00
Mike Danese 896c670fb9 conversion: add default conversion for {string,bool} ptr to {string,bool}
This is useful because it allows defaulting to infer wheter a
string,bool value was provided by the user while still having the field
represented as a non pointer type in the internal representation.
2016-02-01 16:01:19 -08:00
Daniel Smith 5d713bb6aa don't cross-pollinate RVs 2016-02-01 15:36:15 -08:00
Daniel Smith 26683fda29 add timeout to cacher 2016-02-01 15:36:15 -08:00
Daniel Smith 4a7d70aef1 extend fake clock 2016-02-01 15:36:15 -08:00
Brendan Burns 2aa5dc317b Try harder to delete cloud resources in service tests 2016-02-01 15:34:55 -08:00
Janet Kuo 8fb86a3d3b Add kubectl rollout history 2016-02-01 15:32:43 -08:00
k8s-merge-robot 2746b5e43d Merge pull request #20320 from caesarxuchao/add-discovery
Auto commit by PR queue bot
2016-02-01 14:35:27 -08:00
k8s-merge-robot feb4b4857c Merge pull request #19890 from vishh/0-nodes
Auto commit by PR queue bot
2016-02-01 14:09:06 -08:00
k8s-merge-robot 7e158006c0 Merge pull request #19940 from yujuhong/fix_update
Auto commit by PR queue bot
2016-02-01 13:35:54 -08:00
Maru Newby a5e00da867 Fix nodeport service compat with default-deny fw 2016-02-01 21:34:30 +00:00
Michael Schmidt 92d814725b add generated code 2016-02-01 22:31:44 +01:00
Michael Schmidt 1373e0139d CephFS: Add subdir Option for Changing Mounted Root Directory 2016-02-01 22:01:19 +01:00
deads2k 02dec92b1d tighten api server installation for bad groups 2016-02-01 15:25:14 -05:00
k8s-merge-robot 171c2ecbe7 Merge pull request #19524 from derekparker/rkt-image-size
Auto commit by PR queue bot
2016-02-01 11:53:36 -08:00
k8s-merge-robot a68f952a61 Merge pull request #19490 from danwinship/hairpin-error
Auto commit by PR queue bot
2016-02-01 11:20:26 -08:00
k8s-merge-robot ff386b7a58 Merge pull request #20093 from liggitt/annotate_label_patch
Auto commit by PR queue bot
2016-02-01 09:04:12 -08:00
k8s-merge-robot 174521ee1a Merge pull request #19856 from yifan-gu/termination_path
Auto commit by PR queue bot
2016-02-01 07:16:16 -08:00
harry 1032067ff9 Replace runtime reference by pkg 2016-02-01 21:06:44 +08:00
Marcin Wielgus 05565ff7e5 CustomMetrics in HPA controller 2016-02-01 13:45:45 +01:00
Yifan Gu 581759d12d rkt: Set default 'User', 'Group' to root if it's not specified. 2016-02-01 20:00:09 +08:00
k8s-merge-robot e07d9b3ee7 Merge pull request #20174 from yifan-gu/rkt_insecure_options
Auto commit by PR queue bot
2016-02-01 03:44:16 -08:00
Yifan Gu 9ce10c8552 rkt: Add support for termination message, termination reason.
If 'TerminationMessagePath' in container spec is set, then
We will mount the termination message log into the container.

Also in GetPodStatus, if the container exits and the 'TerminationMessagePath'
is set, then the 'message' field in container state will be populated.
2016-02-01 18:06:47 +08:00
k8s-merge-robot 54808fb7ab Merge pull request #19824 from pmorie/env-source-variant
Auto commit by PR queue bot
2016-01-31 20:12:08 -08:00
k8s-merge-robot dff7490c57 Merge pull request #20312 from caesarxuchao/replace-many-controllers
Auto commit by PR queue bot
2016-01-31 18:42:26 -08:00
k8s-merge-robot 9d9864486b Merge pull request #19342 from caesarxuchao/remove-resourceversion-check
Auto commit by PR queue bot
2016-01-31 18:11:47 -08:00
Chao Xu 7722a50647 generate client for replicaset 2016-01-31 15:42:03 -08:00
Chao Xu c72d234bbf replacing handwritten client in several controllers 2016-01-31 15:42:02 -08:00
Jimmi Dyson e9c1d1ebd6 Do not move pid 1 to system container 2016-01-31 23:27:56 +00:00
Clayton Coleman d6d4a17db6 Allow clients to request most recent container logs
Many users attempt to use 'kubectl logs' in order to find the logs
for a container, but receive no logs or an error telling them their
container is not running. The fix in this case is to run with '--previous',
but  this does not match user expectations for the logs command.

This commit changes the behavior of the Kubelet to return the logs of
the currently running container or the previous running container unless
the user provides the "previous" flag. If the user specifies "follow"
the logs of the most recent container will be displayed, and if it is
a terminated container the logs will come to an end (the user can
repeatedly invoke 'kubectl logs --follow' and see the same output).

Clean up error messages in the kubelet log path to be consistent and
give users a more predictable experience.

Have the Kubelet return 400 on invalid requests
2016-01-31 17:47:29 -05:00
Chao Xu 90b4662d8d Add services/status path, and let the service controller uses Services.UpdateStatus() 2016-01-31 12:39:45 -08:00
Chao Xu 55f039fd53 add an adapter for EventSink 2016-01-31 11:36:36 -08:00
Chao Xu e2d02abb83 fix fixture for #17922 2016-01-31 11:36:36 -08:00
Chao Xu c1b4d28a03 add an adaption function to adapt old client 2016-01-31 11:36:36 -08:00
Marcin 23e74368b9 HPA annotation structs for Custom Metrics 2016-01-31 17:27:03 +01:00
mqliang 1c9b12fe72 make eventType versioned correctly 2016-01-31 21:14:08 +08:00
Clayton Coleman e3f4e823ba Allow the Kubelet Docker container prefix to be changed
Enables running multiple Kubelets on the same instance for testing and
for node bootstrapping experimentation
2016-01-31 01:03:05 -05:00
k8s-merge-robot f915ca55d0 Merge pull request #20095 from liggitt/load_tls_files
Auto commit by PR queue bot
2016-01-30 20:25:33 -08:00
mqliang 470d7af8c9 pod cidr validation 2016-01-31 11:49:31 +08:00
k8s-merge-robot 3db1a6c3ce Merge pull request #19976 from aarondav/elb-timeout
Auto commit by PR queue bot
2016-01-30 18:57:56 -08:00
k8s-merge-robot 6a2a0e621b Merge pull request #19686 from janetkuo/rollback
Auto commit by PR queue bot
2016-01-30 17:26:05 -08:00
k8s-merge-robot 2ab16bda17 Merge pull request #19882 from janetkuo/kubectl-rollout-command
Auto commit by PR queue bot
2016-01-30 16:52:55 -08:00
Alex Robinson ae5a6e86df Merge pull request #20137 from mqliang/fake-time
reuse fake clock in the kube repo for kubelet unit tests
2016-01-30 16:37:44 -08:00
Janet Kuo 3396db9510 Add rollback subresource; add rollback logic to deployment controller 2016-01-30 16:00:34 -08:00
k8s-merge-robot 11885120c6 Merge pull request #20305 from timstclair/summary-api
Auto commit by PR queue bot
2016-01-30 15:23:16 -08:00
Clayton Coleman 6e0ad75a6e Change the signature of resthandler.err for upcoming watch changes
Watch will need to be able to invoke scope.err, and it will not
have access to the go-restful req/res. Change to use the raw http
type now.
2016-01-30 18:00:43 -05:00
k8s-merge-robot 4ed43968e0 Merge pull request #19581 from janetkuo/deployment-version
Auto commit by PR queue bot
2016-01-30 13:34:59 -08:00
Alex Robinson fdc2f39503 Merge pull request #20322 from feiskyer/kubectl-check-image
Check "image" for --expose
2016-01-30 13:31:45 -08:00
k8s-merge-robot 03ed851c11 Merge pull request #20252 from smarterclayton/parameter_codec
Auto commit by PR queue bot
2016-01-30 13:07:52 -08:00
k8s-merge-robot 6f66dbb9ab Merge pull request #20127 from smarterclayton/remove_conversion_scheme
Auto commit by PR queue bot
2016-01-30 12:39:44 -08:00
k8s-merge-robot 77dcd470d2 Merge pull request #20264 from Random-Liu/cleanup-config
Auto commit by PR queue bot
2016-01-30 12:06:04 -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