Commit Graph

7634 Commits

Author SHA1 Message Date
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
Satnam Singh
526f2f1c03 Fix architecture diagram 2015-03-15 00:56:31 -07:00
Vishnu Kannan
e89dd7e235 Updating heapster version to v0.9.
Updated the e2e test to work with the new version.
2015-03-14 19:00:18 +00:00
Clayton Coleman
893a64f2ed Don't log when auto-published services and namespace exist already
Also, be a bit less chatty w.r.t. master setDefaults
2015-03-14 13:07:56 -04:00
Tamer Tas
17997360a5 Refactor examples_test.walkJSONFiles 2015-03-14 18:05:23 +02:00
Nataliia Uvarova
0cd22cdcef Fix broken links in cluster-admin guide
After the split of documentation into sections, some of the links in
cluster-admin-guide appeared to be broken. This commit fixes them.
2015-03-14 12:09:10 +01:00
Young
379b614024 simple typo 2015-03-14 14:49:31 +08:00
Abhishek Shah
4b24aa2d7f Build statically linked binaryies. With the change to go 1.4, we probably were generating dynamically linked binaries accidentally. 2015-03-13 23:33:10 -07:00
Piotr Szczesniak
ffcf7b1866 Increased default timeout in APIServer to 2 minutes
This should for #5431
2015-03-14 06:54:31 +01:00
Di Xu
00b3fa802d fix broken link and typo in services.md 2015-03-14 13:54:00 +08:00
Justin Santa Barbara
51aded0661 Add support for GetNodeResources to AWS 2015-03-13 22:59:28 -04:00
Dawn Chen
34e9c82c70 Convert RestartPolicy to string for v1beta3.
Fixed #3607 and spiritually support #5475
2015-03-13 18:38:07 -07:00
Daniel Smith
992d78a32e Add a system modeler to scheduler
So it can try to predict the effect its bindings will have.
2015-03-13 17:48:16 -07:00
Satnam Singh
ddae4ef439 Merge pull request #5474 from brendandburns/race
Update architecture diagrams.
2015-03-13 17:20:17 -07:00
Brendan Burns
11f61beebe Update architecture diagrams.
COMMIT_BLOCKED_ON_GENDOCS
2015-03-13 17:16:39 -07:00
Dawn Chen
39b52e92a9 Merge pull request #5308 from vmarmol/cadvisor-build
Run cAdvisor inside Kubelet
2015-03-13 16:41:40 -07:00
Brian Grant
b27b558f3f Merge pull request #5427 from nikhiljindal/updateSwag
Updating swagger spec with changes due to PR#5407
2015-03-13 16:25:28 -07:00
Eric Tune
e214802e45 Merge pull request #5460 from derekwaynecarr/eliminate_resource_quota_usage
Eliminate resource quota usage
2015-03-13 16:10:26 -07:00
Victor Marmol
1a7f7245e7 Remove cAdvisor manifest from cluster startup.
cAdvisor is now integrated into the Kubelet and runs inside of it.
2015-03-13 16:06:42 -07:00
Victor Marmol
663a97d139 Update cAdvisor godep. 2015-03-13 16:06:02 -07:00
Victor Marmol
dc96ea6300 Run cAdvisor inside the Kubelet.
cAdvisor is started as a Kubelet dependency during startup of the
Kubelet before the sync loops start.
2015-03-13 16:06:02 -07:00
Victor Marmol
b00e82ed93 Merge pull request #5466 from dchen1107/docker
Fix a regression introduced lately: When any given PodInfraContainer on ...
2015-03-13 16:04:01 -07:00
Satnam Singh
ce7658a302 Merge pull request #5445 from vmarmol/unused
Remove unused handleUpdate() in Kubelet.
2015-03-13 16:00:17 -07:00
Satnam Singh
fae8bf2080 Merge pull request #5467 from zmerlynn/add_ip_forward_to_master
Add --can-ip-forward to master instance
2015-03-13 15:46:46 -07:00
Dawn Chen
732d4cb2b9 Fix a regression introduced lately: When any given PodInfraContainer on a node
is killed, kubelet kills all remaining containers no matter which pod that
container belongs to.

Fixed #5373
2015-03-13 15:46:30 -07:00
Alex Robinson
579edee4c2 Merge pull request #5346 from justinsb/cloudprovider_multiple_addresses
Let CloudProvider return list of NodeAddress, not just one net.IP
2015-03-13 15:45:11 -07:00
Dawn Chen
0cc2b62b4a Merge pull request #5265 from ddysher/kubelet-post-status
kubelet post node status to master
2015-03-13 15:29:22 -07:00
Brendan Burns
03cd883d5e Merge pull request #5464 from brendandburns/master
Update cobra/pflag.  Also update generated kubectl documentation.
2015-03-13 15:22:44 -07:00
Zach Loafman
f2de7b4dcc Add --can-ip-forward to master instance
Another piece missing in
https://github.com/GoogleCloudPlatform/kubernetes/pull/5390. The
master should have --can-ip-forward if you're routing to it.
2015-03-13 15:17:07 -07:00
Justin Santa Barbara
c3a6d00099 Rename TestIPAddress -> TestNodeAddresses 2015-03-13 18:09:31 -04:00
Justin Santa Barbara
99da56fb06 Fix problems identified in review 2015-03-13 18:07:08 -04:00
Victor Marmol
efcde725cc Merge pull request #5166 from thockin/tmpfs
Add tmpfs support as a flag on emptyDir
2015-03-13 14:48:52 -07:00
Brendan Burns
cf213ab79c Update generated docs, given upstream cobra/pflag changes. 2015-03-13 14:22:06 -07:00
Brendan Burns
f98cd70c9c Update the cobra and pflag libraries with upstream fixes. 2015-03-13 14:21:42 -07:00
Daniel Smith
b02412f44e Merge pull request #5443 from bprashanth/rc_validation
Add an rc strategy, start delta validating updates
2015-03-13 13:52:19 -07:00
derekwaynecarr
799e3fa9cc Eliminate ResourceQuotaUsage in favor of ResourceQuota status 2015-03-13 16:52:09 -04:00
derekwaynecarr
df5744ad8f ResourceQuota should have labels in v1beta1 and v1beta2 2015-03-13 16:52:08 -04:00
Alex Robinson
f6441a6d2f Merge pull request #5376 from justinsb/aws_customize_s3_bucket
Allow the S3 bucket name to be specified via AWS_S3_BUCKET
2015-03-13 13:51:37 -07:00
Justin Santa Barbara
e3e6c8377f Allow the S3 bucket name to be specified via AWS_S3_BUCKET 2015-03-13 16:44:26 -04:00
Filipe Brandenburger
0948cb745f Merge pull request #5454 from jlowdermilk/get-password
Make get-password robust against invalid kubeconfig entries
2015-03-13 13:40:55 -07:00
Tim Hockin
caca5e7358 Add tmpfs support to EmptyDir
# *** ERROR: *** docs are out of sync between cli and markdown
# run hack/run-gendocs.sh > docs/kubectl.md to regenerate

#
# Your commit will be aborted unless you regenerate docs.
    COMMIT_BLOCKED_ON_GENDOCS
2015-03-13 13:36:13 -07:00