forked from GoogleCloudPlatform/ai-on-gke
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathworkloads.tfvars
65 lines (54 loc) · 2.78 KB
/
workloads.tfvars
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Copyright 2023 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
##common variables
## Need to pull this variables from tf output from previous platform stage
project_id = "<your project ID>"
## This is required for terraform to connect to GKE cluster and deploy workloads.
cluster_name = "<cluster name>"
cluster_location = "us-central1"
## If terraform should create a new GKE cluster, fill in this section as well.
## By default, a public autopilot GKE cluster will be created in the default network.
## Set the autopilot_cluster variable to false to create a standard cluster instead.
create_cluster = false
autopilot_cluster = true
#######################################################
#### APPLICATIONS
#######################################################
## GKE environment variables
kubernetes_namespace = "ai-on-gke"
# Creates a google service account & k8s service account & configures workload identity with appropriate permissions.
# Set to false & update the variable `workload_identity_service_account` to use an existing IAM service account.
create_service_account = true
workload_identity_service_account = "ray-sa"
# Bucket name should be globally unique.
create_gcs_bucket = true
gcs_bucket = "ray-bucket-zydg"
create_ray_cluster = true
ray_cluster_name = "ray-cluster"
enable_grafana_on_ray_dashboard = false
enable_gpu = false
## IAP config - if you choose to disable IAP authenticated access for your endpoints, ignore everthing below this line.
create_brand = false
support_email = "<email>" ## specify if create_brand=true
## Ray Dashboard IAP Settings
ray_dashboard_add_auth = false # Set to true when using auth with IAP
ray_dashboard_k8s_ingress_name = "ray-dashboard-ingress"
ray_dashboard_k8s_managed_cert_name = "ray-dashboard-managed-cert"
ray_dashboard_k8s_iap_secret_name = "ray-dashboard-iap-secret"
ray_dashboard_k8s_backend_config_name = "ray-dashboard-iap-config"
ray_dashboard_k8s_backend_service_port = 8265
ray_dashboard_domain = "ray.example.com"
ray_dashboard_client_id = ""
ray_dashboard_client_secret = ""
ray_dashboard_members_allowlist = "user:<email>,group:<email>,serviceAccount:<email>,domain:google.com"