11# ------------------------------------------- Required block -----------------------------------------------------------
22# These variables are required and don't have default values
3- # You must provide values for these to run the deployment successfully
43
54# your GCP project ID
65GCP_PROJECT_ID=
@@ -25,52 +24,6 @@ PREFIX=e2b-
2524# prod, staging, dev
2625TERRAFORM_ENVIRONMENT=dev
2726
28- # Cluster configuration
29- # {
30- # "cluster_size": 1, // Number of nodes (the actual number of nodes may be higher due to autoscaling)
31- # "machine": { // Machine type and CPU platform
32- # "type": "n1-standard-8",
33- # "min_cpu_platform": "Intel Skylake"
34- # },
35- # "autoscaler": {
36- # "size_max": 1, // Maximum number of nodes to scale up to
37- # "memory_target": 100, // Target memory utilization percentage for autoscaling (0-100)
38- # "cpu_target": 0.7 // Target CPU utilization percentage for autoscaling (0-1)
39- # },
40- # "boot_disk": {
41- # "disk_type": "pd-ssd", // Boot disk type (only persistent disks are currently supported)
42- # "size_gb": 100 // Boot disk size in GB
43- # },
44- # "cache_disks": {
45- # "disk_type": "local-ssd", // Cache disk type (local-ssd or pd-ssd)
46- # "size_gb": 375, // Cache disk size in GB
47- # "count": 1 // Number of cache disks
48- # }
49- # }
50- # Build cluster configuration
51- # Example:
52- BUILD_CLUSTERS_CONFIG='{"default": {"cluster_size": 1, "machine":{"type":"n1-standard-8","min_cpu_platform":"Intel Skylake"}, "boot_disk":{"disk_type":"pd-ssd","size_gb":200}, "cache_disks":{"disk_type":"local-ssd","size_gb":375,"count":1}}}'
53-
54- # Client cluster configuration
55- # Example:
56- CLIENT_CLUSTERS_CONFIG='{"default": {"cluster_size": 1, "hugepages_percentage": 80, "machine":{"type":"n1-standard-8","min_cpu_platform":"Intel Skylake"}, "autoscaler": {"size_max": 2, "memory_target": 100, "cpu_target": 0.7}, "boot_disk":{"disk_type":"pd-ssd","size_gb":200}, "cache_disks":{"disk_type":"local-ssd","size_gb":375,"count":1}}}'
57-
58- # This is the nomad and consul server (only for scheduling and service discovery)
59- # eg e2-standard-2
60- SERVER_MACHINE_TYPE=e2-standard-2
61- # e.g. 3
62- SERVER_CLUSTER_SIZE=3
63-
64- # e.g. e2-standard-4
65- API_MACHINE_TYPE=e2-standard-4
66- # e.g. 1
67- API_CLUSTER_SIZE=1
68-
69- # e.g. e2-standard-4
70- CLICKHOUSE_MACHINE_TYPE=e2-standard-4
71- # e.g. 1
72- CLICKHOUSE_CLUSTER_SIZE=1
73-
7427# ------------------------------------------- Optional block -----------------------------------------------------------
7528# Following variables are optional and doesn't have to be set
7629
@@ -81,59 +34,9 @@ CLICKHOUSE_CLUSTER_SIZE=1
8134CLIENT_PROXY_VERSION=
8235CLICKHOUSE_MIGRATOR_VERSION=
8336
84- # Deploy the docker-reverse-proxy Nomad job (default: true)
85- # The proxy is deprecated and its image is no longer built from source, so the
86- # job can only run on clusters that already have docker-reverse-proxy:latest in
87- # their core repository. Set to false on any cluster that does not, otherwise
88- # the allocation fails on the missing image.
89- DOCKER_REVERSE_PROXY_ENABLED=
90-
91- # Dashboard API instance count (default: 0)
92- DASHBOARD_API_COUNT=
93-
94- # Filestore cache for builds shared across cluster (default:false)
95- FILESTORE_CACHE_ENABLED=
96- # BASIC_HDD for staging+dev, ZONAL for production
97- FILESTORE_CACHE_TIER=
98- # 1024 GB for staging+dev, 1024 GB or 10240 GB for production (10240 is different zonal capacity tier)
99- FILESTORE_CACHE_CAPACITY_GB=
100-
101- # Boot disk types (pd-ssd, pd-balanced, pd-standard, pd-extreme), only some values can be based on the machine type
102- # Default: pd-ssd
103- API_BOOT_DISK_TYPE=
104- SERVER_BOOT_DISK_TYPE=
105- CLICKHOUSE_BOOT_DISK_TYPE=
106- LOKI_BOOT_DISK_TYPE=
107-
108- # ClickHouse stateful data disk (mounted at /clickhouse)
109- # Type: pd-ssd (default), pd-balanced, pd-extreme, hyperdisk-balanced, hyperdisk-extreme, hyperdisk-throughput
110- # Must be compatible with CLICKHOUSE_MACHINE_TYPE (C4 family requires hyperdisk-*)
111- # Default: pd-ssd
112- CLICKHOUSE_STATEFUL_DISK_TYPE=
113- # Default: 100
114- CLICKHOUSE_STATEFUL_DISK_SIZE_GB=
115-
116- # Managed Redis (default: false)
117- REDIS_MANAGED=
118- # Redis shard count (default: 1)
119- REDIS_SHARD_COUNT=
120- # GCP managed Redis/Valkey node type (default: STANDARD_SMALL)
121- GCP_REDIS_NODE_TYPE=
122- # GCP managed Redis/Valkey engine version (default: VALKEY_8_0)
123- GCP_REDIS_ENGINE_VERSION=
124-
12537# Template bucket name (if you want to use a different bucket for templates then the default one)
12638# TEMPLATE_BUCKET_NAME=
12739
128- # GCS Anywhere Cache for the template bucket (default: false)
129- # Creates SSD-backed zonal read caches in every zone of the deploy region.
130- ANYWHERE_CACHE_ENABLED=
131-
132- # Default persistent volume type (default: "")
133- DEFAULT_PERSISTENT_VOLUME_TYPE=
134- # Persistent volume types (default: {})
135- PERSISTENT_VOLUME_TYPES=
136-
13740# Client proxy OIDC issuer for edge gRPC autoresume auth.
13841CLIENT_PROXY_OIDC_ISSUER_URL=
13942
@@ -143,9 +46,6 @@ ORY_SDK_URL=
14346# Ory OIDC issuer URL (must match an AUTH_PROVIDER_CONFIG.jwt[*].issuer.url;
14447# defaults to the configured single JWT issuer if unset). Not the SDK URL.
14548ORY_ISSUER_URL=
146- # Ory Project API token: set the secret value out-of-band via Google Secret
147- # Manager on `<prefix>ory-project-api-token` (the secret resource is managed
148- # here with a placeholder so terraform doesn't overwrite operator updates).
14949
15050# Sandbox firewall: comma-separated CIDRs to allow through the private-range deny list
15151# ALLOW_SANDBOX_INTERNAL_CIDRS=
0 commit comments