Skip to content

Conversation

@jimright
Copy link
Contributor

Update to infrastructure and platform roles to support an L2 networking deployment on GCP.
Summary of changes:

  • In infra
    • Created a Cloud Router and Cloud NAT. These are required to communicate with the Control Plane when setting up the environment resources.
    • Removes these resources during teardown.
  • In platform
  • updated the use_public_ip parameter in the cloudera.cloud.env call to follow the value of env.public_endpoint_access.

Tested these changes to confirm that L2 environment was successfully deployed. Also tested that teardown completes successfully.

Changes done in collaboration with Jeremy Wietrzykowski (@ws30)

@jimright jimright force-pushed the feature/gcp_l1_l2_updates branch from 20df06a to aa1f2ff Compare June 21, 2022 18:44
infra__gcp_storage_location_data: "{{ infra.gcp.storage.path.data | default([infra__storage_name, infra__data_path] | join('-')) }}"
infra__gcp_storage_location_logs: "{{ infra.gcp.storage.path.logs | default([infra__storage_name, infra__logs_path] | join('-')) }}"

infra__gcp_cloud_router_name: "{{ infra.gcp.network.router.name | default([infra__namespace, 'router'] | join('-')) }}"
Copy link
Contributor

Choose a reason for hiding this comment

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

These should be declared as standard suffixes and then referenced here, not input as static strings.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks @Chaffelson. Updated the code with those changes in commit 886b15e.

@jimright jimright requested a review from Chaffelson June 23, 2022 11:49
@wmudge wmudge added the enhancement MINOR - New feature or enhancement in the CHANGELOG label Jul 14, 2022
@jimright jimright force-pushed the feature/gcp_l1_l2_updates branch from 886b15e to 0b0390e Compare August 4, 2022 11:26
jimright and others added 3 commits August 10, 2022 20:21
Co-authored-by: Jeremy Wietrzykowski <[email protected]>
Co-authored-by: Jim Enright <[email protected]>
Signed-off-by: Jim Enright <[email protected]>
Co-authored-by: Jeremy Wietrzykowski <[email protected]>
Co-authored-by: Jim Enright <[email protected]>
Signed-off-by: Jim Enright <[email protected]>
Co-authored-by: Jeremy Wietrzykowski <[email protected]>
Co-authored-by: Jim Enright <[email protected]>
Signed-off-by: Jim Enright <[email protected]>
@jimright jimright force-pushed the feature/gcp_l1_l2_updates branch from 0b0390e to d51c5b4 Compare August 10, 2022 19:22
@wmudge wmudge requested review from wmudge and removed request for Chaffelson August 15, 2022 16:41
@wmudge wmudge merged commit 13c7aa2 into cloudera-labs:devel Aug 15, 2022
wmudge added a commit to wmudge/cloudera.exe that referenced this pull request Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement MINOR - New feature or enhancement in the CHANGELOG

Development

Successfully merging this pull request may close these issues.

3 participants