Commit Graph

1340 Commits

Author SHA1 Message Date
Christian Koep cb3454769d Fix elasticsearch example volume descriptors
This makes the elasticsearch example work with Kubernetes 1.1.x.
2016-06-27 17:39:55 +02:00
Brandon Philips 281ee9ac6d examples/flexvolume: fix README link
nginx.yaml wasn't actually linked, fix this.
2016-06-24 14:20:45 -07:00
k8s-merge-robot dea0e1cad5 Merge pull request #27033 from zefciu/lvm-fix
Automatic merge from submit-queue

Fixed an error in lvm bash script

The space in this script is an obvious typo and caused an error
(trying to call volume_id as command).
2016-06-24 13:56:55 -07:00
Janet Kuo 8c1230080e Fix broken redis example e2e tests 2016-06-21 11:50:26 -07:00
Janet Kuo 68d7709815 Fix broken spark example e2e test 2016-06-21 11:50:26 -07:00
Daniel Smith c99138b3da Merge pull request #27221 from david-mcmahon/updatedocs
Update the latestReleaseBranch to release-1.3 in the munger.
2016-06-15 14:43:06 -07:00
Zach Loafman cd272ee4a6 Revert "Redo v1.4.0-alpha.0"
This reverts commit c7f1485e1b3491e98f102c30e7e342cb53dda818, reversing
changes made to 939ad4115a2a96f1e18758ec45b7d312bec65aa7.
2016-06-14 09:01:53 -07:00
Zach Loafman e9903fd484 Redo v1.4.0-alpha.0 2016-06-14 09:01:41 -07:00
David McMahon f05b9a47e9 Updated docs and examples for release-1.3. 2016-06-13 12:24:34 -07:00
Dawn Chen 0cba8b9eae Revert "Versioning docs and examples for v1.4.0-alpha.0."
This reverts commit cce9db3aa9555671c5ddf69549b46ed0fd7e472a.
2016-06-10 16:46:46 -07:00
David McMahon b1e6c67b24 Versioning docs and examples for v1.4.0-alpha.0. 2016-06-10 14:55:35 -07:00
David McMahon c1c109fb2e Versioning docs and examples for v1.4.0-alpha.0. 2016-06-10 14:21:20 -07:00
Szymon Pyżalski 094083854d Fixed an error in lvm bash script
The space in this script is an obvious typo and caused an error
(trying to call volume_id as command).
2016-06-08 11:55:23 +02:00
Manuel de Brito Fontes a99009840f Update redis example to use alpine:3.4 2016-06-02 21:39:54 -04:00
Girish Kalele ffd0639d0a Switch DNS addons from skydns to kubedns
Unified skydns templates using a simple underscore based template and
added transform sed scripts to transform into salt and sed yaml
templates

Moved all content out of cluster/addons/dns into build/kube-dns and
saltbase/salt/kube-dns
2016-05-31 10:14:14 -07:00
k8s-merge-robot 36ba2420ad Merge pull request #26022 from chrislovecnm/cassandra-image-bump
Automatic merge from submit-queue

fixing docker file, and bumping cassandra version

- had issue with current v9 build.  `cassandra.yaml` was not editable by the cassandra user, chown and chmod is now correct
- rebuild jar against 3.5 cassandra version and bumped C* version
2016-05-29 02:17:13 -07:00
k8s-merge-robot 96c36b5078 Merge pull request #25972 from luxas/remove_arch_constants
Automatic merge from submit-queue

Use pause image depending on the server's platform when testing

Removed all pause image constant strings, now the pause image is chosen by arch. Part of the effort of making e2e arch-agnostic.

The pause image name and version is also now only in two places, and it's documented to bump both
Also removed "amd64" constants in the code. Such constants should be replaced by `runtime.GOARCH` or by looking up the server platform

Fixes: #22876 and #15140
Makes it easier for: #25730
Related: #17981

This is for `v1.3`
@ixdy @thockin @vishh @kubernetes/sig-testing @andyzheng0831 @pensu
2016-05-28 04:48:59 -07:00
Alex Robinson 566ee46491 Merge pull request #22665 from rootfs/nfs-doc
better NFS example doc
2016-05-27 11:32:38 -07:00
Lucas Käldström 6a0d90f316 Removed all pause image constant strings, now the pause image is chosen by arch. Part of the effort of making e2e arch-agnostic 2016-05-26 19:16:43 +03:00
chrislovecnm edc8554204 merge 2016-05-24 16:13:27 -06:00
chrislovecnm 33dcbccba1 catching all Exceptions which allows for running outside of k8s easier 2016-05-24 16:11:33 -06:00
chrislovecnm f075c5fd6e more permission issues 2016-05-24 16:10:47 -06:00
chrislovecnm 9384ca0567 fixing docker file, and bumping cassandra version 2016-05-21 12:42:47 -06:00
chrislovecnm c55a3789b7 fixing docker file, and bumping cassandra version 2016-05-21 12:41:19 -06:00
Huamin Chen 36d0fa1ef2 update to latest gcr image
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-05-20 17:40:23 -04:00
k8s-merge-robot aa0c4e8b17 Merge pull request #25583 from chrislovecnm/cassandra-image-bump
Automatic merge from submit-queue

Cassandra examples updating images to v9

- this is a version bump for the C* image
- I also increased the cpu to .5 because .1 is slow like warm death

Who can actually run the build to get the container to the examples repo?
2016-05-20 04:42:12 -07:00
k8s-merge-robot 930b028d96 Merge pull request #25266 from smarterclayton/common_storage
Automatic merge from submit-queue

kube-apiserver options should be decoupled from impls

A few months ago we refactored options to keep it independent of the
implementations, so that it could be used in CLI tools to validate
config or to generate config, without pulling in the full dependency
tree of the master.  This change restores that by separating
server_run_options.go back to its own package.

Also, options structs should never contain non-serializable types, which
storagebackend.Config was doing with runtime.Codec. Split the codec out.

Fix a typo on the name of the etcd2.go storage backend.

Finally, move DefaultStorageMediaType to server_run_options.

@nikhiljindal as per my comment in #24454, @liggitt because you and I
discussed this last time
2016-05-19 06:13:38 -07:00
chrislovecnm 1da766080c More updates to docker, including more env overrides. For example you can now set cluster name.
someone tell me if this is wrong, but I do not think "examples/cassandra/image/run.sh:    cluster_name \" should have been found
2016-05-18 17:03:46 -06:00
chrislovecnm c6a9abbef0 added better logging and different type of exception handling when we do not have k8s 2016-05-18 17:00:53 -06:00
chrislovecnm 3b35ed8da2 updating images to v9 2016-05-18 17:00:53 -06:00
Clayton Coleman 60def1ee8c kube-apiserver options should be decoupled from impls
A few months ago we refactored options to keep it independent of the
implementations, so that it could be used in CLI tools to validate
config or to generate config, without pulling in the full dependency
tree of the master.  This change restores that by separating
server_run_options.go back to its own package.

Also, options structs should never contain non-serializable types, which
storagebackend.Config was doing with runtime.Codec. Split the codec out.

Fix a typo on the name of the etcd2.go storage backend.

Finally, move DefaultStorageMediaType to server_run_options.
2016-05-18 10:39:21 -04:00
Tim Hockin b0f466e7ed Revert "Update cassandra.list" 2016-05-17 20:09:34 -07:00
k8s-merge-robot 704717646d Merge pull request #25711 from bobintornado/patch-1
Automatic merge from submit-queue

Update cassandra.list

## Pull Request Guidelines

1. Please read our [contributor guidelines](https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md).
1. See our [developer guide](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md).
1. Follow the instructions for [labeling and writing a release note for this PR](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes) in the block below.

```release-note
* Use the release-note-* labels to set the release note state 
* Clear this block to use the PR title as the release note 
-OR-
* Enter your extended release note here
```


[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()

Upgrade cassandra version from 34x to 35x
2016-05-17 01:56:08 -07:00
k8s-merge-robot 3709e301ed Merge pull request #24564 from azell/newrelic-daemonset
Automatic merge from submit-queue

Newrelic daemonset

1. base64 on Mac does not support the **wrap** option. Easy to support on both Mac and Linux by using **tr** to remove the newline.
2. DaemonSet definition does not conform to latest schema:

> $ kubectl create -f ./newrelic-daemonset.yaml 
error validating "./newrelic-daemonset.yaml": error validating data: found invalid field privileged for v1.PodSecurityContext; if you choose to ignore these errors, turn validation off with --validate=false

<!-- Reviewable:start -->
---
This change is [<img src="http://reviewable.k8s.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](http://reviewable.k8s.io/reviews/kubernetes/kubernetes/24564)
<!-- Reviewable:end -->
2016-05-17 01:55:55 -07:00
Adam Zell 409e332853 The Mac version of base64 does not support the wrap option. Use tr to delete the trailing newline for Mac and Linux runs.
Move the security context tag under containers.

Run hack/update-generated-docs.sh
2016-05-17 00:14:58 -07:00
k8s-merge-robot 11eda6e809 Merge pull request #25665 from ursuad/patch-1
Automatic merge from submit-queue

Fixed namespace name to spark-cluster

Just changed the namespace from **default** to **spark-cluster** in the spark example docs.
2016-05-16 23:49:46 -07:00
Bob Cao 950dce77bb Update cassandra.list
Upgrade cassandra version from 34x to 35x
2016-05-17 11:17:38 +08:00
Adrian Ursu 2166fce94b Update README.md 2016-05-16 14:32:33 +01:00
Adrian Ursu 7a628d406a Fixed namespace name to spark-cluster 2016-05-16 14:06:07 +01:00
Brandon Philips 437e2d90d7 examples: guestbook-go: fix the redis-master version
The guestbook-go example is broken because the latest tag of redis has
moved to redis 3.0 which speaks a new protocol. This means that the
slaves, which have fixed 2.0 versions, will error out on the protocol:

```
[7] 15 May 23:37:44.403 # Can't handle RDB format version 7
[7] 15 May 23:37:44.403 # Failed trying to load the MASTER synchronization DB from disk
[7] 15 May 23:37:45.333 * Connecting to MASTER redis-master:6379
[7] 15 May 23:37:45.427 * MASTER <-> SLAVE sync started
```

In this case the app simply never persists data.

cc @luebken @Gurpartap
2016-05-15 18:46:27 -05:00
nikhiljindal fc7b306337 Adding a discovery summarizer server 2016-05-13 13:52:23 -07:00
Huamin Chen 03fb5138cc expose rpcbind service, so nfs client can use service IP to access NFS share
Signed-off-by: Huamin Chen <hchen@redhat.com>
2016-05-10 18:24:24 +00:00
Tim Hockin 2c8508c44a Rename codecgen "testdata" dir so ugorji works
Go mistreats "testdata" and can't find vendor/ dirs.
2016-05-08 20:32:09 -07:00
Tim Hockin 5d39117b3b Convert everything to use vendor/ 2016-05-08 20:30:37 -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
Clayton Coleman 52f2d566d4 Split the storage and negotiation parts of Codecs
The codec factory should support two distinct interfaces - negotiating
for a serializer with a client, vs reading or writing data to a storage
form (etcd, disk, etc). Make the EncodeForVersion and DecodeToVersion
methods only take Encoder and Decoder, and slight refactoring elsewhere.

In the storage factory, use a content type to control what serializer to
pick, and use the universal deserializer. This ensures that storage can
read JSON (which might be from older objects) while only writing
protobuf. Add exceptions for those resources that may not be able to
write to protobuf (specifically third party resources, but potentially
others in the future).
2016-05-05 12:08:23 -04:00
k8s-merge-robot 89b9001324 Merge pull request #24887 from nikhiljindal/runOptions
Automatic merge from submit-queue

Deleting duplicate code from federated-apiserver.Run()

This removes most of duplicate code from federated-apiserver.Run().
The code remaining is related to storage or authz and authn.
https://github.com/kubernetes/kubernetes/pull/24787 refactors the storage related code.
I am still figuring out authz and authn.

cc @jianhuiz
2016-05-05 06:50:56 -07:00
Yu-Ju Hong 20f29a1ccd Remove redundant RC and service tests in integration.go 2016-05-03 17:13:10 -07:00
nikhiljindal a321edae03 Deleting duplicate code from federated-apiserver 2016-05-03 14:04:09 -07:00