Commit Graph

25697 Commits

Author SHA1 Message Date
Brian Grant
6327ea9bd2 Merge pull request #22026 from nikhiljindal/pausedeploymente2e
Fixing paused deployment e2e flake: Delete replica set and its pods as well rather than just deleting the replica set
2016-02-25 16:10:27 -08:00
Jeff Grafton
f4947eddf6 Merge pull request #22020 from ixdy/jenkins-job-configs
Bump timeout for kubernetes-test-go to 45m
2016-02-25 16:00:32 -08:00
Prashanth Balasubramanian
7d47d2dcd8 Kube-proxy requests 2x cpu shares of addons. 2016-02-25 15:39:27 -08:00
nikhiljindal
2db2fba1b1 Delete replica set and its pods as well rather than just deleting the replica set 2016-02-25 15:26:58 -08:00
Madhusudan.C.S
b69ec9faff Teach serde test to deal with autoscaling group's duality. 2016-02-25 15:05:28 -08:00
Jeff Grafton
67ada27250 Bump timeout for kubernetes-test-go to 45m 2016-02-25 15:04:44 -08:00
Marek Grabowski
48962b2a11 Merge pull request #22013 from bprashanth/log_liveness
Log response body when http probe fails.
2016-02-25 23:57:45 +01:00
Prashanth Balasubramanian
d5226bb044 Kubectl log all failed containers in namespace=kube-system. 2016-02-25 14:54:17 -08:00
James Ravn
f568b6511a Handle aws implicit and shared routing tables
Fix the AWS subnet lookup that checks if a subnet is public, which was
missing a few cases:

- Subnets without explicit routing tables, which use the main VPC
  routing table.
- Routing tables not tagged with KubernetesCluster. The filter for this
  is now removed.
2016-02-25 22:52:26 +00: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
Sami Wagiaalla
8c21967dd8 Only call Detacher after the final unmount 2016-02-25 14:11:07 -05:00
childsb
8d4aa5d387 Run through gofmt -s 2016-02-25 13:00:12 -06:00
Fabiano Franz
5bffa5b858 SPDY roundtripper support to proxy with Basic auth 2016-02-25 15:54:50 -03: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
Wojciech Tyczynski
506899008f Parallelization of namespace deletion 2016-02-25 16:33:25 +01: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