70 lines
1.1 KiB
Markdown
70 lines
1.1 KiB
Markdown
# Quick Start Guide
|
|
|
|
This guide will help you get RdpBroker running quickly.
|
|
|
|
## 1. Build the Image
|
|
|
|
```bash
|
|
cd src/
|
|
docker build -t rdpbroker:latest .
|
|
```
|
|
|
|
## 2. Configure
|
|
|
|
Create `my-values.yaml`:
|
|
|
|
```yaml
|
|
image:
|
|
repository: rdpbroker
|
|
tag: latest
|
|
|
|
config:
|
|
sambaAD:
|
|
server: "YOUR_AD_SERVER"
|
|
port: 389
|
|
baseDN: "DC=example,DC=com"
|
|
|
|
targets:
|
|
data: |
|
|
targets:
|
|
- name: "Test Server"
|
|
host: "192.168.1.10"
|
|
port: 3389
|
|
description: "Test RDP Server"
|
|
```
|
|
|
|
## 3. Deploy
|
|
|
|
```bash
|
|
# Create namespace
|
|
kubectl create namespace rdpbroker
|
|
|
|
# Install with Helm
|
|
helm install rdpbroker ./chart/rdpbroker -f my-values.yaml -n rdpbroker
|
|
|
|
# Get service IP
|
|
kubectl get svc rdpbroker -n rdpbroker
|
|
```
|
|
|
|
## 4. Connect
|
|
|
|
```bash
|
|
# Get the external IP
|
|
export RDP_IP=$(kubectl get svc rdpbroker -n rdpbroker -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
|
|
|
|
# Connect with RDP client
|
|
xfreerdp /v:$RDP_IP:3389 /u:yourusername
|
|
```
|
|
|
|
## 5. Monitor
|
|
|
|
```bash
|
|
# View logs
|
|
kubectl logs -f deployment/rdpbroker -n rdpbroker
|
|
|
|
# Check pods
|
|
kubectl get pods -n rdpbroker
|
|
```
|
|
|
|
For detailed instructions, see [docs/deployment.md](docs/deployment.md).
|