Components Catalog
Reference for common components available in SnapBench.
Databases
PostgreSQL
Relational database with SQL support.
| Setting | Default |
|---|---|
| CPU | 250m |
| Memory | 512Mi |
| Port | 5432 |
Default credentials:
- Username:
postgres - Password:
postgres - Database:
postgres
Connection string:
postgresql://postgres:postgres@postgres:5432/postgresMySQL
Popular relational database.
| Setting | Default |
|---|---|
| CPU | 250m |
| Memory | 512Mi |
| Port | 3306 |
MongoDB
Document database for JSON-like data.
| Setting | Default |
|---|---|
| CPU | 250m |
| Memory | 512Mi |
| Port | 27017 |
Redis
In-memory data store for caching.
| Setting | Default |
|---|---|
| CPU | 100m |
| Memory | 256Mi |
| Port | 6379 |
Message Brokers
Apache Kafka
Distributed event streaming platform.
| Setting | Default |
|---|---|
| CPU | 500m |
| Memory | 1Gi |
| Port | 9092 |
Common commands:
bash
# Create topic
kafka-topics --create --topic my-topic \
--bootstrap-server localhost:9092
# List topics
kafka-topics --list --bootstrap-server localhost:9092
# Produce messages
kafka-console-producer --topic my-topic \
--bootstrap-server localhost:9092
# Consume messages
kafka-console-consumer --topic my-topic \
--from-beginning --bootstrap-server localhost:9092RabbitMQ
Message broker with AMQP support.
| Setting | Default |
|---|---|
| CPU | 250m |
| Memory | 512Mi |
| AMQP Port | 5672 |
| Management UI | 15672 |
Default credentials:
- Username:
guest - Password:
guest
Search & Analytics
Elasticsearch
Search and analytics engine.
| Setting | Default |
|---|---|
| CPU | 500m |
| Memory | 1Gi |
| Port | 9200 |
Common operations:
bash
# Check cluster health
curl http://elasticsearch:9200/_cluster/health
# Create index
curl -X PUT http://elasticsearch:9200/my-index
# Index document
curl -X POST http://elasticsearch:9200/my-index/_doc \
-H "Content-Type: application/json" \
-d '{"field": "value"}'Object Storage
MinIO
S3-compatible object storage.
| Setting | Default |
|---|---|
| CPU | 250m |
| Memory | 512Mi |
| API Port | 9000 |
| Console Port | 9001 |
Default credentials:
- Access Key:
minioadmin - Secret Key:
minioadmin
CLI usage:
bash
# Configure client
mc alias set myminio http://minio:9000 minioadmin minioadmin
# Create bucket
mc mb myminio/my-bucket
# Upload file
mc cp myfile.txt myminio/my-bucket/
# List files
mc ls myminio/my-bucket/Stream Processing
Apache Flink
Stream processing framework.
| Setting | Default |
|---|---|
| CPU | 500m |
| Memory | 1Gi |
| Web UI | 8081 |
Ververica Platform
Enterprise Flink management.
| Setting | Default |
|---|---|
| CPU | 1000m |
| Memory | 2Gi |
| Web UI | 8080 |
Monitoring
Prometheus
Metrics collection and alerting.
| Setting | Default |
|---|---|
| CPU | 250m |
| Memory | 512Mi |
| Port | 9090 |
Grafana
Metrics visualization.
| Setting | Default |
|---|---|
| CPU | 250m |
| Memory | 256Mi |
| Port | 3000 |
Default credentials:
- Username:
admin - Password:
admin
Web Servers
Nginx
Web server and reverse proxy.
| Setting | Default |
|---|---|
| CPU | 100m |
| Memory | 128Mi |
| Port | 80 |
Resource Guidelines
Sizing Recommendations
| Scenario Type | Total CPU | Total Memory |
|---|---|---|
| Simple (2-3 components) | 1000m | 2Gi |
| Medium (4-6 components) | 2000m | 4Gi |
| Complex (7+ components) | 4000m | 8Gi |
Best Practices
- Start with defaults, increase if needed
- Monitor pod restarts (may indicate OOM)
- Consider startup order for dependencies
- Leave headroom for peak usage
