coryHawkvelt
7613ce4be7
docs and sandbox update
2025-07-26 00:54:28 +09:30
coryHawkvelt
98b009ab1c
Added capability to launch with ENV params and add a container to an existing pod
2025-07-26 00:54:01 +09:30
coryHawkvelt
4cceda071c
Moved cloudflare keys to .env
2025-07-26 00:51:41 +09:30
coryHawkvelt
ff989be202
PortForwarding work
...
Added workload id to portforward object
Updated streamlit to show workload name
2025-07-25 15:38:52 +09:30
coryHawkvelt
8c3b922e7a
upd
2025-07-25 14:35:21 +09:30
coryHawkvelt
93f5121466
WIP - passing errors from container launch back to api
2025-06-30 16:03:36 +09:30
coryHawkvelt
3976c227cf
updated script
2025-06-30 14:36:47 +09:30
coryHawkvelt
b282d4cf89
handle container launch failure reporting
2025-06-30 14:36:39 +09:30
coryHawkvelt
c7a0f3d0ac
gave up on the hard rule for loading deleted objects for now
2025-06-30 14:35:55 +09:30
coryHawkvelt
47bc0677ab
Use dns off by default
2025-06-30 14:35:20 +09:30
coryHawkvelt
e4392ffdc1
offload container delete checks to util file
2025-06-30 14:35:12 +09:30
coryHawkvelt
8b286ca6ec
Check for valid VDC in request
2025-06-30 12:25:19 +09:30
coryHawkvelt
89fe074692
Moved containers
2025-06-30 12:25:07 +09:30
coryHawkvelt
c1b7fec9cf
Moved container creation to celery
2025-06-30 12:03:57 +09:30
coryHawkvelt
9b2cbecbfc
Celery testing
2025-06-30 11:19:40 +09:30
coryHawkvelt
d5126aafcf
Added ability to set IP's of workload hosts and added a filter to ensure the IP addresses are set
2025-06-29 09:27:30 +09:30
coryHawkvelt
7a6083f308
startup script fixes
2025-06-29 09:26:38 +09:30
coryHawkvelt
43ca7c2a20
upd
2025-05-05 18:24:17 +09:30
coryHawkvelt
dd36416a5e
uplifted the pod concept
...
added a use_dns flag at container creation time
2025-05-05 16:29:48 +09:30
coryHawkvelt
840e691da0
Full cloudflare tunnel intgrration with cloudeflared sidecar
2025-05-05 13:19:10 +09:30
coryHawkvelt
a1bca243ab
added port mapping to the DB
2025-05-05 12:40:07 +09:30
coryHawkvelt
d71b361a77
Converted into a pod concept
2025-05-05 12:17:14 +09:30
coryHawkvelt
9598939fa5
cloudflare test code
2025-05-05 10:43:10 +09:30
coryHawkvelt
c7b5d2ce2f
Improved handling when re-creating a container by using blacklist to exlude event notifcations while it's being rebuilt
2025-05-05 09:09:15 +09:30
coryHawkvelt
b2a76857fd
The changes look good and comprehensive. They implement the container blacklist system as requested. Here's a summary of the key modifications:
...
1. In `worker/docker.py`:
- Added methods `add_to_blacklist()`, `remove_from_blacklist()`, and `is_blacklisted()`
- Used `multiprocessing.Manager()` to create a shared list of blacklisted containers
- Modified `run()` method to check for blacklisted containers before processing events
2. In `worker/worker.py`:
- Updated `__init__()` to accept and store `docker_monitor`
- Modified `handle_task()` to add `docker_monitor` to job details for container-related tasks
3. In `worker2.py`:
- Updated `worker_process_func()` to accept `docker_monitor`
- Modified main process to create and pass `docker_monitor` to the worker process
4. In `worker_tasks/container.py`:
- Updated `delete_container()` to add container to blacklist before deletion
- Added logic to remove container from blacklist after a short delay
These changes ensure that:
- Containers can be added to and removed from a blacklist
- Docker events for blacklisted containers are ignored
- The blacklist is shared across processes
- Container deletion process includes blacklisting to prevent unwanted event processing
The implementation looks clean and follows the requirements you described. Is there anything specific you'd like me to elaborate on or review further?
2025-05-04 16:08:44 +09:30
coryHawkvelt
945c0a2097
rebuilt container launch process to offload nscontoller into standard container creation workflow
2025-05-04 15:54:13 +09:30
coryHawkvelt
72ce82c208
Extended NSController to handle networks and ports
2025-05-04 14:16:06 +09:30
coryHawkvelt
e86d948667
better handling of status change for workloadhost
2025-04-13 02:52:13 +09:30
coryHawkvelt
bede7698f1
Fixed audits and added new route for workload host listing
2025-04-13 02:20:23 +09:30
coryHawkvelt
f6826064cf
2 x containers Working through cloudflare!
2025-04-13 00:36:42 +09:30
coryHawkvelt
dafabd9079
Moved the workload model to using a method(set_status) for the status property instead of a direct set
2025-04-12 22:46:10 +09:30
coryHawkvelt
cd8d7c72a3
handle the docker_destroy event
2025-04-12 22:45:24 +09:30
coryHawkvelt
f97cc851b6
improved the container delete flow
2025-04-12 22:45:14 +09:30
coryHawkvelt
5a3b83dbea
tweaks to network model
2025-04-12 10:18:36 +09:30
coryHawkvelt
1665e6408b
Handle docker container status updates
2025-04-12 10:18:21 +09:30
coryHawkvelt
954cb157b1
misc
2025-04-12 08:36:19 +09:30
coryHawkvelt
89b0c85dc7
corrected label error
2025-04-06 03:41:55 +09:30
coryHawkvelt
1ae5b14185
better logging for schedulers
2025-04-06 03:24:25 +09:30
coryHawkvelt
b748b44c58
filter work
2025-04-06 02:46:31 +09:30
coryHawkvelt
1e323a1a98
working notes and tidy
2025-04-06 02:48:11 +10:30
coryHawkvelt
7d4862bf4c
First set of scheduling filters
2025-04-06 02:47:57 +10:30
coryHawkvelt
86486fdad2
removed unnecessary 'add workload host' section
2025-04-06 02:47:32 +10:30
coryHawkvelt
abfc60b191
Changed server url to websocket server url
2025-04-06 02:47:11 +10:30
coryHawkvelt
fbafeb368a
added brutal but effective status updates on websicket client connect\disconnect
2025-04-06 01:47:13 +10:30
coryHawkvelt
4a9db0fd9f
Added request ID to loggging
2025-04-06 01:46:41 +10:30
coryHawkvelt
92bfa02a3d
Removed unnecesssary logger
2025-04-05 23:41:49 +10:30
coryHawkvelt
5a7fb5c27c
Loading Libvrit modules just in time as opposed to at load time, some workers wont use libvirt so we wont load it if we dont need it
2025-04-05 23:38:23 +10:30
coryHawkvelt
2dd24a466c
wip
2025-02-27 20:03:37 +00:00
coryHawkvelt
5c405a2fcb
Add enrollment key
2025-02-27 19:39:43 +00:00
coryHawkvelt
d9b15b047d
async wip
2025-02-27 19:11:27 +00:00
coryHawkvelt
c8c4b3a6a5
upd wip
2025-02-27 19:01:02 +00:00
coryHawkvelt
450d69b39b
update streamlit
2025-02-27 19:00:49 +00:00
coryHawkvelt
33bd62e7fe
update streamlit and move client api
2025-02-27 19:00:39 +00:00
coryHawkvelt
5ab5680865
Added worker into codebase
2025-02-27 17:08:44 +00:00