Skip to content

Commit

Permalink
Hard code slurm network for K8 cluster.
Browse files Browse the repository at this point in the history
  • Loading branch information
tmiddelkoop committed May 6, 2021
1 parent 1f6866b commit 1e9304d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions slurm-gcp/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,14 @@ module "slurm_cluster_compute" {
zone = var.zone
}

## Custom resources. TODO: Move to separate module.
resource "google_container_cluster" "class" {
name = "class-container-cluster"
count = 1
initial_node_count = 3
location = var.zone
network = var.network_name
subnetwork = var.subnetwork_name
network = "class-network"
subnetwork = "class-us-central1"

release_channel {
channel = "RAPID"
Expand Down

0 comments on commit 1e9304d

Please sign in to comment.