-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.kvm.sh-template
56 lines (44 loc) · 1.79 KB
/
config.kvm.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
48
49
50
51
52
53
54
55
56
#!/usr/bin/env bash
# Cloud
export TF_VAR_cluster_prefix="your-cluster-prefix"export TF_VAR_kubenow_dir="kvm-image"
export TF_VAR_kubenow_dir="kvm-image"
export TF_VAR_provider="kvm"
# Master configuration
export TF_VAR_master_as_edge="true"
export TF_VAR_master_vcpu="3"
export TF_VAR_master_memory="4096"
# Network configuration
# export TF_VAR_network_mode="bridge" # nat
# export TF_VAR_bridge_name="br0"
# Storage configuration
# libvirt virtual disk storage pool name
export TF_VAR_volume_pool="default"
#storage size that can be used for PhenoMenal services
export TF_VAR_phenomenal_pvc_size="95Gi"
# If this option is set a extra virtual disk image is created and attached
# to VM as storage for PhenoMenal services
export TF_VAR_master_extra_disk_size="100" # GiB
# If this option is set a directory of host is mounted via virtio as
# storage for PhenoMenal services (Only supported on Ubuntu host)
#export TF_VAR_hostpath_vol_size="100Gi"
# host directory to be mounted on guest
#export TF_VAR_hostpath_vol_path="/mnt/data"
# If this option an existing NFS server are used as storage for PhenoMenal services
#export TF_VAR_nfs_vol_size="100Gi"
# ip-number or hostname of server
#export TF_VAR_nfs_server="192.x.x.x"
# path on NFS server to be used as storage
#export TF_VAR_nfs_path="/shared/data"
# 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"
# Galaxy
export TF_VAR_galaxy_admin_email="[email protected]"
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"