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

clusters improvement #1 and #2 #509

Merged
merged 12 commits into from
Feb 6, 2022
Merged

clusters improvement #1 and #2 #509

merged 12 commits into from
Feb 6, 2022

Conversation

danielmarzini
Copy link
Collaborator

@danielmarzini danielmarzini commented Feb 5, 2022

  • decouple initial_node_count from node_count (cannot be set at the same time)
  • using project_id as a parameters for the clusters variable to being able to place clusters into different projects

Copy link
Collaborator

@juliocc juliocc left a comment

Choose a reason for hiding this comment

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

Hey @danielmarzini. Thanks for the PR, see comments below:

Yu have to rebase your branch. Once you do that you'll notice you don't have to do the thing you're doing with bindings in the host project.

The part regarding the project_id seems a little redundant since we're deploying a single project (at least initially) but we can keep it.

The initial_node_count fix is definitely needed since it's currently broken.

fast/stages/03-gke-multitenant/prod/main.tf Outdated Show resolved Hide resolved
@danielmarzini
Copy link
Collaborator Author

danielmarzini commented Feb 5, 2022

@juliocc removed gke-project-1 and its binding, left there the structure to host future projects addition. wdyt?

@danielmarzini danielmarzini requested a review from juliocc February 5, 2022 20:14
Copy link
Collaborator

@juliocc juliocc left a comment

Choose a reason for hiding this comment

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

left a few comments on the code. Also, can you remove the intermediary commits (or at least squash when mergin back to fast-dev-gke)?

fast/stages/03-gke-multitenant/prod/main.tf Outdated Show resolved Hide resolved
fast/stages/03-gke-multitenant/prod/main.tf Outdated Show resolved Hide resolved
@danielmarzini
Copy link
Collaborator Author

@juliocc now adjusted

@danielmarzini danielmarzini requested a review from juliocc February 6, 2022 13:13
@juliocc juliocc merged commit 302e858 into fast-dev-gke Feb 6, 2022
@juliocc juliocc deleted the fast-dev-gke-dmarzi branch February 6, 2022 17:58
juliocc pushed a commit that referenced this pull request Feb 6, 2022
* shared_vpc_self_link variable from stage2

* removing shared_vpc_self_link

* do not initial_node_count as node_count
juliocc pushed a commit that referenced this pull request Feb 6, 2022
* shared_vpc_self_link variable from stage2

* removing shared_vpc_self_link

* do not initial_node_count as node_count
juliocc pushed a commit that referenced this pull request Feb 7, 2022
* shared_vpc_self_link variable from stage2

* removing shared_vpc_self_link

* do not initial_node_count as node_count
juliocc pushed a commit that referenced this pull request Feb 9, 2022
* shared_vpc_self_link variable from stage2

* removing shared_vpc_self_link

* do not initial_node_count as node_count
juliocc pushed a commit that referenced this pull request Feb 9, 2022
* shared_vpc_self_link variable from stage2

* removing shared_vpc_self_link

* do not initial_node_count as node_count
juliocc pushed a commit that referenced this pull request Feb 10, 2022
* shared_vpc_self_link variable from stage2

* removing shared_vpc_self_link

* do not initial_node_count as node_count
juliocc pushed a commit that referenced this pull request Feb 14, 2022
* shared_vpc_self_link variable from stage2

* removing shared_vpc_self_link

* do not initial_node_count as node_count
juliocc pushed a commit that referenced this pull request Feb 16, 2022
* shared_vpc_self_link variable from stage2

* removing shared_vpc_self_link

* do not initial_node_count as node_count
juliocc pushed a commit that referenced this pull request Feb 28, 2022
* shared_vpc_self_link variable from stage2

* removing shared_vpc_self_link

* do not initial_node_count as node_count
juliocc pushed a commit that referenced this pull request Mar 1, 2022
* shared_vpc_self_link variable from stage2

* removing shared_vpc_self_link

* do not initial_node_count as node_count
juliocc pushed a commit that referenced this pull request Mar 8, 2022
* shared_vpc_self_link variable from stage2

* removing shared_vpc_self_link

* do not initial_node_count as node_count
juliocc pushed a commit that referenced this pull request Mar 18, 2022
* shared_vpc_self_link variable from stage2

* removing shared_vpc_self_link

* do not initial_node_count as node_count
danielmarzini added a commit that referenced this pull request Mar 31, 2022
* shared_vpc_self_link variable from stage2

* removing shared_vpc_self_link

* do not initial_node_count as node_count
juliocc pushed a commit that referenced this pull request Apr 3, 2022
* shared_vpc_self_link variable from stage2

* removing shared_vpc_self_link

* do not initial_node_count as node_count
juliocc pushed a commit that referenced this pull request Apr 27, 2022
* shared_vpc_self_link variable from stage2

* removing shared_vpc_self_link

* do not initial_node_count as node_count
juliocc pushed a commit that referenced this pull request May 5, 2022
* shared_vpc_self_link variable from stage2

* removing shared_vpc_self_link

* do not initial_node_count as node_count
juliocc pushed a commit that referenced this pull request May 27, 2022
* shared_vpc_self_link variable from stage2

* removing shared_vpc_self_link

* do not initial_node_count as node_count
juliocc pushed a commit that referenced this pull request Jun 8, 2022
* shared_vpc_self_link variable from stage2

* removing shared_vpc_self_link

* do not initial_node_count as node_count
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants