Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor resource tracker to be usable across packages #3331

Merged

Conversation

andrewsykim
Copy link
Member

Puts ResourceTracker into its own package pkg/resources/tracker so it can be called from different packges without hitting import cycle e.g. pkg/reources/digitalocean/resource.go. This is so that we can group cloud specific code into their own packages (pkg/resources/aws/. pkg/resources/gce/, etc) rather than dump all the resource code from all clouds into pkg/resources

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Sep 2, 2017
@justinsb
Copy link
Member

justinsb commented Sep 3, 2017

/lgtm

We've been wrestling with the tests today, I did bring up a cluster with the same k8s version (but not this patch) and it did work. But I'd still suspect the tests over an actual failure caused by this PR, at least for now :-)

/retest

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 3, 2017
@k8s-github-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andrewsykim, justinsb

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@k8s-github-robot k8s-github-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 3, 2017
@andrewsykim
Copy link
Member Author

/test pull-kops-e2e-kubernetes-aws

@andrewsykim
Copy link
Member Author

andrewsykim commented Sep 3, 2017

@justinsb

W0903 20:46:22.915] 	status code: 400, request id: ba5d988f-e116-4ec4-acf9-7d181f7e431b
W0903 20:46:22.915] W0903 20:46:22.914029     488 executor.go:109] error running task "EBSVolume/a.etcd-events.e2e-2852.test-aws.k8s.io" (5m49s remaining to succeed): error creating PersistentVolume: VolumeLimitExceeded: You have exceeded your maximum gp2 storage limit of 20 TiB in this region. Please contact AWS Support to request an Elastic Block Store service limit increase.

nice! 😛

@justinsb
Copy link
Member

justinsb commented Sep 4, 2017

/retest

@andrewsykim
Copy link
Member Author

/test pull-kops-e2e-kubernetes-aws

@k8s-github-robot
Copy link

/test all [submit-queue is verifying that this PR is safe to merge]

@k8s-github-robot
Copy link

Automatic merge from submit-queue

@k8s-github-robot k8s-github-robot merged commit 26ca294 into kubernetes:master Sep 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants