Commit Graph

80 Commits

Author SHA1 Message Date
LilyFaFa 7e1f400d11 delete cloud resources for ALicloud 2018-06-30 09:55:43 +08:00
andrewsykim da1adfd764 digitalocean: only delete A DNS records 2018-04-15 20:38:58 -04:00
andrewsykim ae93b02f02 digitalocean: list/delete DNS 2018-04-05 23:13:27 -04:00
andrewsykim 47c41463ce digitalocean: use pagination for all list requests 2018-04-05 11:12:20 -04:00
andrewsykim 6831bd8583 digitalocean: list/delete resources 2018-04-04 23:58:26 -04:00
andrewsykim bdd2a2dc9b digitalocean: resource record set should include zone 2018-04-04 23:58:26 -04:00
andrewsykim 61dd1317a8 digitalocean: dns operations should be idempotent 2018-04-03 17:52:29 -04:00
andrewsykim b480898af7 digitalocean: add protokube support 2018-04-01 21:47:31 -04:00
andrewsykim 27e8902016 digitalocean: add nodeup support 2018-04-01 10:11:07 -04:00
k8s-ci-robot 973397f28a
Merge pull request #4805 from justinsb/toolbox_dump_vpc
Add VPC to kops toolbox dump
2018-03-31 20:13:02 -07:00
Justin Santa Barbara 4498d23d22 Fix toolbox dump bug: store subnet in resource 2018-03-31 14:29:17 -04:00
Justin Santa Barbara 8214ad7200 Add VPC to kops toolbox dump 2018-03-31 14:10:22 -04:00
Justin Santa Barbara e6621fd623 kops toolbox dump: Add Subnets to dump 2018-03-27 00:03:20 -04:00
k8s-ci-robot 6be6b22630
Merge pull request #4791 from justinsb/natgateway_shared
NAT gateway deletion: honor shared tag
2018-03-25 18:13:01 -07:00
Justin Santa Barbara 29433aa17a ElasticIP deletion: Honor shared tags
We previously weren't tagging as shared, so there was no reason to
consider the tag.  Now we are tagging, we should.
2018-03-25 18:39:22 -04:00
Justin Santa Barbara c2c0e97c0e NAT gateway deletion: honor shared tag
We previously weren't tagging NAT gateways (it wasn't supported).  Now
we are, so if a NAT gateway is tagged as shared, we will honor that tag.
2018-03-25 18:38:51 -04:00
Justin Santa Barbara 8250cf0571 cloudmock: update to support tag-key query on securitygroup 2018-03-25 01:17:27 -04:00
Justin Santa Barbara 32ec8d8253 SecurityGroups: recognize shared tag 2018-03-25 01:17:27 -04:00
Justin Santa Barbara d1fd74a30c Move code to new file 2018-03-25 01:17:27 -04:00
k8s-ci-robot b6ae8fb011
Merge pull request #4778 from justinsb/routetable_tags
Move routetable detection to new logic
2018-03-24 20:54:01 -07:00
Justin Santa Barbara 4a6b5bb61f Move routetable detection to new logic 2018-03-24 18:26:39 -04:00
Justin Santa Barbara 46b6ea5c2a Deletion: check if VPC is shared
We have logic that checks if a VPC is being deleted, but it did not
consider the fact that VPCs can be shared.
2018-03-24 14:33:52 -04:00
Justin Santa Barbara 0711df9de4 Improve logic around VPC detection
Issue #4265
2018-03-19 18:15:37 -04:00
Justin Santa Barbara 0f6645a9d7 Move AWS resources into its own subpackage 2018-03-18 14:43:12 -04:00
Justin Santa Barbara 85b972bc28 Fill out cloudmock to do a basic lifecycle test 2018-03-11 17:04:30 -04:00
chrislovecnm aabfc1cf13 Updating comment so we do not have gofmt issues with go 1.9 and go 1.10
There is a change in gofmt between go 1.10 and go 1.9.  The aws.go file
needs formating with go 1.10, while it is passing 1.9.  This commit moves
a comment above the parens so that both go 1.9 and 1.10 formats the file
in the same manner.
2018-03-09 14:53:17 -07:00
k8s-ci-robot 3b78618327
Merge pull request #4302 from sethpollack/eip
Add option for using existing EIP's
2018-02-27 22:27:46 -08:00
Mike Splain 45a57915e2 Fix bazel deprecation notice 2018-02-26 09:36:13 -05:00
andrewsykim 662939e626 dns-controller: support digitalocean 2018-02-24 13:48:43 -05:00
chrislovecnm e853fba1e4 Fixing deleting of shared IGW and DHCPOptions
Currently shared IGW and DHCPOptions are deleted, even if the shared
tags exist.  This PR adds the HasSharedTags func to the Shared member on
both IGW and DHCPOptions resources.
2018-02-18 19:56:21 -07:00
Seth Pollack 3ae8ac1329 add option for BYOEIP 2018-02-16 12:08:05 -05:00
chrislovecnm 4dd3bb1dea Updating bazel BUILD files with new go_rules version 2017-12-29 15:03:14 -07:00
Justin Santa Barbara f03cc5dbd9 Update dnsprovider imports to use our version 2017-12-13 20:43:01 -05:00
Kubernetes Submit Queue e07d610fb4
Merge pull request #3934 from justinsb/roles_in_toolbox
Automatic merge from submit-queue.

Include roles in toolbox dump structured output
2017-12-11 02:36:29 -08:00
Justin Santa Barbara f02595e915 toolbox dump now dumps instances in alphabetical order 2017-12-01 00:25:07 -05:00
Justin Santa Barbara f3f5e6dba0 Include roles in toolbox dump structured output
Proves very handy when diagnosing problems.
2017-11-26 23:37:16 -05:00
georgebuckerfield eab351c913 Add tests for ListRouteTables function 2017-11-18 12:34:39 +00:00
georgebuckerfield df550ec2b5 Set the Shared field of RouteTable resources when listing 2017-11-17 17:27:16 +00:00
chrislovecnm 609e268a1d gazelle updates with new bazel version 2017-11-05 17:41:53 -07:00
Justin Santa Barbara b3e00c0dd1 GCE Dump: Include instance IPs
The challenge here is that we normally only get the instance url.  So we
have to do another call to GCE, but we also don't want to do one call
per instance.

Instead, we create a dump operation context object which we pass into the dump.
2017-10-29 23:22:40 -04:00
Justin Santa Barbara 1f0601126c Refactor gce resources into pkg/resources/gce
Should be a no-op refactor
2017-10-29 18:37:23 -04:00
Justin Santa Barbara 66e74fac6a Rename pkg/resources/utils -> pkg/resources/ops
That seems to be what utils really is.
2017-10-29 16:32:48 -04:00
Justin Santa Barbara 1eb17ae6b9 Move DeleteResources into pkg/resources/utils 2017-10-29 12:26:07 -04:00
Justin Santa Barbara a18363f059 Refactor toolbox dump & dump structured instances
This will enable log collection even if nodes don't register.

AWS: Dumps ids & addresses
GCE: Dumps names - addresses to follow
Others: Not yet!
2017-10-28 14:46:28 -04:00
Kubernetes Submit Queue a4d6895472 Merge pull request #3707 from andrewsykim/droplet
Automatic merge from submit-queue.

Implement DigitalOcean Droplet FI Task

Implements cloudup fi tasks for DigitalOcean droplets. It makes a few assumptions to reduce the size of this PR, those will be addressed in future PRs. 

Also does some cleanup in the DigitalOcean `dns` package.
2017-10-27 08:30:57 -07:00
andrewsykim 45bf2cb3a7 Implement DigitalOcean Droplet FI Task 2017-10-27 09:48:42 -04:00
Justin Santa Barbara badef7b056 bazel: set test size on pkg/resources 2017-10-22 16:55:36 -04:00
Justin Santa Barbara 5b08c36cbb Delete firewall rules on GCE
As part of cluster delete on GCE, we now clean up our firewall rules.
2017-10-22 16:54:43 -04:00
Kubernetes Submit Queue 518e97d97b Merge pull request #3510 from justinsb/bazel
Automatic merge from submit-queue.

Initial bazel support

Builds on the 1.8 version bump

The "trick" is to strip the BUILD & BUILD.bazel files from the vendor-ed deps.

Will rebase after 1.8 version bump merges.
2017-10-03 01:19:27 -07:00
Justin Santa Barbara 737f2fcd80 rolling-update - initial GCE support 2017-10-02 23:07:35 -04:00