Commit Graph

152 Commits

Author SHA1 Message Date
Huamin Chen 48540305e6 update iSCSI README with CHAP instruction
Signed-off-by: Huamin Chen <hchen@redhat.com>
2017-04-07 16:38:29 +00:00
Andrea Cosentino 8a38818ec9 Upgrade Hazelcast example with the latest hazelcast-kubernetes-bootstrapper 0.7.0, using Deployments instead of Replication Controller. 2017-02-01 10:04:51 +01:00
Clayton Coleman 440421a46e refactor: move ListOptions references to metav1 2017-01-23 17:52:46 -05:00
deads2k 8cb95e784b start the apimachinery repo 2017-01-11 09:09:48 -05:00
Michail Kargakis 9b6366276d examples: fix OpenShift example 2017-01-09 09:58:35 +01:00
Jimmy Cuadra 7c8101ab3d Rename PetSet to StatefulSet in docs and examples. 2016-11-05 00:17:28 -07:00
Janet Kuo 01b41bc139 Rename PetSet API to StatefulSet 2016-10-27 17:25:10 -07:00
Elson Rodriguez 25281885a4 Updating Spark Example.
Few usability improvements:

- Added a proxy to enable viewing worker logs
- Removed seperate webui service
- Modified Zeppelin and spark-ui services to be Loadbalancers
- Changed pyspark example to be platform agnostic
- Improved kubectl context setup
- Minor grammar/flow fixes
2016-10-10 13:36:31 -07:00
deads2k cb95d04424 refactor small API group packages 2016-09-21 09:14:38 -04:00
chrislovecnm afb2eff237 - updates to docker
- updating java to 3.7
- added pet set example
- adding pet set for Cassandra e2e tests
- changed service as we do not want a lb service, as we are running C*
- updated docs

fixing headers and adding exception for run.sh

adding documentation, thank god for reflog

Did not mean to commit that as the README ... fixing

fixing problems in README

fixing more problems in README

more README tweaks

munge updates

updating examples_test for PetSet in Cassandra examples

updating petset to no use better security context
2016-09-06 19:57:37 -06:00
Kubernetes Submit Queue 85303973ae Merge pull request #31475 from vishh/celery-example-broken
Automatic merge from submit-queue

Delete the broken Celery+RabbitMQ example

The celery container used in the example is broken and does not come up
on most distros. The e2e test that was validating this example was not
detecting the fact the celery pod was crash looping. 
I attempted to fix the celery container, but it proved to be tedious.
The proposed fix is to update the glibc version to >= 2.23. In this case
it requires updating the python docker image and the celery base image.

https://github.com/kubernetes/kubernetes/issues/31456
has more details. 

I'm deleting the example instead of marking it as broken because a user
might overlook the broken warning and it should be trivial to revert
this PR if someone can fix the celery container.
2016-08-26 13:27:48 -07:00
Vishnu kannan 8f832da372 Removing the test that validates celery+rabbitmq
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-08-25 17:15:09 -07:00
Jeff Mendoza 50a882698b Removed non-md files from docs. Moved doc yamls to test/fixtures.
Most of the contents of docs/ has moved to kubernetes.github.io.
Development of the docs and accompanying files has continued there, making
the copies in this repo stale. I've removed everything but the .md files
which remain to redirect old links. The .yaml config files in the docs
were used by some tests, these have been moved to test/fixtures/doc-yaml,
and can remain there to be used by tests or other purposes.
2016-08-25 15:09:27 -07:00
Huamin Chen 2b698f6b71 support Azure data disk volume
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-08-23 13:23:07 +00:00
Eric Tune 06f77838a2 Remove examples moved to docs site
Part of https://github.com/kubernetes/kubernetes/issues/23511
Left redirect in md files and deleted files intended for download.
2016-07-18 12:38:13 -07:00
Cindy Wang edf093b61b Consolidated examples into storage/ and volume/ folders
Search and replace for references to moved examples

Reverted find and replace paths on auto gen docs

Reverting changes to changelog

Fix bugs in test-cmd.sh

Fixed path in examples README

ran update-all successfully

Updated verify-flags exceptions to include renamed files
2016-07-08 13:34:32 -07:00
David McMahon b222f28cb9 Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
Robert Bailey 1f875b00d2 Merge pull request #25054 from yujuhong/rm_tests
Remove redundant RC and service tests in integration.go
2016-05-06 15:05:32 -07:00
Kevin 443ed4ed03 implement inter pod topological affinity and anti-affinity 2016-05-06 06:46:23 +00:00
Yu-Ju Hong 20f29a1ccd Remove redundant RC and service tests in integration.go 2016-05-03 17:13:10 -07:00
Maciej Szulik f8fc5437f7 Move internal types of job from pkg/apis/extensions to pkg/apis/batch 2016-04-25 11:03:54 +02:00
Klaus Ma cb3a53c090 Added namespace to Spark example. 2016-04-19 00:34:47 +08:00
Amy Unruh 7314f9f7a0 phase 2 of cassandra example overhaul 2016-04-14 21:55:23 -07:00
goltermann c9b81ab312 Final vet fixes; enabling vet checks in verify scripts. 2016-04-13 13:51:51 -07:00
Janet Kuo 599369872e Update guestbook examples; replace RC concepts with Deployment 2016-03-30 14:16:52 -07:00
Jeff Mendoza ca846d7f2a WordPress example major update.
Rewrite the WordPress example to use deployments, persistent volume
claims, and update the sample flow to the latest guidelines.
2016-03-25 11:40:35 -07:00
Eric Tune d624c731df 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
Janet Kuo 6c151d0d5c Move deployment example to docs/user-guide 2016-02-10 10:46:12 -08:00
k8s-merge-robot 3bd8955360 Merge pull request #20590 from erictune/rc-doc
Auto commit by PR queue bot
2016-02-09 00:11:39 -08:00
Huamin Chen 764435f1f7 support Azure File Service volume
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-02-09 01:07:12 +00:00
Eric Tune 9c1c3e6f70 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
Kevin 5f0d13b045 implement Node affinity and NodeSelector 2016-02-04 01:53:14 +00:00
Clayton Coleman ee295109c1 Update tests to handle codec changes 2016-01-22 13:27:26 -05:00
Paul Morie af46066733 Add ability to consume secrets in env vars 2016-01-18 12:20:51 -05:00
k8s-merge-robot e6339b31c4 Merge pull request #18487 from smarterclayton/guard_encode_decode
Auto commit by PR queue bot
2015-12-13 23:08:18 -08:00
Jeff Lowdermilk 452d64cffc Merge pull request #18276 from thockin/airplane_validation_pt6
Validation cleanup parts 5 & 6 together
2015-12-11 13:34:37 -08:00
Eric Tune 9ee430cba2 Document several patterns for using Job. 2015-12-10 15:54:23 -08:00
Tim Hockin d40f1ffde1 Shorten names for better reading 2015-12-10 11:48:19 -08:00
Tim Hockin 3344075092 Move FieldPath and errors to a sub-package
This makes the naming and reading a lot simpler.
2015-12-10 11:48:16 -08:00
Clayton Coleman 1478ad12ed Hide common codec methods under helpers
The pending codec -> conversion split changes the signature of
Encode and Decode to be more complicated. Create a stub helper
with the exact semantics of today and do the simple mechanical
refactor here to reduce the cost of that change.
2015-12-09 21:15:02 -05:00
Tim Hockin e8f1f5b7c1 Convert validation to use FieldPath
Before this change we have a mish-mash of ways to pass field names around for
error generation.  Sometimes string fieldnames, sometimes .Prefix(), sometimes
neither, often wrong names or not indexed when it should be.

Instead of that mess, this is part one of a couple of commits that will make it
more strongly typed and hopefully encourage correct behavior.  At least you
will have to think about field names, which is better than nothing.

It turned out to be really hard to do this incrementally.
2015-12-03 08:19:44 -08:00
Marek Grabowski 0c685a27ae Merge pull request #16004 from paralin/add-cassandra-daemonset-example
Add example of a cassandra daemonset.
2015-12-03 09:19:14 +01:00
Ravi Gadde 0a64afcedb Scheduler extension 2015-11-25 08:19:27 -08:00
Tim Hockin 8a67a26e50 Stronger typing for validation ErrorList 2015-11-23 10:01:43 -08:00
Christian Stewart fed983c5f7 Add example of a cassandra daemonset.
Introduce examples explaining how to use DataSets to optimally
distribute cassandra nodes onto each kubernetes node in the network.

Signed-off-by: Christian Stewart <christian@paral.in>
2015-11-16 16:50:55 -05:00
Zach Loafman 077eb36715 Zeppelin: Add Zeppelin image to Spark example
This adds a very basic Zeppelin image that works with the existing
Spark example. As can be seen from the documentation, it has a couple
of warts:

* It requires kubectl port-forward (which is unstable across long
periods of time, at least for me, on this app, bug incoming). See

* I needed to roll my own container (none of the existing containers
exactly matched needs, or even built anymore against modern Zeppelin
master, and the rest of the example is Spark 1.5).

The image itself is *huge*. One of the further refinements we need to
look at is how to possibly strip the Maven build for this container
down to just the interpreters we care about, because the deps here
are frankly ridiculous.

This might be a case where, if possible, we might want to open an
upstream request to build things dynamically, then use something like
probably the cut the image down considerably. (This might already be
possible, need to poke at whether you can late-bind interpreters
later.)
2015-11-13 12:02:11 -08:00
feihujiang b5ae9f9493 Delete the simple-yaml.md example 2015-11-12 13:48:52 +08:00
k8s-merge-robot 1c79db1e81 Merge pull request #16320 from zmerlynn/spark-rcs
Auto commit by PR queue bot
2015-10-29 01:42:31 -07:00
k8s-merge-robot 92d4264da1 Merge pull request #16069 from zmerlynn/nfs-1.1
Auto commit by PR queue bot
2015-10-28 22:39:09 -07:00
nikhiljindal 0f0111200c Adding a user-guide doc for deployments 2015-10-28 13:14:08 -07:00