@@ -31,45 +31,45 @@ type Plan struct {
3131 CPUAndMemorySpecs string
3232 CPU string
3333 Memory string
34+ Mode string
35+ Description string
3436}
3537
3638// Plans define the plans with clear CPU and memory specs for consumption
3739var Plans = map [string ]Plan {
3840 "Playground" : {
3941 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" ,
4445 CPU : "1" ,
4546 Memory : "1Gi" ,
47+ Mode : "Standalone" ,
4648 },
4749 "Small" : {
4850 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" ,
5354 CPU : "2" ,
5455 Memory : "4Gi" ,
56+ Mode : "Distributed (1 Query pod, 3 Ingest pod)" ,
5557 },
5658 "Medium" : {
5759 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" ,
6262 CPU : "4" ,
63- Memory : "16Gi" ,
63+ Memory : "18Gi" ,
64+ Mode : "Distributed (1 Query pod, 3 Ingest pod)" ,
6465 },
6566 "Large" : {
6667 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" ,
7170 CPU : "8" ,
72- Memory : "32Gi" ,
71+ Memory : "16Gi" ,
72+ Mode : "Distributed (1 Query pod, 3 Ingest pod)" ,
7373 },
7474}
7575
@@ -84,16 +84,15 @@ func promptUserPlanSelection() (Plan, error) {
8484 // Custom template for displaying plans
8585 templates := & promptui.SelectTemplates {
8686 Label : "{{ . }}" ,
87- Active : "▶ {{ .Name | yellow }} ({{ .IngestionSpeed | cyan }}) " ,
88- Inactive : " {{ .Name | yellow }} ({{ .IngestionSpeed | cyan }}) " ,
87+ Active : "▶ {{ .Name | yellow }} " ,
88+ Inactive : " {{ .Name | yellow }} " ,
8989 Selected : "{{ `Selected plan:` | green }} '{{ .Name | green }}' ✔ " ,
9090 Details : `
9191--------- Plan Details ----------
9292{{ "Plan:" | faint }} {{ .Name }}
9393{{ "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` ,
9796 }
9897
9998 // Add a note about the default plan in the label
0 commit comments