Commit Graph

7508 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
Alex Robinson
879bc3a677 Merge pull request #5488 from satnam6502/diagram
Fix architecture diagram
2015-03-15 12:21:28 -07:00
Satnam Singh
526f2f1c03 Fix architecture diagram 2015-03-15 00:56:31 -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
Tim Hockin
50c96789e7 Add an action log to FakeMounter.
# *** 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:33:50 -07:00
Jeff Lowdermilk
8fef6fb343 Make get-password robust against invalid kubeconfig entries 2015-03-13 13:26:47 -07:00
Prashanth Balasubramanian
6193608e9b Add an rc strategy, start delta validating updates 2015-03-13 13:09:03 -07:00
Victor Marmol
22f306299b Merge pull request #5438 from timothysc/kube-profiling
Option to enable profiling on the master daemon processes.
2015-03-13 12:52:50 -07:00
Victor Marmol
015bd8635e Merge pull request #5453 from brendandburns/e2e
Add kubelet to the master via standard mechanisms.
2015-03-13 12:42:12 -07:00
Daniel Smith
e3594dfe2f Merge pull request #5404 from derekwaynecarr/delete_events
Client support to delete events
2015-03-13 12:36:43 -07:00
Brendan Burns
5326baed7b Merge pull request #5254 from AntonioMeireles/add_docker_caching_to_CoreOS_cluster
Add Docker caching support to CoreOS' clusters.
2015-03-13 12:18:26 -07:00
Brendan Burns
cf68593fc2 Merge pull request #5228 from justinsb/aws_lb_string
Change cloud provider CreateTCPLoadBalancer to return endpoint as string
2015-03-13 12:16:26 -07:00
Brendan Burns
494ac9ebc0 Merge pull request #4953 from mattf/storm-example
Storm example
2015-03-13 12:14:23 -07:00
Brendan Burns
966e8301a0 Add kubelet to the master. 2015-03-13 12:09:24 -07:00
Zach Loafman
232796db04 Merge pull request #5448 from jlowdermilk/fix-e2e
Delete master route on kube-down
2015-03-13 11:47:36 -07:00
Vish Kannan
13253d09e1 Merge pull request #5444 from vmarmol/lock
Lock access and update to Kubelet pods.
2015-03-13 11:06:50 -07:00
Jeff Lowdermilk
9b55e1f176 Delete master route on kube-down 2015-03-13 11:00:19 -07:00
Deyuan Deng
97e12957e6 Merge pull request #5257 from deads2k/deads-eliminate-wait-for-no-nodes
eliminate wait with no nodes
2015-03-13 13:48:49 -04:00
Victor Marmol
505dbc54db Merge pull request #5022 from gmarek/client3
Refactor kubelet syncPod method and fix behavior of Infra Containers for RestartPolicy::Never.
2015-03-13 10:46:35 -07:00
Victor Marmol
04233cdb88 Remove unused handleUpdate() in Kubelet. 2015-03-13 10:35:50 -07:00