Commit Graph

1083 Commits (110340c4675e2c065eef6fbebaa11aea7113affd)

Author SHA1 Message Date
Fabio Yeon 09dd0f1809 Merge pull request #21639 from jayunit100/cassandra-example-fix
Fix broken cassandra test: Up to date containers + RC of 2 nodes with…
2016-02-26 15:48:02 -08:00
Fabio Yeon 1065f4f932 Merge pull request #21621 from jayunit100/k8bps-defaultns
[examples] k8petstore: connection timeouts + allow blips.
2016-02-26 15:47:00 -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 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
Vladimir Rutsky d325ded6c7 fix typo: ", ." 2016-02-25 17:13:34 +03:00
Alex Robinson c031697848 Merge pull request #21626 from jayunit100/examples-spark-fix
Fix broken spark tests to use yaml files, 1 worker, declare DNS depe…
2016-02-24 16:30:19 -08:00
jay vyas 6efe5d05c3 [examples] k8petstore: connection timeouts and pass fail that is allows blips.
Author:    jay vyas <jay@apache.org>
 Date:      Fri Feb 19 18:44:13 2016 -0500
 Committer: jay vyas <jay@apache.org>
2016-02-23 23:11:44 -05:00
jay vyas 4c91cf2028 e2e cassandra fixes, needs follow on container update 2016-02-22 19:50:05 -05:00
jay vyas 782b268f02 [examples] [e2e] Fix spark example e2e tests: labels, forEach, json->yaml 2016-02-22 16:40:30 -05:00
k8s-merge-robot 60c6edaee7 Merge pull request #21634 from jayunit100/spark-README
Auto commit by PR queue bot
2016-02-20 23:59:59 -08:00
jay vyas 6cbcb5d6c7 Update spark README with container location and DNS req. 2016-02-20 17:33:30 -05:00
laushinka 7ef585be22 Spelling fixes inspired by github.com/client9/misspell 2016-02-18 06:58:05 +07:00
k8s-merge-robot 6d50c226c2 Merge pull request #21345 from CenturyLinkCloud/master
Auto commit by PR queue bot
2016-02-17 02:26:51 -08:00
ckleban c8a2ee39fc Fixing mysql-galena example's config files 2016-02-16 15:02:42 -08:00
Amy Unruh 2d8f857a24 Update guestbook frontend php script suggested in issue #18640.
(Created new GCR image version with the changes).
2016-02-16 11:05:51 -08:00
k8s-merge-robot 94b8554c91 Merge pull request #21033 from nikhiljindal/swaggerspecInGenericServer
Auto commit by PR queue bot
2016-02-14 11:39:56 -08:00
Jerome Touffe-Blin 1ef6580ea3 Fix #19098 - misplace cassandra-controller in cassandra example 2016-02-12 19:31:55 +11:00
nikhiljindal e2bffac285 Moving installing swagger spec to generic api server 2016-02-10 18:33:47 -08:00
Janet Kuo ddd983286b Move deployment example to docs/user-guide 2016-02-10 10:46:12 -08:00
k8s-merge-robot 41a98b43e4 Merge pull request #19840 from madhusudancs/replicaset-deployment
Auto commit by PR queue bot
2016-02-09 18:57:42 -08:00
Matthew Farrellee 0336220bf1 update spark example yaml to use new images 2016-02-09 17:18:47 -05:00
k8s-merge-robot 8d95da1b49 Merge pull request #20590 from erictune/rc-doc
Auto commit by PR queue bot
2016-02-09 00:11:39 -08:00
Madhusudan.C.S 518f08aa7c Move Deployments to ReplicaSets and switch the Deployment selector to the new LabelSelector.
Update the Deployments' API types, defaulting code, conversions, helpers
and validation to use ReplicaSets instead of ReplicationControllers and
LabelSelector instead of map[string]string for selectors.

Also update the Deployment controller, registry, kubectl subcommands,
client listers package and e2e tests to use ReplicaSets and
LabelSelector for Deployments.
2016-02-08 21:27:38 -08:00
Huamin Chen d7e4b826b9 support Azure File Service volume
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-02-09 01:07:12 +00:00
Eric Tune f7a89cedda Update replication-controller docs
Adds a document on pod templates that can be shared
between various controller docs.

Move more philosophical content to later in the doc.

Add more task-oriented stuff earlier.

Put example config in the document, early on, so users have something concrete to relate the discussion of fields to.

Link to Job and DaemonSet docs.

Make format more like that of Job and DaemonSet docs.

Use jsonpath in examples, which is available in v1.1.

Added example files.
2016-02-08 15:51:53 -08:00
Nikhil Jindal 59820827d4 Merge pull request #20513 from nikhiljindal/apiserverExampleTest
Adding test for apiserver example
2016-02-04 11:28:58 -08:00
k8s-merge-robot dbd7b83d93 Merge pull request #20545 from pmorie/boilerplate
Auto commit by PR queue bot
2016-02-03 19:46:26 -08:00
Kevin c8c82c1d8f implement Node affinity and NodeSelector 2016-02-04 01:53:14 +00:00
nikhiljindal c7beb9078c Updating methods to return error rather than using glog.Fatalf 2016-02-03 16:00:45 -08:00
Paul Morie b672785d72 Add boilerplate checks for Dockerfiles 2016-02-03 18:35:26 -05:00
Paul Morie 05bd107301 Add boilerplate checks for Makefiles 2016-02-03 18:35:26 -05:00
nikhiljindal 2aa28c6553 Adding test for apiserver example 2016-02-02 15:42:29 -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
Minhan Xia 05e63d5967 fix es example 2016-02-01 14:50:38 -08:00
Michael Schmidt 1373e0139d CephFS: Add subdir Option for Changing Mounted Root Directory 2016-02-01 22:01:19 +01:00
Chao Xu ebcff4b5e4 fix the namespaceScoped of cachers 2016-01-28 16:24:54 -08:00
k8s-merge-robot d582fabf90 Merge pull request #19753 from jayunit100/cleanup-ha-example
Auto commit by PR queue bot
2016-01-25 19:48:14 -08:00
k8s-merge-robot 8e04196ebc Merge pull request #20085 from pjvds/patch-1
Auto commit by PR queue bot
2016-01-25 19:33:43 -08:00
jay vyas f3f167d2f9 Remove podmaster stuff, in lieu of the new least prototype 2016-01-25 18:47:00 -05:00
k8s-merge-robot d7d601b2fc Merge pull request #18876 from erictune/dynamic-job
Auto commit by PR queue bot
2016-01-25 08:06:22 -08:00
k8s-merge-robot d3b869ae14 Merge pull request #17922 from smarterclayton/split_codec
Auto commit by PR queue bot
2016-01-25 06:30:39 -08:00
Pieter Joost van de Sande b2215ead0f fix wrong db label
The rethinkdb-admin service was labelled with `influxdb` instead of `rethinkdb`
2016-01-25 11:31:02 +01:00
Zach Loafman 717551b13c Merge pull request #19760 from mattf/master
move spark images to github.com/kubernetes/application-images/spark
2016-01-23 07:55:20 -08:00
Eric Tune 53ee76fe1a Support Work Queue jobs with variable parallelism
When job.spec.completions is nil, only
one task needs to succeed for the job to succeed,
and parallelism can be scaled freely during runtime.

Added tests.

Release Note:

This causes two minor changes to the API.

First, unset parallelism previously was defaulted to be
equal to completions.  Now it always defaults to 1 if unset.

Second, having parallelism=N and completions unset would previously
be defaulted to 1 completion and N parallelism.
(this is not something we expect people to do, though)
Now, no defaulting occurs in that case, and the job's
behavior is different (any completion causes success).
2016-01-22 14:57:51 -08:00
nikhiljindal 0ab152ddf2 Adding an example apiserver 2016-01-22 11:52:16 -08:00
Clayton Coleman 4a6935b31f Remaining codec change refactors 2016-01-22 13:27:27 -05:00
Clayton Coleman 33085c0cf2 Update tests to handle codec changes 2016-01-22 13:27:26 -05:00
nikhiljindal 2ad642d370 Merge registered and latest and move to apimachinery 2016-01-21 14:42:21 -08:00
k8s-merge-robot 1c861d43ac Merge pull request #18298 from pmorie/secret-env
Auto commit by PR queue bot
2016-01-20 03:55:40 -08:00
k8s-merge-robot 16a78198c3 Merge pull request #17932 from GertiPoppel/DocContribution
Auto commit by PR queue bot
2016-01-19 17:15:33 -08:00