Skip to content

Commit

Permalink
fix: remove gke cluster version (#817)
Browse files Browse the repository at this point in the history
Change-Id: I7991fa3ae75e88fe88436e612c2e09297c02d360

Co-authored-by: Gen Lu <[email protected]>
  • Loading branch information
genlu2011 and Gen Lu committed Sep 16, 2024
1 parent 9ff340f commit 6114d02
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 12 deletions.
5 changes: 1 addition & 4 deletions applications/rag/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,7 @@ module "infra" {
enable_gpu = true
gpu_pools = var.gpu_pools
ray_addon_enabled = true
# TODO(genlu): remove channel and k8s_version after ray addon is in REGULAR channel
release_channel = "RAPID"
kubernetes_version = "1.30.3-gke.1969000"
depends_on = [module.project-services]
depends_on = [module.project-services]
}

data "google_container_cluster" "default" {
Expand Down
5 changes: 1 addition & 4 deletions applications/ray/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,7 @@ module "infra" {
enable_gpu = var.enable_gpu
gpu_pools = var.gpu_pools
ray_addon_enabled = true
# TODO(genlu): remove channel and k8s_version after ray addon is in REGULAR channel
release_channel = "RAPID"
kubernetes_version = "1.30.3-gke.1969000"
depends_on = [module.project-services]
depends_on = [module.project-services]
}

data "google_container_cluster" "default" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ cluster_name = "test-cluster"
cluster_location = "us-east4"
gcs_fuse_csi_driver = true
ray_addon_enabled = true
# TODO(genlu): remove release_channel and kubernetes_version after 1.30.3-gke.1969000 is in REGULAR channel
release_channel = "RAPID"
kubernetes_version = "1.30.3-gke.1969000"

cpu_pools = [{
name = "cpu-pool"
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ terraform {
google-beta = {
source = "hashicorp/google-beta"
# Creating Autopilot using GKE submodule is broken in v6.2.0.
version = ">= 5.40.0, !=6.2.0"
version = ">= 5.40.0, <= 6.1.0"
}
helm = {
source = "hashicorp/helm"
Expand Down

0 comments on commit 6114d02

Please sign in to comment.