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
Justin Santa Barbara
0143be7c4f
autogen: BUILD and BUILD.bazel
2017-10-02 14:27:21 -04:00
Justin Santa Barbara
3478031533
API types changed package
2017-10-01 14:03:56 -04:00
Justin Santa Barbara
a5d72ca190
DRY FindAutoscalingGroups by removing from resources pkg
2017-09-30 17:39:53 -04:00
chrislovecnm
c9cc561885
refactoring FindInstanceTemplates into gce cloud interface
2017-09-30 14:02:58 -06:00
chrislovecnm
a431eb3e43
refactoring to use cloud based GetGroups
2017-09-29 12:29:07 -06:00
chrislovecnm
db5b931579
Adding three new funcs for cloud providers, for refactoring delete and
...
get
2017-09-28 15:52:49 -06:00
Justin Santa Barbara
8ff312397b
GCE: Don't remove (shared) DNS Zone
...
We don't create it, we shouldn't be deleting it.
2017-09-22 09:31:49 -04:00
andrewsykim
d9fa618de6
refactor resource tracker to be usable across packages
2017-09-02 17:37:21 -04:00
chrislovecnm
0779fb6fc4
Implementing GCE as an inteface modelling aws cloud provider
2017-08-27 22:19:25 -06:00
andrewsykim
0411ba270e
Create cluster requirements for DigitalOcean
2017-08-22 09:01:19 -04:00
andrewsykim
525fde3609
implement digitalocean volumes task
2017-08-21 09:50:36 -04:00
andrewsykim
1f0d0bbc75
initial cloud interface for DigitalOcean
2017-08-11 19:33:17 -04:00
asifdxtreme
18f6edd850
Fix Typo to improve GoReportCard
2017-08-08 10:48:14 +08:00
Justin Santa Barbara
db2d2c7d54
Honor shared tags when deleting subnets/vpcs
...
We expose the Shared state on the resource, bubble it down into derived
resources (like NAT Gateways or Internet Gateways).
Deletion then skips Shared items. Listing (currently) does not skip
them.
2017-07-15 23:19:52 -04:00
Lars Lehtonen
1da7d66fd1
fixed swallowed errors under pkg subdirectory.
2017-07-15 13:49:17 -07:00
Justin Santa Barbara
3139e89fae
Merge pull request #2864 from andrewsykim/digitalocean
...
digitalocean support -- dns provider
2017-07-15 13:07:30 -04:00
Hanfei Shen
8bffe17200
fix delete_cluster for those regions don't have route53
2017-07-15 10:51:36 +08:00
andrewsykim
d94357b8cb
add glog logging for applying record change sets
2017-07-14 09:00:15 -04:00
andrewsykim
401fc22450
add response handling function
2017-07-14 09:00:15 -04:00
andrewsykim
135e4e9051
use fmt.Errorf for consistency
2017-07-14 09:00:15 -04:00
andrewsykim
f396799bc9
add docstrings for cloud.go
2017-07-14 09:00:15 -04:00
andrewsykim
a866f70e1e
digitalocean support -- dns provider
2017-07-14 09:00:15 -04:00
Justin Santa Barbara
d2df318ecc
Move CloudProvider to kops API
...
This avoids a circular reference when breaking up the fi package
2017-06-17 16:27:07 -04:00
andrewsykim
e8c99ee72e
removes cluster delete code in upup/pkg/kutil duplicated in pkg/resources and puts instancegroup and rollingupdate code into its own packges
2017-06-10 15:21:06 -04:00