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

Add "enable_tpu" flag to google_container_cluster #1974

Merged
merged 9 commits into from
Oct 1, 2018

Conversation

barronalex
Copy link
Contributor

No description provided.

@ghost ghost added the size/m label Sep 1, 2018
enable_tpu = true

initial_node_count = 1
ip_allocation_policy {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do TPUs need an ip allocation policy to be set? If not, I'd recommend removing all the extra resources/fields relevant to that and only leaving in the parts you're actually testing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, TPUs require ip aliasing to be turned on for the cluster.

@danawillow
Copy link
Contributor

Whoops, sorry I let this get away for a bit. Mind rebasing/merging your changes on top of master? Also, the tests these days are a bit more explicit about how they set the ip_allocation_policy instead of trying to remove duplication using code. Take a look at the _withPrivateCluster test for a good example. Thanks!

@ghost ghost added size/xxl and removed size/m labels Sep 26, 2018
@ghost ghost added size/m and removed size/xxl labels Sep 26, 2018
Copy link
Contributor

@danawillow danawillow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @barronalex!

@danawillow danawillow merged commit 70faf68 into hashicorp:master Oct 1, 2018
chrisst pushed a commit to chrisst/terraform-provider-google that referenced this pull request Nov 9, 2018
* add enable_tpu flag

* missed one

* add docs

* fix test

* tabs

* update tests to new format

* formatting

* formatting
@ghost
Copy link

ghost commented Nov 16, 2018

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked and limited conversation to collaborators Nov 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants