forked from kinvolk/service-mesh-benchmark
-
Notifications
You must be signed in to change notification settings - Fork 1
/
equinix-metal-cluster.lokocfg
85 lines (71 loc) · 1.68 KB
/
equinix-metal-cluster.lokocfg
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# Variables
variable "metal_project_id" {}
variable "route53_zone" {}
variable "state_s3_bucket" {}
variable "state_s3_key" {}
variable "state_s3_region" {}
variable "lock_dynamodb_table" {}
variable "ssh_pub_keys" {}
variable "region_private_cidr" {}
# Cluster config
backend "s3" {
bucket = var.state_s3_bucket
key = var.state_s3_key
region = var.state_s3_region
dynamodb_table = var.lock_dynamodb_table
}
cluster "packet" {
project_id = var.metal_project_id
cluster_name = "test-wrk2"
facility = "dfw2"
# no t1.small in DFW2
controller_type = "x1.small.x86"
asset_dir = "./assets"
controller_count = 1
ssh_pubkeys = var.ssh_pub_keys
management_cidrs = ["0.0.0.0/0"]
node_private_cidr = var.region_private_cidr
dns {
zone = var.route53_zone
provider = "route53"
}
worker_pool "workload" {
count = 6
node_type = "m2.xlarge.x86"
labels = {
"role" = "workload"
}
}
# Reserved for the load generator
worker_pool "loadgenerator" {
count = 1
node_type = "m2.xlarge.x86"
labels = {
"role" = "benchmark"
}
}
}
# Component config
component "openebs-operator" {}
component "openebs-storage-class" {
storage-class "openebs-test-sc" {
replica_count = 1
default = true
}
}
component "prometheus-operator" {
prometheus {
watch_labeled_service_monitors = "false"
watch_labeled_prometheus_rules = "false"
}
namespace = "monitoring"
}
# uncomment, then `lokoctl component apply <component>` to install
#
#component "experimental-istio-operator" {
# enable_monitoring = true
#}
#
#component "experimental-linkerd" {
# enable_monitoring = true
#}