Commit Graph

25614 Commits

Author SHA1 Message Date
Prashanth Balasubramanian
d5226bb044 Kubectl log all failed containers in namespace=kube-system. 2016-02-25 14:54:17 -08:00
Paul Morie
531d84520b Fix default for num-nodes in ginkgo-e2e.sh 2016-02-25 17:31:13 -05:00
Isaac Hollander McCreery
de3b17a86f Remove silent provider skips, since upgrade tests are feature tests, and aren't turned on by default anyway 2016-02-25 13:40:22 -08:00
Isaac Hollander McCreery
1bf69415cd Decouple node upgrade from master upgrade 2016-02-25 13:37:16 -08:00
Prashanth Balasubramanian
fcc7e99b83 Log response body when http probe fails. 2016-02-25 13:29:06 -08:00
Sami Wagiaalla
d7c6eb92d9 Remove 'be formatted' from VolumeSource docs
Volumes do not need to be formatted as we now have the
SafeFormatAndMount utility which formats volumes when needed.
2016-02-25 16:19:35 -05:00
Lucas Käldström
e9af6c34af Update the DNS template from cluster/addons/dns and combine into one file. Make DNS working on docker and docker-multinode 2016-02-25 21:59:07 +02:00
Fabio Yeon
df234d83cd Merge pull request #21997 from spxtr/fix-upgrades
Send 1.1 upgrade jobs to the proper e2e runner.
2016-02-25 10:50:34 -08:00
Chao Xu
b94e15d6c1 Merge pull request #21723 from caesarxuchao/log-in-patch
Adding an apiserver log entry when Patch fails because of a meaningful conflict
2016-02-25 10:28:18 -08:00
Joe Finney
1e802923f2 Send 1.1 upgrade jobs to the proper e2e runner. 2016-02-25 10:04:01 -08:00
Brian Grant
63feac0afc Merge pull request #21872 from kargakis/maxUavailability-fix
kubectl: preserve availability when maxUnavailability is not 100%
2016-02-25 09:35:37 -08:00
Eric Tune
095a85e76e Update docs and examples to batch/v1 Job
Documented manualSelector field.

Documented that you do not need to provide a selector
or unique labels with batch/v1 Job.

Updated all Job examples to apiVersion: batch/v1

Updated all Job examples to use generated selectors.
2016-02-25 09:28:07 -08:00
Eric Tune
2afcc7d165 Regenerate 2016-02-25 09:28:07 -08:00
Eric Tune
79d4ab77fc Conversion between manualSelector and autoSelector 2016-02-25 09:28:07 -08:00
Eric Tune
875755f992 Added Selector Generation to Job.
Added selector generation to Job's
strategy.Validate, right before validation.
Can't do in defaulting since UID is not known.

Added a validation to Job to ensure that the generated
labels and selector are correct when generation was requested.
This happens right after generation, but validation is in a better
place to return an error.

Adds "manualSelector" field to batch/v1 Job to control selector generation.
Adds same field to extensions/__internal.  Conversion between those two
is automatic.

Adds "autoSelector" field to extensions/v1beta1 Job.  Used for storing batch/v1 Jobs
    - Default for v1 is to do generation.
    - Default for v1beta1 is to not do it.
    - In both cases, unset == false == do the default thing.

Release notes:
Added batch/v1 group, which contains just Job, and which is the next
version of extensions/v1beta1 Job.

The changes from the previous version are:
- Users no longer need to ensure labels on their pod template are unique to the enclosing
  job (but may add labels as needed for categorization).
- In v1beta1, job.spec.selector was defaulted from pod labels, with the user responsible for uniqueness.
  In v1, a unique label is generated and added to the pod template, and used as the selector (other
  labels added by user stay on pod template, but need not be used by selector).
- a new field called "manualSelector" field exists to control whether the new behavior is used,
  versus a more error-prone but more flexible "manual" (not generated) seletor.  Most users
  will not need to use this field and should leave it unset.

Users who are creating extensions.Job go objects and then posting them using the go client
will see a change in the default behavior.  They need to either stop providing a selector (relying on
selector generation) or else specify "spec.manualSelector" until they are ready to do the former.
2016-02-25 09:28:07 -08:00
k8s-merge-robot
3b10ce1514 Merge pull request #21980 from rutsky/patch-4
Auto commit by PR queue bot
2016-02-25 09:02:31 -08:00
k8s-merge-robot
a20d4f83ff Merge pull request #21379 from hlamer/hyperkube-apiserver-cert-fix
Auto commit by PR queue bot
2016-02-25 09:02:30 -08:00
k8s-merge-robot
fab42f5c26 Merge pull request #21354 from erictune/manual-selector
Auto commit by PR queue bot
2016-02-25 09:02:28 -08:00
Dogan Narinc and Yoseph Samuel
aa65fe8903 Fix EBS when hostname is not the node name
Similar to #11543, the local hostname is not guaranteed to be the node
name, as the AWS cloud provider looks up node name using
`private-dns-name`. This value can be different such as when using a
private hosted zone.

The previous code uses GetHostName(), which fails in this case. Instead,
pass in an empty string so the aws cloud provider will use the cached
self instance to find the instance id.

Authors: @balooo, @dogan-sky, @jsravn
2016-02-25 16:45:44 +00:00
AdoHe
aa6f07636b kubectl add job DESIRED column 2016-02-25 10:43:04 -05:00
k8s-merge-robot
cbf5dc1228 Merge pull request #21272 from deads2k/add-priority-restmapper
Auto commit by PR queue bot
2016-02-25 07:26:41 -08:00
Marcin Wielgus
11fad31448 Heapster v0.20.0-alpha8 2016-02-25 16:26:32 +01:00
gmarek
98eb12e1ed Update memory requirements for influxdb 2016-02-25 16:15:54 +01:00
k8s-merge-robot
4e79b55b30 Merge pull request #21978 from gmarek/refactor-gatherer
Auto commit by PR queue bot
2016-02-25 06:51:58 -08:00
Marek Grabowski
13d2364444 Merge pull request #20710 from fgrzadkowski/backward_compatible_release
Make #19601 backward compatible.
2016-02-25 15:21:56 +01:00
Vladimir Rutsky
d325ded6c7 fix typo: ", ." 2016-02-25 17:13:34 +03:00
gmarek
fdb3020f85 Add more logs to resource gatherer to help with debugging 2016-02-25 14:55:29 +01:00
Filip Grzadkowski
6f6cb45638 Make #19601 backward compatible.
Fixes #20047
2016-02-25 14:24:51 +01:00
k8s-merge-robot
a7f06905c3 Merge pull request #21185 from fabianofranz/fix_spdy_roundtripper_verify_hostname
Auto commit by PR queue bot
2016-02-25 04:45:12 -08:00
deads2k
cf6234d219 add prioritized RESTMapper to registered 2016-02-25 07:35:23 -05:00
deads2k
9c42d219bc allow disambiguation of resouces 2016-02-25 07:35:23 -05:00
deads2k
2b84d58b6d add a PriorityRESTMapper that can choose particular group/version of a resource 2016-02-25 07:35:23 -05:00
deads2k
2e64a0d10c update multiRESTMapper to properly union constituent RESTMappers 2016-02-25 07:35:22 -05:00
deads2k
94d683e89b fix ShortcutRESTMapper and prevent it from ever silently failing again 2016-02-25 07:35:22 -05:00
k8s-merge-robot
995b72798c Merge pull request #21974 from gmarek/refactor-gatherer
Auto commit by PR queue bot
2016-02-25 04:10:32 -08:00
k8s-merge-robot
47986aa018 Merge pull request #21163 from pmorie/downward-api-e2e-time
Auto commit by PR queue bot
2016-02-25 03:08:44 -08:00
gmarek
ff6b3d1fb1 Fix spreading in resource usage gatherer 2016-02-25 11:54:34 +01:00
k8s-merge-robot
82b0f0ff5e Merge pull request #20940 from pwittrock/volume-sync
Auto commit by PR queue bot
2016-02-25 02:29:31 -08:00
k8s-merge-robot
bc52f12a56 Merge pull request #20808 from soltysh/e2e_tests
Auto commit by PR queue bot
2016-02-25 01:57:24 -08:00
k8s-merge-robot
33ef7a93a4 Merge pull request #20647 from dcbw/allow-disabling-bridge-nf-call-iptables
Auto commit by PR queue bot
2016-02-25 01:27:47 -08:00
kargakis
9cc19102f3 kubectl: preserve availability when maxUnavailability is not 100% 2016-02-25 10:10:41 +01:00
k8s-merge-robot
5f86dd1b2f Merge pull request #21906 from justinsb/util_sets_docstring
Auto commit by PR queue bot
2016-02-25 00:24:54 -08:00
k8s-merge-robot
2a58c0062d Merge pull request #17913 from jtblin/jtblin/17912-pick-public-subnets
Auto commit by PR queue bot
2016-02-24 23:48:15 -08:00
Eric Tune
99e79720d0 Explain conversion for manualSelector 2016-02-24 23:00:44 -08:00
k8s-merge-robot
7f613dbf15 Merge pull request #21204 from pwittrock/node-e2e-pull
Auto commit by PR queue bot
2016-02-24 22:16:48 -08:00
Brian Grant
b27edde38d Merge pull request #21957 from mqliang/deployment-preserve-availability
Deployment: preserve availability when maxUnavailability is not 100%
2016-02-24 22:09:54 -08:00
Brian Grant
be6515ca90 Merge pull request #21935 from janetkuo/nil-pointer
Fix the nil pointer dereference when counting RS replicas
2016-02-24 21:58:41 -08:00
mqliang
06d57ec7f4 Deployment: preserve availability when maxUnavailability is not 100% 2016-02-25 13:30:06 +08:00
Brian Grant
63c85691bd Merge pull request #21795 from janetkuo/deployment-e2e-flake-panic
Fix the nil pointer dereference in addHashKeyToRSAndPods
2016-02-24 21:25:35 -08:00
Yu-Ju Hong
99587b7e3a kubelet: fix duplicated status updates at pod cleanup
cleanupTerminatedPods is responsible for checking whether a pod has been
terminated and force a status update to trigger the pod deletion. However, this
function is called in the periodic clenup routine, which runs every 2 seconds.
In other words, it forces a status update for each non-running (and not yet
deleted in the apiserver) pod. When batch deleting tens of pods, the rate of
new updates surpasses what the status manager can handle, causing numerous
redundant requests (and the status channel to be full).

This change forces a status update only when detecting the DeletionTimestamp is
set for a terminated pod. Note that for other non-terminated pods, the pod
workers should be responsible for setting the correct status after killling all
the containers.
2016-02-24 21:23:41 -08:00