Skip to content

Instance#110

Merged
thestumonkey merged 8 commits into
mainfrom
instance
Jan 18, 2026
Merged

Instance#110
thestumonkey merged 8 commits into
mainfrom
instance

Conversation

@thestumonkey

Copy link
Copy Markdown
Member

No description provided.

thestumonkey and others added 8 commits January 18, 2026 17:17
# Conflicts:
#	ushadow/backend/src/routers/tailscale.py
#	ushadow/backend/src/services/deployment_manager.py
- Added port conflict detection to deployment flow
- Created architecture documentation (ARCHITECTURE_OVERVIEW.md, UNIFIED_CONFIG_ARCHITECTURE.md)
- Added rename script for Instance → ServiceConfig refactoring
- K8s deployment files and configuration updates
- Ready for automated renaming via scripts/rename_to_service_config.py
Root cause: Kubernetes ndots:5 + search domains breaks Rust DNS resolver
in uv 0.6.10, causing "dns error: failed to lookup address information"

Solution: Set dnsConfig ndots:1 while keeping ClusterFirst policy
- Allows K8s service discovery (redis.default.svc.cluster.local)
- Fixes uv package downloads (pypi.org resolves correctly)
- Uses spec.dns_policy to allow override per-service

Changes:
- kubernetes_manager.py: Added dnsConfig with ndots:1
- Comprehensive documentation of IPv6 dual-stack investigation
- Test scripts for IPv6 connectivity verification

Verified with Chronicle backend image (ghcr.io/ushadow-io/chronicle/backend:nodeps1):
✅ uv pip install setuptools httpx - works
✅ Python DNS resolution - works
✅ K8s service discovery - works

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Updated Chronicle compose configuration
- Refactored config structure (instances.yaml, wiring.yaml)
- Updated feature flags and defaults
- Frontend App.tsx updates

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@thestumonkey thestumonkey merged commit 36b5dc1 into main Jan 18, 2026
2 of 4 checks passed
thestumonkey added a commit that referenced this pull request Jan 24, 2026
* Added k8s deploy and wip with service instances

* wip with instances

* Pre-rename checkpoint: Port conflict work + architecture docs

- Added port conflict detection to deployment flow
- Created architecture documentation (ARCHITECTURE_OVERVIEW.md, UNIFIED_CONFIG_ARCHITECTURE.md)
- Added rename script for Instance → ServiceConfig refactoring
- K8s deployment files and configuration updates
- Ready for automated renaming via scripts/rename_to_service_config.py

* refectored instances and k8s deployds

* Fix IPv6 DNS resolution for uv/Rust applications in Kubernetes

Root cause: Kubernetes ndots:5 + search domains breaks Rust DNS resolver
in uv 0.6.10, causing "dns error: failed to lookup address information"

Solution: Set dnsConfig ndots:1 while keeping ClusterFirst policy
- Allows K8s service discovery (redis.default.svc.cluster.local)
- Fixes uv package downloads (pypi.org resolves correctly)
- Uses spec.dns_policy to allow override per-service

Changes:
- kubernetes_manager.py: Added dnsConfig with ndots:1
- Comprehensive documentation of IPv6 dual-stack investigation
- Test scripts for IPv6 connectivity verification

Verified with Chronicle backend image (ghcr.io/ushadow-io/chronicle/backend:nodeps1):
✅ uv pip install setuptools httpx - works
✅ Python DNS resolution - works
✅ K8s service discovery - works

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* Configuration updates and service refactoring

- Updated Chronicle compose configuration
- Refactored config structure (instances.yaml, wiring.yaml)
- Updated feature flags and defaults
- Frontend App.tsx updates

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* daily commit

* default services working

---------

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant