Commit Graph

5643 Commits

Author SHA1 Message Date
Justin Santa Barbara
c2caa3f1da AWS: Fix cleanup of security group
The most reliable way seems to be to deauthorize the LB security group from
other groups, then delete the LB itself, then repeatedly retry to delete the LB
security group.

We can't delete the LB security group until the LB is actually completely
deleted, but the LB is hidden from the API during deletion.  So our only real
option is to retry deletion of the LB security group until the expected error
goes away when the LB is fully deleted.
2015-06-06 23:20:34 -04:00
Justin Santa Barbara
1700259508 AWS: Ignore the UserId when determining whether we can skip revoking a security group
Otherwise we weren't correctly de-authorizing the AWS LB SG from the Node SG
2015-06-06 12:37:01 -04:00
Justin Santa Barbara
8fafefd728 Fix doc for edge-case return from removeSecurityGroupIngress 2015-06-06 12:25:50 -04:00
Justin Santa Barbara
e32c66c6f4 Fix typo: Ingess -> Ingress 2015-06-06 12:22:50 -04:00
Quinton Hoole
6ff203e9da Merge pull request #9280 from caesarxuchao/make-v1-preferred
Make v1 the preferred api version
2015-06-05 15:23:14 -07:00
Mike Danese
c9bd90a5df Merge pull request #9032 from andronat/fix_7843
Decrease columns and refactor get pods layout
2015-06-05 15:06:53 -07:00
Quinton Hoole
1d50e97305 Merge pull request #9333 from krousey/v1_docs
Updating docs/ to v1
2015-06-05 14:58:28 -07:00
Kris Rousey
6e83eb2636 Updating docs/ to v1 2015-06-05 14:09:49 -07:00
Chao Xu
e6ffa5bf67 make the meaning of a test in get_test.go clearer 2015-06-05 13:59:30 -07:00
Anastasis Andronidis
68d9313d69 Refactor get pods layout 2015-06-05 22:28:17 +02:00
Justin Santa Barbara
48e8a8b0ec AWS: Set up security groups, to mirror GCE firewalling
Some slightly fussy code to enable load-balancers to talk to
instances, but otherwise relatively simple.
2015-06-05 16:10:08 -04:00
Justin Santa Barbara
33a3d884f2 AWS: Filter by Cluster tag, rationalize EC2 abstraction
Whenever we do a list we now filter on tags so we only see resources relating
to our cluster.

Also, rationalize all the DescribeX calls:
 * They all take a request object (so that we can pass filters)
 * They do paging if that is required (and return the underlying resources)
 * They wrap any error with a "error while listing X: %v" message
2015-06-05 16:09:01 -04:00
Quinton Hoole
2c54be808e Merge pull request #9302 from brendandburns/fix
Add messages to indicate that opening an external firewall may be necessary.
2015-06-05 12:37:19 -07:00
Quinton Hoole
f048d0dff7 Merge pull request #9105 from anguslees/openstack-provider
Openstack LB improvements
2015-06-05 12:06:12 -07:00
Quinton Hoole
a715fdef95 Merge pull request #9291 from dchen1107/podstatus
Filtered out unfriendly error from docker when registry is not reachable.
2015-06-05 12:01:51 -07:00
Quinton Hoole
bc59e69ff0 Merge pull request #9159 from csrwng/remove_cors_headers
Remove CORS headers from pod proxy responses
2015-06-05 11:40:09 -07:00
Quinton Hoole
8b01ecb53a Merge pull request #9024 from markturansky/recyc_controllers
PersistentVolumeRecycler controller
2015-06-05 11:39:08 -07:00
Dawn Chen
636b40ffa1 Filtered out unfriendly error from docker when registry is not reachable(code: 502, 503, 504) 2015-06-05 11:29:35 -07:00
Quinton Hoole
988a413acf Merge pull request #9058 from deads2k/serialize-with-auth
serialize dockercfg with matching auth field
2015-06-05 11:26:14 -07:00
Quinton Hoole
8f55d9e619 Merge pull request #9317 from nikhiljindal/podnodeName
Updating StatusDetails.ID to Name in internal API
2015-06-05 11:23:09 -07:00
Quinton Hoole
b40ecc4fbc Merge pull request #9282 from markturansky/pv_index_fix
Add available volumes to binder index when not present
2015-06-05 11:06:48 -07:00
deads2k
ac2c43fc87 serialize dockercfg with matching auth field 2015-06-05 11:14:10 -04:00
nikhiljindal
7cc50448e3 Updating StatusDetails.ID to Name in internal API 2015-06-05 07:17:02 -07:00
Angus Lees
75f49b331a Ignore "unspecified" externalIP during LB create
Previously we always passed `Address: externalIP.String()` while
creating a loadbalancer VIP.  This passed "0.0.0.0" when externalIP was
unspecified, effectively making it mandatory to specify an externalIP.

This change correctly leaves `Address` unspecified when externalIP is
unspecified (has a zero value).

(Thanks to @justinsb for the report)
2015-06-05 16:27:45 +10:00
Brendan Burns
380790a8e2 Add messages to indicate that opening an external firewall may be necessary. 2015-06-04 22:31:52 -07:00
Quinton Hoole
d6004a1ced Merge pull request #9279 from yifan-gu/refactor
kubelet: Minor refactors.
2015-06-04 21:47:04 -07:00
Quinton Hoole
502a8d75cc Merge pull request #9000 from jackgr/ui_build_js
Javascript only UI build cleanup
2015-06-04 21:40:03 -07:00
Chao Xu
8a4dffdcee fix 2015-06-04 17:19:41 -07:00
Chao Xu
5a54a0118d fix 2015-06-04 16:35:24 -07:00
Quinton Hoole
fc80fd6860 Merge pull request #9233 from lavalamp/no-ro-nonbreaking
Allow kubectl proxy to proxy everything
2015-06-04 16:22:07 -07:00
Yifan Gu
f197a9db4e kubelet: Minor refactors.
Remove some TODOs.
Unexport DockerManager.Puller and DockerManager.PodInfraContainerImage.
Add "docker" for all "go-dockerclient" imports.
2015-06-04 16:08:45 -07:00
markturansky
627dd86b95 Added available volumes to volumeIndex in binder when not present 2015-06-04 18:29:14 -04:00
Chao Xu
1605fc7347 fix unit tests 2015-06-04 15:09:47 -07:00
Chao Xu
dfc77f7883 make v1 the preferred api version 2015-06-04 15:08:56 -07:00
jackgr
cff5bed70d Clean up ui build and generated files. 2015-06-04 14:54:15 -07:00
Cesar Wong
e8af67c180 Remove CORS headers from pod proxy responses
The API server sends its own CORS headers in its response, and if the
proxied pod response also includes its own headers, it confuses clients.
2015-06-04 16:49:04 -04:00
Quinton Hoole
521446503a Merge pull request #9269 from caesarxuchao/make-v1-enabled-by-default
Make v1 enabled by default
2015-06-04 13:29:48 -07:00
Quinton Hoole
44f2c8f003 Merge pull request #9263 from caesarxuchao/add-v1-tests-fix
Fix some v1 tests issues
2015-06-04 13:15:43 -07:00
Quinton Hoole
b5251de193 Merge pull request #9261 from justinsb/aws_d2_instance_types
AWS: Add d2 instance types
2015-06-04 13:11:43 -07:00
markturansky
deec5f26cd Recycler controller 2015-06-04 15:47:36 -04:00
markturansky
986cbb56d4 Recycling HostPath and NFS impls 2015-06-04 15:46:03 -04:00
markturansky
cb547f4b5c RecyclableVolumePlugin interfaces 2015-06-04 15:40:52 -04:00
markturansky
2829fadfad PV Recycling API 2015-06-04 15:39:34 -04:00
Quinton Hoole
70f78aa5bf Merge pull request #9266 from yujuhong/err_msg
Kubelet: fix the warning message
2015-06-04 11:55:46 -07:00
Quinton Hoole
ce2b46d0ae Merge pull request #9240 from tpounds/update-aws-sdk-go
Update AWS Go SDK (v0.6.0)
2015-06-04 11:54:42 -07:00
Chao Xu
ef61b031f5 make v1 enabled by default 2015-06-04 11:37:44 -07:00
Yu-Ju Hong
46e29cfb70 Kubelet: fix the warning message 2015-06-04 11:07:08 -07:00
Brendan Burns
02f3142f41 Merge pull request #9196 from brendandburns/merge-release-0.18-to-master
Merge release 0.18 to master
2015-06-04 10:50:26 -07:00
Chao Xu
080da97e1c fix a comment 2015-06-04 10:35:10 -07:00
Trevor Pounds
6eea271656 Guard against non AWS errors. 2015-06-04 10:33:36 -07:00