Skip to content

Commit 8b363ab

Browse files
Robert Baileyalpha-amundson
Robert Bailey
authored andcommitted
Set the namespace in the sample configurations for the rag, ray, & jupyter applications to ai-on-gke (#633)
Set the namespace in the sample configurations for the rag, ray, & jupyter applications to `ai-on-gke`.
1 parent 9ed23f4 commit 8b363ab

16 files changed

+18
-18
lines changed

applications/jupyter/workloads-auto-create-brand.example.tfvars

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cluster_membership_id = "" # required only for private cluster, default: cluster
2727
#######################################################
2828

2929
## JupyterHub variables
30-
kubernetes_namespace = "jupyter"
30+
kubernetes_namespace = "ai-on-gke"
3131
create_gcs_bucket = true
3232
gcs_bucket = "<gcs-bucket>"
3333
workload_identity_service_account = "jupyter-service-account"

applications/jupyter/workloads-existing-brand-auto-create-client.example.tfvars

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cluster_membership_id = "" # required only for private cluster, default: cluster
2727
#######################################################
2828

2929
## JupyterHub variables
30-
kubernetes_namespace = "jupyter"
30+
kubernetes_namespace = "ai-on-gke"
3131
gcs_bucket = "<gcs-bucket>"
3232
workload_identity_service_account = "jupyter-service-account"
3333

applications/jupyter/workloads-existing-brand-existing-client.example.tfvars

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cluster_membership_id = "" # required only for private cluster, default: cluster
2727
#######################################################
2828

2929
## JupyterHub variables
30-
kubernetes_namespace = "jupyter"
30+
kubernetes_namespace = "ai-on-gke"
3131
create_gcs_bucket = true
3232
gcs_bucket = "<gcs-bucket>"
3333
workload_identity_service_account = "jupyter-service-account"
@@ -45,4 +45,4 @@ k8s_backend_service_port = 80
4545
domain = "jupyter.example.com"
4646
client_id = "<client_id>"
4747
client_secret = "<client_secret>"
48-
members_allowlist = "user:<email>,group:<email>,serviceAccount:<email>,domain:google.com"
48+
members_allowlist = "user:<email>,group:<email>,serviceAccount:<email>,domain:google.com"

applications/jupyter/workloads-without-iap.example.tfvars

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cluster_membership_id = "" # required only for private clusters, default: cluste
2727
#######################################################
2828

2929
## JupyterHub variables
30-
kubernetes_namespace = "jupyter"
30+
kubernetes_namespace = "ai-on-gke"
3131
gcs_bucket = "<gcs-bucket>"
3232
create_gcs_bucket = true
3333
workload_identity_service_account = "jupyter-service-account"

applications/jupyter/workloads.tfvars

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ cluster_membership_id = "" # required for private cluster, defaults to `cluster_
3232
#######################################################
3333

3434
## JupyterHub variables
35-
kubernetes_namespace = "ml"
35+
kubernetes_namespace = "ai-on-gke"
3636
create_gcs_bucket = true
3737
gcs_bucket = "gcs-bucket-<unique-suffix>" # Choose a globally unique bucket name.
3838
workload_identity_service_account = "jupyter-sa"

applications/rag/metadata.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ spec:
187187
- name: kubernetes_namespace
188188
description: Kubernetes namespace where resources are deployed
189189
varType: string
190-
defaultValue: rag
190+
defaultValue: ai-on-gke
191191
- name: network_name
192192
description: Network name of VPC
193193
varType: string

applications/rag/variables.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ variable "kubernetes_version" {
3939
variable "kubernetes_namespace" {
4040
type = string
4141
description = "Kubernetes namespace where resources are deployed"
42-
default = "rag"
42+
default = "ai-on-gke"
4343
}
4444

4545
variable "additional_labels" {

applications/rag/workloads.tfvars

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ autopilot_cluster = false
2424
private_cluster = false
2525

2626
## GKE environment variables
27-
kubernetes_namespace = "rag"
27+
kubernetes_namespace = "ai-on-gke"
2828

2929
# The bucket name must be globally unique (across all of Google Cloud).
3030
# To verify, check that `gcloud storage buckets describe gs://<bucketname>` returns a 404.
@@ -69,4 +69,4 @@ frontend_members_allowlist = "user:<email>,group:<email>,serviceAccount:<email>,
6969
## Ray Dashboard IAP Settings
7070
ray_dashboard_add_auth = false # Set to true to enable authenticated access via IAP.
7171
ray_dashboard_domain = "ray.example.com" # Custom domain for ingress resource and ssl certificate.
72-
ray_dashboard_members_allowlist = "user:<email>,group:<email>,serviceAccount:<email>,domain:google.com" # Allowlist principals for access.
72+
ray_dashboard_members_allowlist = "user:<email>,group:<email>,serviceAccount:<email>,domain:google.com" # Allowlist principals for access.

applications/ray/tfvars_examples/raycluster-with-gcsfuse-volumes.tfvars

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cluster_location = "us-central1"
2727
#######################################################
2828

2929
## GKE environment variables
30-
kubernetes_namespace = "ray"
30+
kubernetes_namespace = "ai-on-gke"
3131

3232
# Creates a google service account & k8s service account & configures workload identity with appropriate permissions.
3333
# Set to false & update the variable `workload_identity_service_account` to use an existing IAM service account.

applications/ray/tfvars_examples/raycluster-with-grafana-dashboard.tfvars

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cluster_location = "us-central1"
2727
#######################################################
2828

2929
## GKE environment variables
30-
kubernetes_namespace = "ray"
30+
kubernetes_namespace = "ai-on-gke"
3131

3232
# Creates a google service account & k8s service account & configures workload identity with appropriate permissions.
3333
# Set to false & update the variable `workload_identity_service_account` to use an existing IAM service account.

applications/ray/tfvars_examples/raycluster-with-iap-auth.tfvars

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cluster_location = "us-central1"
2727
#######################################################
2828

2929
## GKE environment variables
30-
kubernetes_namespace = "ray"
30+
kubernetes_namespace = "ai-on-gke"
3131

3232
# Creates a google service account & k8s service account & configures workload identity with appropriate permissions.
3333
# Set to false & update the variable `workload_identity_service_account` to use an existing IAM service account.

applications/ray/tfvars_examples/raycluster-with-workload-identity.tfvars

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cluster_location = "us-east4"
2727
#######################################################
2828

2929
## GKE environment variables
30-
kubernetes_namespace = "ray-kuberay11"
30+
kubernetes_namespace = "ai-on-gke"
3131

3232
# Creates a google service account & k8s service account & configures workload identity with appropriate permissions.
3333
# Set to false & update the variable `workload_identity_service_account` to use an existing IAM service account.

applications/ray/tfvars_examples/simple-raycluster-with-existing-gke-cluster.tfvars

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cluster_location = "<your-cluster-location>"
2727
#######################################################
2828

2929
## GKE environment variables
30-
kubernetes_namespace = "ray"
30+
kubernetes_namespace = "ai-on-gke"
3131

3232
# Creates a google service account & k8s service account & configures workload identity with appropriate permissions.
3333
# Set to false & update the variable `workload_identity_service_account` to use an existing IAM service account.

applications/ray/tfvars_examples/simple-raycluster-with-new-gke-cluster.tfvars

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ cluster_location = "<your-cluster-location>"
2727
#######################################################
2828

2929
## GKE environment variables
30-
kubernetes_namespace = "ray"
30+
kubernetes_namespace = "ai-on-gke"
3131

3232
# Creates a google service account & k8s service account & configures workload identity with appropriate permissions.
3333
# Set to false & update the variable `workload_identity_service_account` to use an existing IAM service account.

applications/ray/variables.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ variable "ray_version" {
3939
variable "kubernetes_namespace" {
4040
type = string
4141
description = "Kubernetes namespace where resources are deployed"
42-
default = "ml"
42+
default = "ai-on-gke"
4343
}
4444

4545
variable "enable_grafana_on_ray_dashboard" {

applications/ray/workloads.tfvars

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ autopilot_cluster = true
3232
#######################################################
3333

3434
## GKE environment variables
35-
kubernetes_namespace = "ml"
35+
kubernetes_namespace = "ai-on-gke"
3636

3737
# Creates a google service account & k8s service account & configures workload identity with appropriate permissions.
3838
# Set to false & update the variable `workload_identity_service_account` to use an existing IAM service account.

0 commit comments

Comments
 (0)