Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions config/milvus_s3_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
objectStorage:
s3:
endpoint: "https://your-hetzner-s3-bucket.example.com"
accessKey: "YOUR_ACCESS_KEY"
secretKey: "YOUR_SECRET_KEY"
bucket: "tee-worker-storage"
useSSL: true
11 changes: 11 additions & 0 deletions docs/storage_migration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## S3 Migration Guide

1. Create Hetzner S3 bucket
2. Transfer data from MinIO to S3
3. Update Milvus configuration to use S3
4. Validate data integrity

### Verification Steps
- Check object counts in both storage systems
- Run integration tests
- Monitor system performance
7 changes: 7 additions & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
objectStorage:
s3:
enabled: true
endpoint: "https://your-hetzner-s3-bucket.example.com"
accessKey: "YOUR_ACCESS_KEY"
secretKey: "YOUR_SECRET_KEY"
bucket: "tee-worker-storage"
4 changes: 4 additions & 0 deletions scripts/migrate_minio_to_s3.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
# S3 migration script with error handling
# Add your migration logic here using AWS CLI or MinIO client
# Example: mc mirror /minio/data/ s3://tee-worker-storage/
11 changes: 11 additions & 0 deletions tests/s3_integration_test.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package tests

import (
"testing"
"github.com/masa-finance/tee-worker/pkg/client"
)

func TestS3Migration(t *testing.T) {
// Add test cases for S3 migration scenarios
// Verify data integrity, error handling, and configuration changes
}
Loading