Commit Graph

7776 Commits

Author SHA1 Message Date
Clayton Coleman
bddef32193 Prepare EtcdHelper to extract more data from Node
In order to support graceful deletion, the resource object will
need access to the TTL value in etcd.  Also, in the future we
may want to get the creation index (distinct from modifiedindex)
and expose it to clients.  Change EtcdResourceVersioner to be
more type specific (objects vs lists) and provide a default
implementation that relies on the internal API convention.

Also, rename etcd_tools.go to etcd_helper.go and split a few
things up.
2015-03-16 15:33:50 -04:00
Zach Loafman
ca2579a4b6 Merge pull request #5135 from mbforbes/podsWaitShell
Wait until all startup pods are 'Running' before running e2e tests.
2015-03-16 12:25:25 -07:00
Nikhil Jindal
d1dc17120d Merge pull request #4880 from smarterclayton/better_describe
Make Describe functions available to local objects
2015-03-16 12:19:22 -07:00
Max Forbes
1c4e47fe22 Wait until all startup pods are 'Running' before running e2e tests. 2015-03-16 12:03:57 -07:00
Victor Marmol
3d9bdee5d9 Update get-kube to fetch 0.11.0 (latest stable). 2015-03-16 11:34:54 -07:00
Clayton Coleman
4ca90e0343 FakeEtcdClient should return KeyNotFound on Delete 2015-03-16 14:22:03 -04:00
Clayton Coleman
143015025a Support TTL in genericetcd#Update 2015-03-16 14:22:01 -04:00
Wojciech Tyczynski
5d95e9e671 Remove BoundPods from Kubelet 2015-03-16 19:17:21 +01:00
Subin M
1138045185 use ChooseHostInterface to get IP 2015-03-16 23:37:00 +05:30
Justin Santa Barbara
9361b76977 Configure separate IAM roles for master & minion, create roles automatically 2015-03-16 10:37:25 -07:00
Piotr Szczesniak
2533ddffa5 Ported guestbook.sh e2e test to ginkgo
This fixed #5045
2015-03-16 18:33:15 +01:00
Jeff Lowdermilk
9df2ea4aef Merge pull request #5479 from ArtfulCoder/static_linking
Build statically linked binaries for kubernetes.
2015-03-16 10:24:35 -07:00
Jeff Lowdermilk
e37fd2a84d Merge pull request #5477 from dchen1107/clean
Convert RestartPolicy to string for v1beta3.
2015-03-16 10:23:52 -07:00
Jeff Lowdermilk
2a8528704a Merge pull request #5446 from lavalamp/fix2
Add a system modeler to scheduler
2015-03-16 10:21:02 -07:00
Jeff Lowdermilk
231d6739d4 Merge pull request #5458 from mattmoor/master
Enable usage of a "json key" for authenticating with gcr.io.
2015-03-16 10:12:33 -07:00
Jeff Lowdermilk
a2e710b3fe Merge pull request #5504 from piosz/guestbook_example
Removed resource specification from guestbook example
2015-03-16 10:09:01 -07:00
Jeff Lowdermilk
2965b2f63f Merge pull request #5359 from hurf/master
Add doc on setting proxy while building kubernetes in a container
2015-03-16 10:04:01 -07:00
Jeff Lowdermilk
277dd5e974 Merge pull request #5482 from AAzza/fix-broken-links-in-admin-guide
Fix broken links in cluster-admin guide
2015-03-16 09:54:41 -07:00
Jeff Lowdermilk
f3cb9949a7 Merge pull request #5484 from smarterclayton/dont_warn_on_existing
Don't log when auto-published services and namespace exist already
2015-03-16 09:54:19 -07:00
Alex Robinson
0c84309059 Merge pull request #5485 from vishh/heapster_release
Updating heapster version to v0.9.
2015-03-16 09:39:33 -07:00
Alex Robinson
087e0669d3 Merge pull request #5495 from scuxiayiqian/master
Fix the stop rc failure in Cleanup Step
2015-03-16 09:39:07 -07:00
Alex Robinson
ca46be21e5 Merge pull request #5478 from xudifsd/fix-broken-link-in-services
fix broken link in services.md
2015-03-16 09:37:22 -07:00
Alex Robinson
df0fc75847 Merge pull request #5494 from pcx/docs-fixes
Minor docs fixes
2015-03-16 09:36:56 -07:00
Jeff Lowdermilk
221f226396 Merge pull request #5245 from erictune/ubuntu-fix
Ubuntu-distro: Kubelet and kube-proxy talk to apiserver not etcd.
2015-03-16 09:23:27 -07:00
Justin Santa Barbara
2413d25d29 Create S3 bucket in us-east-1, unless set by AWS_S3_REGION
Buckets are globally named, so we want a single bucket for all our regions.
2015-03-16 08:37:06 -07:00
Wojciech Tyczynski
282fececdd Merge pull request #5499 from fgrzadkowski/fix_makefile
Remove unneeded make rule name.
2015-03-16 16:33:03 +01:00
Clayton Coleman
fe7a573315 Merge pull request #5369 from derekwaynecarr/namespace_registry
Improvements to namespace registry to align with pod model
2015-03-16 11:14:05 -04:00
Robert Bailey
7186b05682 Merge pull request #5469 from TamerTas/master
Refactor examples_test.walkJSONFiles
2015-03-16 08:07:05 -07:00
Robert Bailey
26acbc417b Merge pull request #5452 from piosz/fixes
Increased default timeout in APIServer to 2 minutes
2015-03-16 08:06:28 -07:00
derekwaynecarr
9824d2b5f7 Embed generic etcd in namespace rest store 2015-03-16 10:45:04 -04:00
Derek Carr
90f51dbac9 Merge pull request #5450 from kazegusuri/fix_e2e_vagrant
Fix e2e test on vagrant provider
2015-03-16 10:44:11 -04:00
Derek Carr
440c720805 Merge pull request #5330 from zmerlynn/try_addons_again
Retry object creation with --validate in kube-addons
2015-03-16 10:43:39 -04:00
derekwaynecarr
2d13dfaf13 Improvements to namespace registry to align with pod model 2015-03-16 10:16:28 -04:00
Piotr Szczesniak
e6031e3190 Removed resource specification from guestbook example
The reason is partially #5503 but also I think it makes guestbook more
complicated and is not necessary there.
2015-03-16 14:27:09 +01:00
Wojciech Tyczynski
972a3b1998 Merge pull request #5500 from GoogleCloudPlatform/revert-5464-master
Revert "Update cobra/pflag.  Also update generated kubectl documentation...
2015-03-16 12:59:16 +01:00
Piotr Szczesniak
69432e8b2f Revert "Update cobra/pflag. Also update generated kubectl documentation." 2015-03-16 12:21:20 +01:00
Filip Grzadkowski
b9d7c8f6f5 Remove unneeded make rule name. 2015-03-16 12:04:36 +01:00
scuxiayiqian
831017e5a9 fix the stop rc failure in Cleanup Step 2015-03-16 15:57:29 +08:00
Angus Lees
1437e6b7ca OpenStack: Return multiple private+public NodeAddresses
Add better support for the new NodeAddresses call.  Note the returned
list may include IPv6 addresses (as strings) on many OpenStack clouds.
2015-03-16 17:11:36 +11:00
Angus Lees
8f5064bfea nodecontroller: Include error in error messages
Makes debugging node creation failures far easier...
2015-03-16 15:36:45 +11:00
Angus Lees
437853b8cd Keep resources as numeric values
Previously, this code converted to a string and reparsed back to a
numeric Quantity.  Keeping it numeric avoids the overhead, but also
removes a (theoretical) run-time panic if the re-parse failed.

In addition, since Quantity can now store quantities <1, convert
openstack.org/rxTxFactor back to its original ratio, rather than
arbitrarily scaling it up by 1000.
2015-03-16 15:35:45 +11:00
Angus Lees
e14b73bd30 Reauthenticate to OpenStack periodically
It appears that gophercloud's "AllowReauth" AuthOption doesn't actually
do anything, and the keystone/auth token is never refreshed.  Eventually
it expires and all OpenStack calls receive HTTP 401 responses.

This change reauthenticates every time the Instances() or
TCPLoadBalancer() API object is requested.  This is more frequently than
required, but exposing token expiry information will require gophercloud
surgery.
2015-03-16 15:35:45 +11:00
Angus Lees
762225ed47 OpenStack: Align logging levels with devel/logging.md 2015-03-16 15:35:43 +11:00
Angus Lees
4ff292a65e OpenStack: Support loadbalancer client IP affinity 2015-03-16 15:33:54 +11:00
Phaneendra Chiruvella
6b474e6100 fix sentence in overview.md 2015-03-16 09:44:13 +05:30
Clayton Coleman
85d96f9e7a Make describe able to be invoked on local resources
Support a more flexible access mechanism for getting a describer given
only an object.
2015-03-16 00:09:20 -04:00
Phaneendra Chiruvella
cb66e553d2 update link to common golang style mistakes 2015-03-16 08:44:55 +05:30
Phaneendra Chiruvella
99050fe8fd fix link to kubectl docs in docs/README.md 2015-03-16 08:44:55 +05:30
Alex Robinson
879bc3a677 Merge pull request #5488 from satnam6502/diagram
Fix architecture diagram
2015-03-15 12:21:28 -07:00
Matt Moore
d5e0054eb0 Enable usage of a "json key" for authenticating with gcr.io.
With this change, you can add --google_json_key=/path/to/key.json to the DAEMON_ARGS of the kubelet, e.g.
   nano /etc/default/kubelet
   ... # Add the flag
   service kubelet restart

With this setting, minions will be able to authenticate with gcr.io repositories nearly as smoothly as if K8s were running on GCE.

NOTE: This private key can be used to access most project resources, consider dropping the service account created through this flow to a project READER, or restricting its access to just the GCS bucket containing the container images.
2015-03-15 09:24:33 -07:00