Commit Graph

15258 Commits

Author SHA1 Message Date
Daniel Smith
a9948158eb Merge pull request #11867 from kelseyhightower/node-cidrs-works-with-empty-cloud-provider
Allocating CIDRs for Pods works without a cloud provider.
2015-07-27 17:20:44 -07:00
Brendan Burns
8866cf0580 Merge pull request #11905 from thockin/docs-cleanup
Auto commit by PR queue bot
2015-07-27 16:48:00 -07:00
Daniel Smith
226c950bda Merge pull request #11409 from pmorie/secrets-bc-type
Refactor secrets volume plugin to separate builder and cleaner types
2015-07-27 16:22:58 -07:00
Daniel Smith
8d5a6b063c Merge pull request #11029 from justinsb/fix_aws_security_group_races
AWS: Fix security group races
2015-07-27 16:15:43 -07:00
Daniel Smith
6c36f0dfa4 Merge pull request #11891 from a-robinson/lb
Add a resync period for services in the service controller
2015-07-27 16:15:03 -07:00
Daniel Smith
b1e6b87a5f Merge pull request #11829 from markturansky/validate_access_modes
Add validation for AccessModes
2015-07-27 16:14:38 -07:00
Kelsey Hightower
93a374512e Allocating CIDRs for Pods works without a cloud provider.
Currently setting the `--allocate-node-cidrs` flag to true with an
empty cloud provider causes the kube-controller-manager to crash during
startup.

Fix the issue by checking for an empty cloud provider before setting
up route management on the cloud provider. This change introduces a
change in behavior. The kube-controller-manager now supports allocating
pod CIDRs without a cloud provider. This means users must manage routes
through some other mechanism.

The controller manager logs a warning if `--allocate-node-cidrs` is set,
but not a cloud provider:

```
I0725 17:10:41.587888   43185 plugins.go:70] No cloud provider specified.
I0725 17:10:41.588036   43185 nodecontroller.go:114] Sending events to api server.
E0725 17:10:41.588122   43185 controllermanager.go:201] Failed to start service controller: ServiceController should not be run without a cloudprovider.
W0725 17:10:41.588136   43185 controllermanager.go:213] allocate-node-cidrs is set, but no cloud provider specified. Will not manage routes.
E0725 17:10:41.589703   43185 nodecontroller.go:187] Error monitoring node status: Get http://127.0.0.1:8080/api/v1/nodes: dial tcp 127.0.0.1
```

Fixes #11866
2015-07-27 16:13:19 -07:00
Daniel Smith
11899c3080 Merge pull request #11465 from pmorie/git-bc-type
Refactor git repo volume to separate builder and cleaner
2015-07-27 16:11:01 -07:00
Tim Hockin
c2e8fa843a capitalization 2015-07-27 16:01:26 -07:00
Daniel Smith
6e8648f828 Merge pull request #11633 from JanetKuo/docs-use-example-syncer
Use example syncer tags instead of hard-coded examples in doc
2015-07-27 15:23:42 -07:00
Paul Morie
918925e09d Refactor git repo volume to separate builder and cleaner 2015-07-27 18:18:41 -04:00
Paul Morie
20ba173913 Refactor secrets volume plugin to separate builder and cleaner types 2015-07-27 18:13:39 -04:00
Janet Kuo
180798cfa4 Use example syncer tags instead of hard-coded examples in doc 2015-07-27 14:48:41 -07:00
Daniel Smith
2bd53119b1 Merge pull request #10524 from bprashanth/delete_overlapping_error
Add clarity around overlapping controllers
2015-07-27 14:31:49 -07:00
Daniel Smith
3900272c1a Merge pull request #10813 from jlowdermilk/kubectl-e2e
`kubectl proxy` supports picking random unused port, add e2e test
2015-07-27 14:23:37 -07:00
Daniel Smith
777cad12d5 Merge pull request #11881 from mwielgus/cassandra-image
Cassandra gcr.io/google_containers image version inc
2015-07-27 14:14:39 -07:00
Daniel Smith
a171d2e4fb Merge pull request #11765 from piosz/kube-ui-config
Made enabling Kube UI configurable
2015-07-27 13:55:04 -07:00
Daniel Smith
3fc46a2f7f Merge pull request #11897 from brendandburns/shippable
Remove base image from shippable.yml, it's specified in project settings now.
2015-07-27 13:52:48 -07:00
Daniel Smith
544eb17ada Merge pull request #10483 from markturansky/vol_aws_name_fix
Changed AWS Volume Plugin name from 'pd' to 'ebs'
2015-07-27 12:45:11 -07:00
Brendan Burns
0a20df671f Remove base image from shippable.yml, it's specified in project settings now. 2015-07-27 12:38:08 -07:00
Daniel Smith
e45c6f9847 Merge pull request #11294 from mwielgus/hazelcast_e2e
E2E test for examples/hazelcast
2015-07-27 11:46:47 -07:00
Alex Robinson
60611c253e Add a resync period for services in the service controller.
This should ensure all load balancers get deleted even if a reordering of
watch events causes us to strand one after its service has been deleted,
because the sync will notice that the service controller's cache has a
service in it that no longer exists in the apiserver.

It could still leak in the case that the controller manager is killed
between when it leaks something and the sync runs, but this should
improve things.
2015-07-27 18:03:13 +00:00
markturansky
e380242b16 Changed pdManager to ebsManager 2015-07-27 13:52:04 -04:00
markturansky
98ec116f3f Improved internal naming from 'pd' to 'ebs' to match the volume 2015-07-27 13:52:04 -04:00
Daniel Smith
d63e35247f Merge pull request #11855 from davidopp/doc2
Fix link to node selector documentation.
2015-07-27 10:05:31 -07:00
markturansky
0a0af48e51 added validation for AccessModes 2015-07-27 13:02:16 -04:00
Jeff Lowdermilk
69166f17ad e2e test for kubectl proxy 2015-07-27 09:57:33 -07:00
Jeff Lowdermilk
f71a662dc6 Make kubectl proxy support picking a random port 2015-07-27 09:56:33 -07:00
Marek Grabowski
74b78d537d Merge pull request #10824 from stefwalter/docker-images-with-repo
build: Fix docker image lookup for docker 1.6+
2015-07-27 17:26:26 +02:00
Marek Grabowski
9cccdc98e8 Merge pull request #11865 from thockin/versionize-sed-g
Apply version subst multiple times per line
2015-07-27 17:25:50 +02:00
Marek Grabowski
8ec5324efd Merge pull request #11868 from nak3/fix-dead-link
Fix dead link in Kubernetes on Mesos getting started guide
2015-07-27 16:12:29 +02:00
Marek Grabowski
1b0ce7a32e Merge pull request #11828 from mikedanese/cassandra-cleanup
cleanup cassandra example to conform to doc standards
2015-07-27 16:11:47 +02:00
Marek Grabowski
5c72b908f4 Merge pull request #11864 from danieldreier/service_account_typo_fix
Fix typo in service account documentation
2015-07-27 16:10:52 +02:00
Marek Grabowski
177a06af61 Merge pull request #11859 from jiangyaoguo/new-builder-cleaner-for-rbd-volume
Refector rbd volume to seperate builder and cleaner
2015-07-27 14:12:44 +02:00
Marcin Wielgus
ffb3f2535f Cassandra gcr.io/google_containers image version inc 2015-07-27 13:34:47 +02:00
Marek Grabowski
e706e8138b Merge pull request #11406 from andronat/update_go_restful
updated go-restful
2015-07-27 12:57:06 +02:00
Marek Grabowski
7b9e2ac63b Merge pull request #11734 from thockin/cleanup-deprecated-rest-alias
Remove deprecated 'se' resource alias
2015-07-27 12:56:43 +02:00
Marcin Wielgus
02b431da46 E2E tests for examples/hazelcast 2015-07-27 12:10:17 +02:00
Marek Grabowski
7cc1855c27 Merge pull request #11806 from wojtek-t/private_etcd_helper
Make EtcdHelper private - expose only StorageInterface
2015-07-27 11:21:28 +02:00
Marek Grabowski
00cd52dd68 Merge pull request #10656 from krousey/timeouts
Adding proper timeouts.
2015-07-27 10:56:58 +02:00
Kenjiro Nakayama
ac5aa8ee7d Fix dead link in Kubernetes on Mesos getting started guide 2015-07-27 17:20:39 +09:00
Stef Walter
f06474d938 build: Fix docker image lookup for docker 1.6+
Some versions of docker display image listings like this:

docker.io/golang    1.4                 ebd45caf377c        2 weeks ago

The regular expression used to detect presence of images
needs to be updated. It's unfortunate that we're still
screen-scaping here, due to:

https://github.com/docker/docker/issues/8048
2015-07-27 09:58:15 +02:00
Marek Grabowski
831827b4bb Merge pull request #11056 from wojtek-t/rewrite_services_in_go
Rewrite services shell test in Go.
2015-07-27 09:21:44 +02:00
Wojciech Tyczynski
9d943df397 Private EtcdHelper 2015-07-27 09:20:13 +02:00
Piotr Szczesniak
f48543aba5 Made enabling Kube UI configurable 2015-07-27 08:23:04 +02:00
Justin Santa Barbara
23a190cd97 Fixes per review
Primarily go style issues; also a TODO that really exponential backoff
is the correct policy for API call retries.
2015-07-26 18:30:02 -04:00
Justin Santa Barbara
092d407a48 AWS: Fix race in security-group read/create
We need to find the ID for a named security group, or create a new one.

We do this by listing the security groups, and then doing a create if we
cannot find one.  This is a race though; against another thread if the
AWS API were consistent, but generally because the AWS API is actually
eventually consistent.

We wrap it in a retry loop.
2015-07-26 18:16:05 -04:00
Justin Santa Barbara
d7bace23ff AWS: Fix race-condition in tagging of security group
When we create a security-group in the AWS API, there is sometimes
a delay before we can tag it (the AWS API is eventually consistent).

So we wrap CreateTags in a simple retry loop.
2015-07-26 18:16:05 -04:00
Tim Hockin
fbc0c7558e Apply version subst multiple times per line 2015-07-25 13:46:09 -07:00
Daniel Dreier
8130a4c390 Fix typo in service account documentation
Extra "c" in "serviceaccounts" made example not work when copy-pasting.
2015-07-25 12:32:00 -07:00