# Proxmox Deployment Task List

Generated: 2025-12-07T12:09:24-08:00

## Immediate Tasks (Priority: High)

### Connection and Authentication

- [ ] **TASK-001**: Verify network connectivity to https://192.168.11.10:8006
  - Command: `curl -k https://192.168.11.10:8006/api2/json/version`
  - Expected: JSON response with Proxmox version

- [ ] **TASK-002**: Verify network connectivity to https://192.168.11.11:8006
  - Command: `curl -k https://192.168.11.11:8006/api2/json/version`
  - Expected: JSON response with Proxmox version

- [ ] **TASK-003**: Test authentication to Instance 1
  - Verify credentials or create API token
  - Test API access

- [ ] **TASK-004**: Test authentication to Instance 2
  - Verify credentials or create API token
  - Test API access

### Configuration Review

- [ ] **TASK-005**: Review current provider-config.yaml
  - File: `crossplane-provider-proxmox/examples/provider-config.yaml`
  - Verify endpoints match actual Proxmox instances
  - Update if necessary

- [ ] **TASK-006**: Review Cloudflare tunnel configurations
  - Files: `cloudflare/tunnel-configs/proxmox-site-*.yaml`
  - Verify hostnames and endpoints
  - Update domain names if needed

- [ ] **TASK-007**: Map Proxmox instances to sites
  - Determine which instance corresponds to which site
  - Update documentation

## Short-term Tasks (Priority: Medium)

### Crossplane Provider

- [ ] **TASK-008**: Complete Proxmox API client implementation
  - File: `crossplane-provider-proxmox/pkg/proxmox/client.go`
  - Implement actual API calls (currently TODOs)
  - Add proper HTTP client with authentication

- [ ] **TASK-009**: Build and test Crossplane provider
  - Run: `cd crossplane-provider-proxmox && make build`
  - Test provider locally

- [ ] **TASK-010**: Deploy Crossplane provider to Kubernetes
  - Apply CRDs: `kubectl apply -f config/crd/bases/`
  - Deploy provider: `kubectl apply -f config/provider.yaml`

- [ ] **TASK-011**: Create ProviderConfig resource
  - Update `examples/provider-config.yaml` with actual values
  - Create credentials secret
  - Apply ProviderConfig

### Infrastructure Setup

- [ ] **TASK-012**: Deploy Prometheus exporters to Proxmox nodes
  - Use script: `scripts/setup-proxmox-agents.sh`
  - Configure metrics collection

- [ ] **TASK-013**: Configure Cloudflare tunnels
  - Deploy tunnel configs to Proxmox nodes
  - Verify tunnel connectivity
  - Test access via Cloudflare

- [ ] **TASK-014**: Set up monitoring dashboards
  - Import Grafana dashboards
  - Configure alerts

## Long-term Tasks (Priority: Low)

### Testing and Validation

- [ ] **TASK-015**: Deploy test VMs via Crossplane
  - Create test VM on Instance 1
  - Create test VM on Instance 2
  - Verify VM lifecycle operations

- [ ] **TASK-016**: End-to-end testing
  - Test VM creation from portal
  - Test VM management operations
  - Test multi-site deployments

- [ ] **TASK-017**: Performance testing
  - Load test API endpoints
  - Test concurrent VM operations
  - Measure response times

### Documentation and Operations

- [ ] **TASK-018**: Create operational runbooks
  - VM provisioning procedures
  - Troubleshooting guides
  - Disaster recovery procedures

- [ ] **TASK-019**: Set up backup procedures
  - Configure automated backups
  - Test backup and restore

- [ ] **TASK-020**: Security audit
  - Review access controls
  - Enable TLS validation
  - Rotate credentials

