-
Notifications
You must be signed in to change notification settings - Fork 20
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
CCE: create one node pool for each availability zone #44
Conversation
Hi Karsten, You are absolutely correct that it was a bad idea to always use the first AZ for the single node pool, and I love the solution to create one node pool for each AZ. I added some suggestions but they are mainly syntax changes rather than the logic.
|
I have just seen this, if this is the case we should definitely merge it. The question then becomes will it break if we use |
Karsten, you are a genius. If
While I find the |
Co-authored-by: canaykin <70644420+canaykin@users.noreply.github.com>
Co-authored-by: canaykin <70644420+canaykin@users.noreply.github.com>
Co-authored-by: canaykin <70644420+canaykin@users.noreply.github.com>
Co-authored-by: canaykin <70644420+canaykin@users.noreply.github.com>
@canaykin One thing came to my mind to consider (and test): |
Absolutely, but in that case a change is expected as the ordering of elements in a list is important. User is expected to know |
Hello iits team,
We noticed that one can define a list of availability zones (az) for the variable
node_config.availability_zones
in the CCE module. When doing so only one node pool is created and the first item in the list is used in the config.In this PR, I simply added a
count
to the terraform module to make sure one node pool is created for each az.This adds real high availability to the CCE cluster in case one OTC az goes down.
I was able to test this successfully. The existing node pool was renamed in-place (not destroyed and recreated).
Hope this is helpful
Cheers Karsten