-
Notifications
You must be signed in to change notification settings - Fork 4.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
“azurerm_spring_cloud_java_deployment” – the cpu
and memory_in_gb
properties have been deprecated in favour of the quota
block
#12924
Conversation
internal/services/springcloud/spring_cloud_java_deployment_resource.go
Outdated
Show resolved
Hide resolved
internal/services/springcloud/spring_cloud_java_deployment_resource.go
Outdated
Show resolved
Hide resolved
@katbyte , with favoretti's explanation on what
with documenting the inner cpu/mem takes precedence
I prefer more for solution # 1 and has made a commit for that, while would honor any suggestions here. |
The service sprint cloud started running into massive acc_test failures. From the symptom it sounds like some service response got changed. I'm looking into it. While meanwhile assume that problem has no relation with this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @mybayern1974
Thanks for this, I've left a few comments below that should be addressed. I'm going to catch up with @katbyte on the new property names asap, as they may need a little additional tweak to better guide users on their use.
internal/services/springcloud/spring_cloud_java_deployment_resource.go
Outdated
Show resolved
Hide resolved
Thank you @jackofallops for your review and I've made changes towards all of them. Now I'm looking forward to your suggestion on naming conventions of the newly introduced properties : ) |
@mybayern1974 would you mind rebasing this one? :) I'm also waiting on this new API and functionality, even shot in a new PR, but then saw yours. Let me know if you need any help finalizing this? Thanks! |
@favoretti , I just made a commit to resolve conflict. Now I'm waiting for jackofallops to suggest naming for newly introduced properties @jackofallops , with assuming the only left discussion is on naming of new properties, a kindly ping to those suggested names. Or please let me know if there is any further logic needs to be changed to fit these newly brought "0.5 cpu/memory" stories by service. @favoretti , if you found this PR still no progress in the several upcoming days, feel free to bring your Spring Cloud api upgrade move forward. I'm fine to rebase this PR based on your efforts. |
I won’t be able to, cause old values are deprecated and we need these
changes combined. But I’ll try to talk to Steve to settle on the naming.
Thank you!
…On Mon, 27 Sep 2021 at 13:22, mybayern1974 ***@***.***> wrote:
@favoretti <https://github.com/favoretti> , I just made a commit to
resolve conflict. Now I'm waiting for jackofallops to suggest naming for
newly introduced properties cpu_units and memory that are expected to
take precedence to their existing counterparts.
@jackofallops <https://github.com/jackofallops> , with assuming the only
left discussion is on naming of new properties, a kindly ping to those
suggested names. Or please let me know if there is any further logic needs
to be changed to fit these newly brought "0.5 cpu/memory" stories by
service.
@favoretti <https://github.com/favoretti> , if you found this PR still no
progress in the several upcoming days, feel free to bring your Spring Cloud
api upgrade move forward. I'm fine to rebase this PR based on your efforts.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#12924 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGERNULGG6XAQ2N35YTS73UEBHX3ANCNFSM5B4GPRJQ>
.
|
@favoretti - @mybayern1974 and i talked about a naming convention to move forward with, so this is just waiting for those changes to be made once they are back from vacation |
Sorry for responding late. I've tuned codes per suggested schema as below
@katbyte , could you please take another took? |
@mybayern1974 - looks like there are two failing tests:
|
@katbyte , after checking with Azure service team, the reason of those failed TC is because of a service side issue, which as indicated in the error log that was "internal server error". Service team is actively fixing it now. This issue has been there for a while and not related with this PR. With that, I would honor your suggestions whether merge this PR first or waiting for service team's fix. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have a commitment to fix the service issue for the remaining test failures in nov, as much am going to merge this! 👍
cpu
and memory_in_gb
properties have been deprecated in favour of the quota
block
This functionality has been released in v2.83.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Now the spring cloud Java deployment resource supports users to set half cpu and memory values. The current cpu and memory properties whose types are
int
are unable to support that. This PR introduces new cpu and memory properties that take precedence of corresponding legacy properties. On the service side, new properties supporting setting half values also take precedence of their corresponding legacy properties.Service api reference:
https://github.com/Azure/azure-rest-api-specs/blob/master/specification/appplatform/resource-manager/Microsoft.AppPlatform/preview/2021-06-01-preview/appplatform.json#L4111