SIENTIAPDE-1241: Updated readme (removed port foward script))
This commit is contained in:
29
README.md
29
README.md
@@ -519,26 +519,6 @@ kubectl exec -n temporal <temporal-admin-tools-pod-name> -- \
|
||||
|
||||
The Model Manager requires connections to several external services. For local development, you can use the provided port-forward script to establish connections to services running in your Kubernetes cluster.
|
||||
|
||||
#### Port Forward Setup Script
|
||||
|
||||
The `setup_port_forwards.sh` script automates the creation of port forwards to all required services:
|
||||
|
||||
**Features:**
|
||||
- 🔄 **Automatic Cleanup**: Kills existing port-forward jobs for the same services
|
||||
- ✅ **Port Validation**: Checks if ports are available before creating forwards
|
||||
- 🛡️ **Safe Execution**: Stops if any port is already in use by another process
|
||||
- 📊 **Clear Output**: Color-coded status messages and service information
|
||||
|
||||
**Usage:**
|
||||
|
||||
```bash
|
||||
# Make script executable (first time only)
|
||||
chmod +x setup_port_forwards.sh
|
||||
|
||||
# Run the script
|
||||
./setup_port_forwards.sh
|
||||
```
|
||||
|
||||
**Services and Ports:**
|
||||
|
||||
| Local Port | Service | Description | Namespace |
|
||||
@@ -559,17 +539,8 @@ jobs -l
|
||||
# Stop all port forwards
|
||||
jobs -p | xargs kill
|
||||
|
||||
# Stop and restart (using the script)
|
||||
./setup_port_forwards.sh
|
||||
```
|
||||
|
||||
**Troubleshooting:**
|
||||
|
||||
If you encounter port conflicts:
|
||||
1. The script will show which ports are in use
|
||||
2. Stop the conflicting process or use the script to kill existing port-forwards
|
||||
3. Run the script again
|
||||
|
||||
**Manual Port Forwarding:**
|
||||
|
||||
If you prefer manual control or need different ports:
|
||||
|
||||
Reference in New Issue
Block a user