Commit Graph
64 Commits
Author SHA1 Message Date
nexgen_mirrors 82be76c1d1 misc 2026-02-04 14:23:32 +10:30
coryHawkvelt 433bec4556 feat(xcloudify): add ovs_bridge support for network management
Add ovs_bridge parameter to xcloudify_network module and client utilities
to enable OVS bridge configuration for VXLAN networks. Includes validation,
documentation, and example updates.
2026-01-27 10:44:02 +10:30
nexgen_mirrors b9207c3ec1 misc 2026-01-10 19:09:00 +10:30
nexgen_mirrors 00e092a268 tidy docs 2026-01-06 15:54:35 +10:30
nexgen_mirrors d1fbd4eaec minor tidy ups 2026-01-05 13:22:00 +10:30
nexgen_mirrors 9ac0f98d92 feat(container): add network port management using OVS SDN
- Add network port configuration during container creation using OVS_SDN
- Clean up OVS bridge ports when deleting containers
- Import OVS_SDN module for port management operations
- Update delete_container method to accept and process network_ports parameter
2026-01-03 23:22:29 +10:30
nexgen_mirrors 7b977c7f9b feat(dns): add localhost resolution and DNS configuration for NSControllers
- Add address=/localhost/127.0.0.1 to DNS zone generation for Docker healthchecks
- Configure container DNS to use 127.0.0.1 for NSControllers with empty dns_opt and search
- Update NSController image to xcloudify-nscontroller:latest
- Adjust Dockerfile healthcheck start-period from 10s to 5s for faster startup detection
2026-01-02 14:28:32 +10:30
nexgen_mirrors 0577cae99f docs(scripts): add DNS capabilities demonstration script
Adds a comprehensive bash script that demonstrates DNS functionality for containers:
- Creating containers with DNS-enabled ports (automatic DNS record creation)
- Creating custom A and CNAME records
- Listing, updating TTL, and deleting DNS records for a VDC

Also improves pod naming uniqueness in launch_single_container.sh by adding timestamps, and adds nscontroller image to the build script.
2026-01-02 14:12:34 +10:30
nexgen_mirrors ea4578101a Merge branch 'master' of ssh://source.hawkless.id.au:222/coryHawkvelt/theapi 2025-12-09 14:17:26 +10:30
nexgen_mirrors 76ab70db86 x 2025-12-09 14:17:22 +10:30
coryHawkvelt 9454e70f16 Merge pull request 'Anthropics take on the DNS challenge' (#28) from DNS-anthropic into master
Reviewed-on: coryHawkvelt/theapi#28
2025-12-09 03:46:25 +00:00
coryHawkvelt 0486ce97b8 update todo 2025-12-04 17:15:34 +10:30
coryHawkvelt d0143627fc Anthropics take on the DNS challenge 2025-12-04 10:05:10 +10:30
coryHawkvelt 0a3371262e DNS Docs v2 2025-12-04 09:12:37 +10:30
coryHawkvelt be89b88e67 DNS Proposal 2025-12-04 07:34:18 +10:30
coryHawkvelt adf23c4a84 feat(infra): add support for custom pod names in container deployments
Pod names enable grouping containers into pods with shared networking and lifecycle management. This feature is implemented across Ansible examples, roles, and API scripts, allowing users to specify or create pods by name for better organization of multi-container deployments.
2025-12-03 22:03:38 +10:30
nexgen_mirrors b8a7f85558 moved docs and scripts 2025-12-01 14:50:08 +10:30
nexgen_mirrors 358d961dbd ansible stuff 2025-12-01 14:36:27 +10:30
nexgen_mirrors 09cc7f19d4 feat(worker): add PCI device scanner for GPU/TPU detection
Implement PCI device scanner to detect and report GPUs, TPUs, and other
hardware accelerators on workload hosts at startup. The scanner follows
the same pattern as the existing OVS bridge scanner.

Key components:
- PCIDeviceScannerTask: Scans devices using lspci, filters based on
  vendor/device ID combinations from region configuration, and reports
  to API server
- Worker integration: Scanner initializes on worker startup and executes
  on join accept
- Region-based filtering: JSON configuration allows per-region device
  filters with wildcard support
- Storage: Uses existing WorkloadHostFixedResource model with type
  'gpu', 'tpu', or 'accelerator'

The scanner loads filters from region config via API, executes lspci,
parses device information, applies filters, and reports matched devices
to the API endpoint /api/workload_hosts/{host_id}/pci_devices.

Includes comprehensive documentation covering implementation details,
configuration examples, testing procedures, and troubleshooting guidance.
2025-12-01 12:42:11 +10:30
nexgen_mirrors 84d890f564 feat(ansible): add webserver with content generator deployment example
Add Ansible playbook for deploying nginx webserver and content generator
using shared NFS storage. Update build script to include new container image,
add port mapping to launch example, and note related todos for reallocation
and NSController CPU issues.
2025-11-28 15:23:58 +10:30
nexgen_mirrors b1bee30f9b feat(ansible): enhance xCloudify infrastructure role to v2.0.0 with full API parity
Add comprehensive support for pod management (create/attach/lifecycle), healthchecks (test/interval/timeout/retries/start_period), restart policies (always/on-failure/etc. with max retries), injected files (base64 content/permissions), and partial updates (PATCH for zero-downtime env/resources changes). Update SDK with new methods (patch_container, pod_lifecycle, wait_for_* with backoff), enhanced auth (token refresh), validation, and error handling. Include updated examples, tests, docs, and schemas for backward compatibility and 100% feature coverage.

Bump role version to 2.0.0; deprecate legacy full-recreate with warnings.
2025-11-28 15:03:51 +10:30
nexgen_mirrors e43edf5c53 Host reconciliation mostly done 2025-11-17 13:50:59 +10:30
nexgen_mirrors 7e321a2103 much 2025-11-12 16:42:35 +10:30
nexgen_mirrors 1e49dcf720 tidy docs 2025-11-12 11:55:35 +10:30
coryHawkvelt c42c352a78 NOT REVIEWED - Failover logic enhancements 2025-11-06 13:28:12 +10:30
coryHawkvelt 042fdb8478 docs and notes 2025-11-06 13:25:40 +10:30
coryHawkvelt bbfab8b8b7 docs and examples 2025-10-27 08:42:52 +10:30
coryHawkvelt 0aa048ba02 junk 2025-10-27 00:00:53 +10:30
coryHawkvelt f8721a49ec minor tidy 2025-10-26 21:08:21 +10:30
nexgen_mirrors 2ebf96c626 Docs update 2025-10-16 14:10:56 +10:30
nexgen_mirrors 04724ddb15 docs 2025-09-23 02:25:06 +09:30
nexgen_mirrors 787a1050a5 docs 2025-09-22 17:34:57 +09:30
nexgen_mirrors 78980cb047 feat(container): add support for injecting files into containers
Add validation for injected_files parameter in API, including security checks for filenames, base64 content, and permissions. Update pod payload building to include injected files. Implement file injection logic in worker tasks, with base64 decoding, temp file creation, bind mounts, and cleanup. Include comprehensive test script for validation and handling.
2025-09-22 14:12:33 +09:30
nexgen_mirrors b296bc8372 Added command param to validation function 2025-09-22 12:14:18 +09:30
nexgen_mirrors c90a3514b2 feat(ansible): add single container deployment example and improve container state handling
- Add new single-container.yml example for deploying nginx container
- Filter out deleted/pending-deleted containers in management operations
- Enhance error handling in network module with safer result access
2025-09-21 22:53:48 +09:30
nexgen_mirrors 7d6130af0b Move docs 2025-09-18 15:03:21 +09:30
nexgen_mirrors 8321e2bf34 improved deletion process to handle cloudflare record not being trashed when a nscontroller restarts 2025-09-15 16:42:13 +09:30
nexgen_mirrors 2407101ac6 offloaded the deletion process to celery and optimsed it 2025-09-15 12:14:14 +09:30
nexgen_mirrors eb9e1dfe12 todo update 2025-09-11 00:15:17 +09:30
nexgen_mirrors ecd9dbfba0 Added large container pull tracking to the worker client, websocket server and the api server 2025-09-11 00:05:18 +09:30
nexgen_mirrors 5dbba98282 First kinda working POC of docker pull tracking 2025-09-04 15:05:40 +09:30
nexgen_mirrors 1bc1c2fdb5 example scripts 2025-09-03 20:56:01 +09:30
nexgen_mirrors 8ae7deacfd Major todo item added 2025-09-03 15:20:27 +09:30
coryHawkvelt 9df4c965d3 upd todo 2025-08-27 17:28:29 +09:30
coryHawkvelt 8d2e79a173 New container for changin content of index.html 2025-08-25 12:02:07 +09:30
coryHawkvelt ee8429af1f add pod status to json output 2025-08-25 10:37:22 +09:30
coryHawkvelt 14e2389f74 Add network status field and migrations to suit 2025-08-25 04:18:02 +09:30
nexgen_mirrors 35b82314ff run worker script 2025-08-23 00:39:26 +09:30
nexgen_mirrors ec19f6e556 upd 2025-08-22 12:58:32 +09:30
nexgen_mirrors 0952bc9a23 snap 2025-08-15 14:43:50 +09:30