-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.gcp.sh-template
47 lines (36 loc) · 1.48 KB
/
config.gcp.sh-template
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
#!/usr/bin/env bash
# Cloud
export TF_VAR_cluster_prefix="your-cluster-prefix"
export TF_VAR_gce_credentials_file="path-to-your-credentials-json-file"
export TF_VAR_gce_project="your_project_id" # Google project id
export TF_VAR_gce_zone="europe-west1-b" # Some GCE zone
# Master configuration
# obs: too small flavors might cause diffuse errors on your installation
# https://cloud.google.com/compute/docs/machine-types
export TF_VAR_master_as_edge="true"
export TF_VAR_master_flavor="n1-standard-2"
# Node configuration
export TF_VAR_node_count="2"
export TF_VAR_node_flavor="n1-standard-2"
# Gluster configuration
export TF_VAR_glusternode_count="1" # 1 - 3 depending on preferred replication factor
export TF_VAR_glusternode_flavor="n1-standard-2"
export TF_VAR_glusternode_extra_disk_size="100" # Size in GB
# Edge configuration (optional)
# export TF_VAR_edge_count="2"
# export TF_VAR_edge_flavor="your-edge-flavor"
# Cloudflare configuration (optional)
# export TF_VAR_use_cloudflare = "true"
# export TF_VAR_cloudflare_email="your-cloudflare-email"
# export TF_VAR_cloudflare_token="your-cloudflare-token"
# export TF_VAR_cloudflare_domain="your-domain-name"
# Storage configuration
export TF_VAR_phenomenal_pvc_size="90Gi"
# Galaxy
export TF_VAR_galaxy_admin_email="yoourname@bla.bla.com"
export TF_VAR_galaxy_admin_password="password"
# Jupyter
export TF_VAR_jupyter_password="password"
# Kubernetes dashboard
export TF_VAR_dashboard_username="admin"
export TF_VAR_dashboard_password="password"