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

[terraform/gcp] Split up regular and headless workspaces into separate nodepools #13140

Merged
merged 2 commits into from
Sep 29, 2022

Conversation

adrienthebo
Copy link
Contributor

@adrienthebo adrienthebo commented Sep 20, 2022

Description

Related Issue(s)

See #12740

How to test

Create a preview environment with werft:

werft run github -j .werft/gke-installer-tests.yaml -a skipTests=true -a deps=external -a preview=true

Once the preview is up, login to the node and confirm that image builds run on headless workspace nodes and workspaces run on regular-workspace nodes.

Release Notes

[terraform/gcp] Run regular and headless workspaces on separate node pools

Documentation

Werft options:

  • /werft with-preview
  • /werft with-integration-tests=all
    Valid options are all, workspace, webapp, ide

@adrienthebo adrienthebo requested a review from a team September 20, 2022 19:45
@github-actions github-actions bot added the team: delivery Issue belongs to the self-hosted team label Sep 20, 2022
resource "google_container_node_pool" "workspaces" {
name = "workspaces-${var.cluster_name}"
resource "google_container_node_pool" "regular-workspaces" {
name = "regular-workspaces-${var.cluster_name}"
Copy link
Contributor

Choose a reason for hiding this comment

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

Just wondering if this reduces the maximum length allowed for cluster_name

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmm, likely - we can trim this down a bit. Good call!

Copy link
Contributor

@nandajavarma nandajavarma left a comment

Choose a reason for hiding this comment

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

/hold holding since I don't know if you would like this to go in on this release. Merge at your discretion.

@adrienthebo
Copy link
Contributor Author

/unhold

@roboquat roboquat merged commit 7e29a02 into main Sep 29, 2022
@roboquat roboquat deleted the alt/terraform/headless-ws/gke branch September 29, 2022 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note size/M team: delivery Issue belongs to the self-hosted team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants