Additional notes
To start the Kubernetes Dashboard, use the following command:
minikube dashboard --url=true --port=8083
Once the dashboard service is ready, you can visit the web interface in your browser.
Forward the ports of the data stores services to localhost:
- PostgreSQL Database:
kubectl port-forward deployment/postgres 5432:5432
- Redis Cache:
kubectl port-forward deployment/redis 6379:6379
- InfluxDB Database:
kubectl port-forward deployment/influx 8086:8086
- REST Server: port 8081
go mod edit -replace github.com/diadata-org/diadata=/mnt/env-context
To debug InfluxDB writes, just change points in batch to see more frequent writes to influx (
pkg/model/db.go
):influxMaxPointsInBatch = 10
A
.testenv.local
file at root folder is required to pull private images from Docker:data_docker_registry=docker.io
data_docker_username=my_user
data_docker_password="my_password"
Last modified 1mo ago