Commit Graph

6290 Commits

Author SHA1 Message Date
Zach Loafman
65d28d5fd1 Kubernetes version v1.0.4 2015-08-25 14:08:30 -07:00
Zach Loafman
baf11959e4 Versioning docs and examples for 1.0.4 2015-08-25 14:08:29 -07:00
Alex Robinson
473f8bea54 Be more lenient when deriving the node tag from a node name on GCE. 2015-08-24 22:52:23 -07:00
Derek Parker
36deb14f58 Handle full hostname when computing host tag on GCE
The current code assumes the full domain name will not be included,
which is not always the case. This patch adds support for computing the
host tag from a fully qualified domain name.
2015-08-24 22:52:20 -07:00
Adam Sunderland
58434708b7 Fetch AWS PrivateDNSName for route recon 2015-08-21 14:16:12 -04:00
Zach Loafman
353014bf34 Merge pull request #12559 from brendandburns/cherrypick
Pseudo Cherrypick: Fix the node controller in an emulation of #12546
2015-08-19 13:29:13 -07:00
Brendan Burns
1420822858 Fix the node controller in an emulation of #12546 2015-08-19 11:02:57 -07:00
Justin Santa Barbara
832be852d0 Fixes per review
Primarily go style issues; also a TODO that really exponential backoff
is the correct policy for API call retries.
2015-08-19 09:54:11 -07:00
Justin Santa Barbara
ef9d48c23a 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-08-19 09:54:11 -07:00
Justin Santa Barbara
6df37cb901 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-08-19 09:54:11 -07:00
Mike Danese
0496a2f571 run gofmt on everything we touched 2015-08-17 12:56:11 -07:00
Mike Danese
ca93eb0c38 rewrite go imports 2015-08-17 12:52:58 -07:00
Brendan Burns
61c6ac5f35 Kubernetes version v1.0.3 2015-08-06 21:56:59 -07:00
Brendan Burns
4475a2ae8e Versioning docs and examples for 1.0.3 2015-08-06 21:56:20 -07:00
CJ Cullen
e0c51f6427 Make gce.ExternalID() use metadata server when requesting current external ID
Use the already computed instanceID instance of looking it up again.
2015-08-03 15:41:58 -07:00
Brendan Burns
e310e619fc Kubernetes version v1.0.2 2015-07-31 21:21:58 -07:00
Brendan Burns
2a19fa92fb Versioning docs and examples for 1.0.2 2015-07-31 21:21:14 -07:00
Zach Loafman
fd23207b81 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-31 11:58:34 -07:00
Zach Loafman
2839494709 Merge pull request #12054 from a-robinson/automated-cherry-pick-of-#12024-#11963-upstream-release-1.0
Automated cherry pick of #12024 #11963
2015-07-31 05:34:28 -07:00
Alex Robinson
4253e2e710 Limit the logging from kubelet attempting to read its manifest URL.
Without this, it logs an error every 20 seconds if nothing is at the
provided URL.
2015-07-30 16:42:03 -07:00
Alex Robinson
a25537d991 Support passing a header to the manifest URL in the kubelet.
Needed to support using GCE's v1 metadata API, which requires passing
the header "Metadata-Flavor: Google".
2015-07-30 16:42:03 -07:00
saadali
5f4fa0dfdf Make GCE PD attach block on pending detach. Retry on detach/attach errors. 2015-07-30 15:47:09 -07:00
Alex Robinson
82b1c69fc1 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-29 03:40:23 +00:00
Daniel Smith
113870cdfa fix tests messed up by rebase 2015-07-21 11:14:57 -07:00
Daniel Smith
f5b1aafd44 Versionize for 1.0.1 2015-07-21 10:24:08 -07:00
Tim Hockin
b8378c2ea0 Add munger to verify kubectl -f targets, fix docs 2015-07-21 10:23:49 -07:00
David Oppenheimer
23a74c5b11 Move docs/services-firewalls.md into docs/user-guide/ and make small
wording changes to api.md
2015-07-21 10:23:48 -07:00
hurf
4095c01561 Add a better help message for kubectl describe
When resource type isn't given in the command, print the possible
resource types. Also added the resource type description in help
strings.
2015-07-21 10:23:42 -07:00
Brendan Burns
617ff1f9f9 Fix a small typo. 2015-07-21 10:23:35 -07:00
feihujiang
e505fc9afc Fix small nits for kubectl port-forward command 2015-07-21 10:23:32 -07:00
Daniel Smith
ce1c6d90e6 Revert "Versioning docs and examples for 1.0.0"
This reverts commit efe72fd580.
2015-07-20 23:26:36 -07:00
Daniel Smith
f7e4f22190 Revert "Versioning docs and examples for 1.0.1"
This reverts commit 8977691668.
2015-07-20 23:19:04 -07:00
Brendan Burns
cb855134cc Kubernetes version v1.0.1-dev 2015-07-17 15:48:36 -07:00
Brendan Burns
6a5c06e3d1 Kubernetes version v1.0.1 2015-07-17 15:47:54 -07:00
Brendan Burns
8977691668 Versioning docs and examples for 1.0.1 2015-07-17 15:47:17 -07:00
nikhiljindal
0131dd22b7 Fixing the error message 2015-07-17 10:45:01 -07:00
Zach Loafman
6cba28f987 Merge pull request #11433 from nikhiljindal/automated-cherry-pick-of-#11397-upstream-release-1.0
Automated cherry pick of #11397
2015-07-17 09:38:47 -07:00
Zach Loafman
a27fcc93f0 Merge pull request #11388 from brendandburns/automated-cherry-pick-of-#11329-upstream-release-1.0
Automated cherry pick of #11329
2015-07-17 08:25:31 -07:00
nikhiljindal
aa430bbd7e Introduce a new service generator that leaves service port unnamed 2015-07-17 02:07:23 -07:00
Max Forbes
877fa10ad1 Add ServiceAccount as an alias for ServiceAccountName 2015-07-16 17:53:01 -07:00
Zach Loafman
9bff6473e4 Merge pull request #11347 from nikhiljindal/automated-cherry-pick-of-#11258-upstream-release-1.0
Automated cherry pick of #11258
2015-07-16 14:47:19 -07:00
Alex Robinson
5e31d899f9 Fix issue of comparing instance URLs with different project ID representations in GCE target pools. 2015-07-16 11:44:16 -07:00
Brendan Burns
6bfeb72d76 Add monitoring and healthz based on tunnel health. 2015-07-16 11:42:50 -07:00
nikhiljindal
3461c21b1d Add namespace to nickname to prevent dup swagger nicknames 2015-07-15 16:58:29 -07:00
Tim Hockin
60d4d7888e Fix load-balancer firewall messages 2015-07-14 21:08:23 -07:00
Zach Loafman
14177a3a26 Fix TestRunExposeService
No longer emits "you will also need to explicitly open a firewall"
after #10974.

Fixes #11105
2015-07-13 09:44:00 -07:00
Brendan Burns
fcb7c8c15d Kubernetes version v1.0.0-dev 2015-07-10 21:02:31 -07:00
Brendan Burns
cd821444dc Kubernetes version v1.0.0 2015-07-10 21:01:34 -07:00
Brendan Burns
efe72fd580 Versioning docs and examples for 1.0.0 2015-07-10 21:00:33 -07:00
Rohit Jnagal
d61d272beb Merge pull request #10974 from brendandburns/lakesong
Automatically open a firewall when creating a GCE load balancer.
2015-07-10 19:21:06 -07:00