-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
[GKE] Support autoscaling #8605
Comments
Hey @stack72 -- |
@evandbrown @roberthbailey -- I'm guessing that if https://www.googleapis.com/discovery/v1/apis/container/v1/rest is updated, that the auto-generated Is there a place to open an issue to get the API discovery point updated? |
https://container.googleapis.com/$discovery/rest?version=v1 shows the |
@cblecker I'm mobile at the moment but agree this is likely due to an old version of the vendored package. I'll get that updated tomorrow and add the necessary field to the cluster resource. |
@roberthbailey: That Github issue I linked to from earlier this year pointed me at that URL: googleapis/google-api-go-client#127 . It also appears that https://github.com/google/google-api-go-client/blob/master/api-list.json#L1334 in the @evandbrown: I had checked for an outdated vendor first, but the vendored version inside Terraform is the latest available at |
@roberthbailey @cblecker I'm working with the Go team to get the autogen library updated. When that's done, I'll revendor and add NodePool support. |
Hey @evandbrown -- |
@thecodeassassin @cblecker I'm working on this today. Current plan it to implement this as support for the NodePool resource. Sound OK? |
@evandbrown Yay! That makes total sense to me. Did the endpoint get updated? I still don't see it exposed at https://www.googleapis.com/discovery/v1/apis/container/v1/rest, and the google-api-go-client still seems ot point to https://container.googleapis.com/%24discovery/rest?version=v1 |
@cblecker Agh, I saw the client libs were regenerated 21 days ago and assumed they reflected the new types. That's not the case. I've pinged the team and will keep this thread updated. At any rate, when it's available we'll expect to implement as a |
Thanks for continuing to track this down, @evandbrown! |
@evandbrown Sounds good to me :) Thanks! |
Hey @evandbrown -- Thanks again! |
@roberthbailey, any ETA on the discovery doc update? @cblecker once that doc is updated, I'll do my best to get the client lib updated, and will push the change as soon as that's done :) |
I think the change is in progress, but I'm not sure how long it'll take before it goes live. |
@evandbrown @roberthbailey any update on this? :) |
@fabioy might have an eta |
@evandbrown @roberthbailey @fabioy -- There is also the https://container.googleapis.com/$discovery/rest?version=v1 endpoint that seems to be more up to date, but those updates aren't making it into https://www.googleapis.com/discovery/v1/apis/container/v1/rest. I'm not sure what it will take to get these discovery endpoints updated, but it's really stalling out writing tools (terraform or otherwise) for GKE when the go api library is over 9 months out of date. |
@cblecker -- I've just updated the discovery doc to include the recent changes in the GKE API. The google-api-go-client should be updated soon. |
All right, the go client has been updated. @cblecker were you planning on doing the dev work for this? I have it as a high priority goal of mine this quarter but if you're planning on doing it I certainly don't mind. |
@danawillow I was gonna take a stab at it this weekend. If I've got a WIP, mind if I ping you next week for review? If I'm not able to carve out the time, then I have no problem handing it over :) |
Works for me! |
@danawillow Sorry, some stuff has come up and I haven't had a chance to get to this. If it's urgent for you, please feel free to take it over. |
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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
hey all,
Google cloud supports autoscaling for nodes which is very useful in high traffic kubernetes deployments. Could you add this feature to terraform? Currently i use local exec like this:
Documentation is here
https://cloud.google.com/container-engine/docs/clusters/operations
The text was updated successfully, but these errors were encountered: