Commit Graph

15462 Commits

Author SHA1 Message Date
deads2k
2c06f11052 make kubelet prefer ipv4 address if available 2015-07-28 15:45:57 -04:00
David Oppenheimer
bfb6203627 Merge pull request #11940 from brendandburns/e2e2
Disable a couple of flaky tests.
2015-07-28 21:31:53 +02:00
Zach Loafman
4363f14e77 Enacting versioning.md
This PR changes how we version going forward in the following ways:

* mark-new-version.sh is changed to a new policy of just splitting
branches, rather than the old backmerge policy, as discussed in
vX.Y.0, and a tag for vX.(Y+1).0-alpha.0 back to master.

* I eliminated PRs back to master by making the version/base.go
gitVersion and gitCommit just be `export-subst`. I testing that this
works with GitHub's source export tarballs. There's no reason to
bother with forcing the version into `base.go` (especially twice). The
tarball versions outside a git tree aren't perfect (master looks like
"v0.0.0+hash", and the release branches look more accurate), but our
build contract has never allowed that version is perfect in this
situation, so I think we can relax this.

* That master tag gets picked up by "git describe" on master, so e.g.
master would have immediately become v1.1.0-alpha.0

* In order to be more semVer compatible, the gitVersion field for the
master branch now looks something like 1.1.0-alpha.0.6+84c76d1142ea4d.
This is a tiny translation of the "git describe". I did this because
there are a ton of consumers out there of the "gitVersion" field
expecting it to be the full version, but it would be nice if this
field were actually semver compliant. (1.1.0-alpha.0-6-84c76d1142ea4d
is, but it's not *usefully* so.)

Fixes #11495
2015-07-28 11:58:44 -07:00
Jeff Lowdermilk
27ce920c1b Remove unused vars in cluster/gke/config and add warning 2015-07-28 11:58:20 -07:00
Brendan Burns
660efc7583 Disable a couple of flaky tests. 2015-07-28 11:42:39 -07:00
derekwaynecarr
e62c47db8c Update kube-apiserver unit files for systemd 2015-07-28 14:36:56 -04:00
saadali
09c137e99b Fix flaky PD test by adding wait for detach 2015-07-28 11:25:46 -07:00
Cesar Wong
a84fa79a01 Use versioned objects for GET and CONNECT operations 2015-07-28 13:43:23 -04:00
Justin Santa Barbara
62bb38af21 e2e: Improve logging while waiting for node readiness
Per suggestions by mbforbes
2015-07-28 12:41:40 -04:00
Bryan Stenson
85b04f9e6c minor doc typo 2015-07-28 09:24:17 -07:00
Justin Santa Barbara
edd21d1e7a Cleanup #11029 to use go autocast-after-type-switch
(thanks to brendandburns for the suggestion)
2015-07-28 12:10:31 -04:00
Wojciech Tyczynski
b69ef7b5ca Remove shell services test 2015-07-28 17:14:18 +02:00
jayunit100
739e79dd9f Modularized implementation of prompush json with e2e running pending push gateway gauges. 2015-07-28 09:29:57 -04:00
Chi Vinh Le
d91932f0b7 SSH tunnels fallback to LegacyHostIP 2015-07-28 10:10:48 +02:00
Marek Biskup
860822431b e2e test for dns example 2015-07-28 08:34:38 +02:00
Marek Biskup
eb43cbb5dc e2e: reading stdin in kubectl 2015-07-28 08:30:59 +02:00
Brendan Burns
64be76c14d Add support for Attach to the kubelet.
This is a pre-cursor to supporting 'kubectl attach ...' and 'kubectl run -it ...'
2015-07-27 21:48:55 -07:00
Chao Xu
70a29c1a3a address comments, wait for travis pass 2015-07-27 21:08:02 -07:00
Dai Zuozhuo
949704af2c jsonpath template 2015-07-28 10:17:56 +08:00
Harry Zhang
e6a2b068cb Fix intend mess in scripts 2015-07-28 10:15:14 +08:00
Harry Zhang
611a41d894 Merge scripts of kube-in-docker with the manual guide 2015-07-28 10:15:14 +08:00
Daniel Smith
c5bffaaf31 Merge pull request #11903 from mikedanese/renamers
rename StoreToControllerLister -> StoreToReplicationControllerLister
2015-07-27 17:33:05 -07:00
Daniel Smith
f37be94d3f Merge pull request #11906 from eghobo/patch-1
Added create folder command to avoid situation when apiserver doesn't…
2015-07-27 17:32:18 -07:00
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
Muhammed Uluyol
ab83ad2e4b Update documentation for deep copy functions 2015-07-27 16:47:41 -07:00
Mike Danese
b37e7bbd7c fix incorrect maintainer for getting started from scratch guide 2015-07-27 16:26:42 -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
Mike Danese
d167fa27e0 rename StoreToControllerLister -> StoreToReplicationControllerLister to make room for more controllers 2015-07-27 16:13:47 -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
Egor Guz
1d12f4604a Added create folder command to avoid situation when apiserver doesn't start fast enough.
kube-apiserver.service has 'ExecStartPre=/usr/bin/mkdir -p /var/lib/kube-apiserver', but if server is not fast enough 'mv /home/core/known_tokens.csv /var/lib/kube-apiserver/known_tokens.csv' will fail.
2015-07-27 16:01:59 -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
Janet Kuo
0e42d0699a Add '-o name' to mutations 2015-07-27 14:06:53 -07:00
Gurvinder Singh
5599d83685 added standard copyright 2015-07-27 23:01:49 +02: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
Avesh Agarwal
1d2ae296fd Update fedora ansible guide to reflect recent changes in the kubernetes
ansible code.
2015-07-27 16:00:13 -04: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