Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
53 changes: 53 additions & 0 deletions tools/milvus/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Milvus Installation Validation Script

Validates commands in `website/docs/installation/milvus.md`.

## Features

1. Prerequisites check (kubectl, kind, helm)
2. Create Kind cluster (`make create-cluster`)
3. Deploy Milvus (Standalone or Cluster mode)
4. Verify deployment
5. Apply client config & network policies
6. Connection tests

## Deployment Modes

| Mode | Use Case |
| -------------- | ------------------- |
| **Standalone** | Development/testing |
| **Cluster** | Production (HA) |

## Usage

**Interactive:**

```bash
./tools/milvus/test-milvus-deployment.sh
```

**Non-Interactive (CI/CD):**

```bash
MILVUS_MODE=standalone RECREATE_CLUSTER=false CLEANUP=false ./tools/milvus/test-milvus-deployment.sh
```

### Environment Variables

| Variable | Values | Description |
| ------------------ | ----------------------- | ------------------------------- |
| `MILVUS_MODE` | `standalone`, `cluster` | Deployment mode |
| `RECREATE_CLUSTER` | `true`, `false` | Recreate Kind cluster if exists |
| `CLEANUP` | `true`, `false` | Cleanup after test |

## Troubleshooting

**ServiceMonitor CRD Not Found:**
```bash
# Add: --set metrics.serviceMonitor.enabled=false
```

**Both Pulsar versions running:**
```bash
# Add: --set pulsar.enabled=false --set pulsarv3.enabled=true
```
Loading
Loading