@@ -31,45 +31,45 @@ type Plan struct {
31
31
CPUAndMemorySpecs string
32
32
CPU string
33
33
Memory string
34
+ Mode string
35
+ Description string
34
36
}
35
37
36
38
// Plans define the plans with clear CPU and memory specs for consumption
37
39
var Plans = map [string ]Plan {
38
40
"Playground" : {
39
41
Name : "Playground" ,
40
- IngestionSpeed : "100 events/sec" ,
41
- PerDayIngestion : "~1GB" ,
42
- QueryPerformance : "Basic performance" ,
43
- CPUAndMemorySpecs : "1 CPUs, 1GB RAM" ,
42
+ Description : "Suitable for testing and PoC" ,
43
+ IngestionSpeed : "Up to 5 MiB/sec" ,
44
+ CPUAndMemorySpecs : "1 vCPU, 1Gi RAM" ,
44
45
CPU : "1" ,
45
46
Memory : "1Gi" ,
47
+ Mode : "Standalone" ,
46
48
},
47
49
"Small" : {
48
50
Name : "Small" ,
49
- IngestionSpeed : "1000 events/sec" ,
50
- PerDayIngestion : "~10GB" ,
51
- QueryPerformance : "Basic performance" ,
52
- CPUAndMemorySpecs : "2 CPUs, 4GB RAM" ,
51
+ Description : "Suitable for production grade, small volume workloads" ,
52
+ IngestionSpeed : "Up to 20 MiB/sec" ,
53
+ CPUAndMemorySpecs : "2 vCPUs, 4Gi RAM" ,
53
54
CPU : "2" ,
54
55
Memory : "4Gi" ,
56
+ Mode : fmt .Sprintf ("Distributed (1 Query pod, 3 Ingest pod)" ),
55
57
},
56
58
"Medium" : {
57
59
Name : "Medium" ,
58
- IngestionSpeed : "10,000 events/sec" ,
59
- PerDayIngestion : "~100GB" ,
60
- QueryPerformance : "Moderate performance" ,
61
- CPUAndMemorySpecs : "4 CPUs, 16GB RAM" ,
60
+ IngestionSpeed : "Up to 50 MiB/sec" ,
61
+ CPUAndMemorySpecs : "4 vCPUs, 16Gi RAM" ,
62
62
CPU : "4" ,
63
63
Memory : "16Gi" ,
64
+ Mode : fmt .Sprintf ("Distributed (1 Query pod, 3 Ingest pod)" ),
64
65
},
65
66
"Large" : {
66
67
Name : "Large" ,
67
- IngestionSpeed : "100,000 events/sec" ,
68
- PerDayIngestion : "~1TB" ,
69
- QueryPerformance : "High performance" ,
70
- CPUAndMemorySpecs : "8 CPUs, 32GB RAM" ,
68
+ IngestionSpeed : "Up to 100 MiB/sec" ,
69
+ CPUAndMemorySpecs : "8 vCPUs, 32Gi RAM" ,
71
70
CPU : "8" ,
72
71
Memory : "32Gi" ,
72
+ Mode : fmt .Sprintf ("Distributed (1 Query pod, 3 Ingest pod)" ),
73
73
},
74
74
}
75
75
@@ -84,16 +84,15 @@ func promptUserPlanSelection() (Plan, error) {
84
84
// Custom template for displaying plans
85
85
templates := & promptui.SelectTemplates {
86
86
Label : "{{ . }}" ,
87
- Active : "▶ {{ .Name | yellow }} ({{ .IngestionSpeed | cyan }}) " ,
88
- Inactive : " {{ .Name | yellow }} ({{ .IngestionSpeed | cyan }}) " ,
87
+ Active : "▶ {{ .Name | yellow }} " ,
88
+ Inactive : " {{ .Name | yellow }} " ,
89
89
Selected : "{{ `Selected plan:` | green }} '{{ .Name | green }}' ✔ " ,
90
90
Details : `
91
91
--------- Plan Details ----------
92
92
{{ "Plan:" | faint }} {{ .Name }}
93
93
{{ "Ingestion Speed:" | faint }} {{ .IngestionSpeed }}
94
- {{ "Per Day Ingestion:" | faint }} {{ .PerDayIngestion }}
95
- {{ "Query Performance:" | faint }} {{ .QueryPerformance }}
96
- {{ "CPU & Memory:" | faint }} {{ .CPUAndMemorySpecs }}` ,
94
+ {{ "Infrastructure:" | faint }} {{ .Mode }}
95
+ {{ "CPU & Memory:" | faint }} {{ .CPUAndMemorySpecs }} per pod` ,
97
96
}
98
97
99
98
// Add a note about the default plan in the label
0 commit comments