OTC Addon configs from the OTC console in Terraform #2881
-
Hi dear community 👋, I'm writing Terraform scripts for a CCE resource, including the node pool and addons. I have a question about configuring addons, specifically the autoscaler addon, and I would really appreciate your help. When looking at the autoscaler settings in the OTC console (Auto Scaling Setting in CCE), I see that certain attributes are set: Am I correct in assuming that these settings need to be configured within the Terraform resource ![]() So basically like described in section CCE addon management with data sources in the OTC Terraform docs. When I imported the Additionally, why do we need to specify Lastly, can you please tell me where exactly do I need to specify the autoscaler rules for a node pool resource in the OTC console? Thanks in advance for your help! 😊 |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
After doing some research, I implemented the following autoscaler configuration for our CCE setup and added comments based on my understanding. It would be helpful if the OTC documentation please provide a bit more context around the available flags and their usage.
I’m still not sure where to set the autoscaler rules for a node pool |
Beta Was this translation helpful? Give feedback.
-
Hi @rb090, you’re right, our documentation doesn’t cover everything in full detail. However, you can find more information here: I noticed that the some basic parameters are now marked as optional, so we’ll be updating the resource shortly. As for your second question: you can set autoscaling rules for a node pool by clicking the “Auto Scaling” button. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your answer on this @anton-sidelnikov 🙌. For my 2nd question, is there a chance to setup the autoscaling rules also over Terraform within the |
Beta Was this translation helpful? Give feedback.
-
Perfect, thank you so much for your help and the clarification @anton-sidelnikov 🙌💗. That really helped a lot to get a better understanding. |
Beta Was this translation helpful? Give feedback.
autoscaling rules need to set in opentelekomcloud_cce_node_pool_v3