Commit Graph

9040 Commits

Author SHA1 Message Date
Justin Santa Barbara
b3666ed08c Add AWSPersistentDisk to fuzzer 2015-04-10 13:25:43 -07:00
Justin Santa Barbara
2e91fdd2fd Fixup merge mistakes 2015-04-10 13:25:43 -07:00
Justin Santa Barbara
95b68ae0b0 Rename pdName -> volumeId for AWS persistent volumes 2015-04-10 13:25:43 -07:00
Justin Santa Barbara
aa6051026e Add comment about EBS status being a bit slow through API 2015-04-10 13:25:43 -07:00
Justin Santa Barbara
0101bf2081 Fix detached-check logic, warn on multiple attachments 2015-04-10 13:25:43 -07:00
Justin Santa Barbara
3689bf0298 Fix pd name parse 2015-04-10 13:25:43 -07:00
Justin Santa Barbara
21beabd0a7 Default attachment status to detached
So no-attachments = status detached
2015-04-10 13:25:43 -07:00
Justin Santa Barbara
cdc569a6c8 Parse the pdName from the volume mount
Don't assume there are no slashes!
2015-04-10 13:25:43 -07:00
Justin Santa Barbara
f0cedd7375 More logging around error causes
Come back exceptions, all is forgiven!
2015-04-10 13:25:43 -07:00
Justin Santa Barbara
a366f9ee88 Create the /usr/share/google dir in salt 2015-04-10 13:25:43 -07:00
Justin Santa Barbara
3549b30c8e Add missing import 2015-04-10 13:25:42 -07:00
Justin Santa Barbara
b9fd56050a Add safe_format_and_mount script to aws
Apache licensed :-)
2015-04-10 13:25:42 -07:00
Justin Santa Barbara
6c823dbdab Small clean-ups 2015-04-10 13:25:42 -07:00
Justin Santa Barbara
f2184e0860 Fix comment 2015-04-10 13:25:42 -07:00
Justin Santa Barbara
ee72fa4d61 Tolerate volume being already-attached 2015-04-10 13:25:42 -07:00
Justin Santa Barbara
86ddc0f96a Fix mountpoint values 2015-04-10 13:25:42 -07:00
Justin Santa Barbara
49543aca61 Update IAM permissions for minion, to allow EBS 2015-04-10 13:25:42 -07:00
Justin Santa Barbara
e56e2ee46a Strip leading slash from url path when parsing aws volume 2015-04-10 13:25:42 -07:00
Justin Santa Barbara
743f2edb56 Fix tests 2015-04-10 13:25:42 -07:00
Justin Santa Barbara
89089900d7 Fix merge problems 2015-04-10 13:25:42 -07:00
Justin Santa Barbara
2812936d34 Simplify logic of pd.go 2015-04-10 13:25:42 -07:00
Justin Santa Barbara
6a4153fc0a Always create volumes in the active k8s zone 2015-04-10 13:25:42 -07:00
Justin Santa Barbara
ffadd5533a Fix AWS region vs zone
We were specifying a region, but naming it as a zone in util.sh

The zone matters just as much as the region, e.g. for EBS volumes.

We also change the config to require a Zone, not a Region.
But we fallback to get the information from the metadata service.
2015-04-10 13:25:42 -07:00
Justin Santa Barbara
8fde691aa7 Fix tests 2015-04-10 13:25:42 -07:00
Justin Santa Barbara
edf0292d4a Add initial support for Volumes to AWS 2015-04-10 13:25:42 -07:00
Derek Carr
d2b6920a32 Merge pull request #6496 from ArtfulCoder/docker_image_install
Load docker images of kubernetes components after docker is installed.
2015-04-10 16:19:10 -04:00
Daniel Smith
2bd95d4290 Merge pull request #6150 from HaiyangDING/bru
Implement Balanced Resource Allocation (BRA) algorithm as a PriorityFunction in scheduler package.
2015-04-10 12:48:27 -07:00
Daniel Smith
8dfd7001f5 Merge pull request #6671 from smarterclayton/ensure_body_is_closed
Reorganized Request.DoRaw() to guarantee streams are closed
2015-04-10 11:46:42 -07:00
Daniel Smith
c6abb5b047 Merge pull request #6686 from derekwaynecarr/terminate_must_have_deletion_timestamp
Improve validation and fix not throwing an error during ns delete
2015-04-10 10:56:09 -07:00
Tim Hockin
e4602eb68e Merge pull request #6663 from justinsb/cleanup_service_ip
Use defer to cleanup allocated service ip in case of error
2015-04-10 10:43:56 -07:00
Daniel Smith
e2093798cb Merge pull request #6675 from wojtek-t/nodes_support_field_selector
FieldSelector for node List()
2015-04-10 10:30:55 -07:00
Dawn Chen
c7ca118c7a Merge pull request #6682 from thockin/spew-keys-in-hash
Make DeepHashObject use SpewKeys
2015-04-10 09:58:47 -07:00
Justin Santa Barbara
e551e0cb8c Use defer to cleanup allocated service ip in case of error
We're probably going to be doing a port allocation here also, so this needs some pre-simplifying.
2015-04-10 09:47:47 -07:00
Tim Hockin
c989f30a00 make DeepHashObject use SpewKeys 2015-04-10 09:38:12 -07:00
Tim Hockin
1db1894850 Merge pull request #6681 from thockin/update-spew
Update spew to support better map key sorting.
2015-04-10 09:34:54 -07:00
Victor Marmol
1563a7636a Merge pull request #6652 from dchen1107/podstatus
Populate last terminated container information
2015-04-10 09:21:58 -07:00
Tim Hockin
942563fda1 Update spew to support better map key sorting. 2015-04-10 09:17:21 -07:00
Clayton Coleman
fce3e5a2bb Merge pull request #6574 from ncdc/exec-portforward-no-command-pipes
Don't use command pipes for exec/port forward
2015-04-10 12:07:21 -04:00
Clayton Coleman
7ac4a22f18 Merge pull request #6613 from brendandburns/swagger
Add return types to PUT, POST and PATCH methods.
2015-04-10 11:50:03 -04:00
derekwaynecarr
8364055f0f Improve validation and fix not throwing an error during ns delete 2015-04-10 11:41:28 -04:00
Clayton Coleman
29e2fa3c3d Merge pull request #6670 from pmorie/entrypoint
Add command and argument control to changelog
2015-04-10 11:35:22 -04:00
Wojciech Tyczynski
2e24c50c1c Merge pull request #6635 from timothysc/kube-kcm-qps
Update to option enable client.QPS and client.Burst
2015-04-10 15:19:43 +02:00
Timothy St. Clair
2b60111fca Performance change to option enable client.QPS, client.Burst
and change default on max_requests_inflight.
2015-04-10 07:53:54 -05:00
Wojciech Tyczynski
88eb0b0295 FieldSelector for node List() 2015-04-10 12:53:16 +02:00
Wojciech Tyczynski
8510fc67ff Merge pull request #6669 from yifan-gu/more_random
integration: Randomize the order of the integration tests.
2015-04-10 11:12:54 +02:00
Clayton Coleman
852ef7b637 Reorganized Request.DoRaw() to guarantee streams are closed
Added a test to verify 429 triggers a client retry based on
header. Forced resp.Body.Close() to close after each request,
which allows Golang to reuse the TCP connection to the server
(should reduce connection establishment under retries).
Possibly fixed a server leak of request bodies.
2015-04-10 01:10:35 -04:00
Brendan Burns
8694f6f550 Add return types to PUT, POST and PATCH methods.
Also add return types for proxy and redirect handlers.
2015-04-09 20:17:05 -07:00
Paul Morie
343b423208 Add command and argument control to changelog 2015-04-09 22:54:48 -04:00
dingh
71b2af1e0c Implement BRA algorithm as a new priority function in scheduler
Balanced Resource Allocation policy can now be enabled to so that
host(s) with balanced resource usage would be preferred. The score
given by BRA also scales from 0 to 10 with 10 representing that the
resource usage is well balanced.
2015-04-10 10:53:52 +08:00
Yifan Gu
d696ecdba5 integration: Randomize the order of the integration tests. 2015-04-09 18:39:34 -07:00