Skip to content

[DONT MERGE] K8s Rev Proxy#40

Open
cmyui wants to merge 122 commits intomainfrom
k8s-rev-proxy
Open

[DONT MERGE] K8s Rev Proxy#40
cmyui wants to merge 122 commits intomainfrom
k8s-rev-proxy

Conversation

@cmyui
Copy link
Copy Markdown
Member

@cmyui cmyui commented Jan 15, 2026

Summary

Add routing for new homepage activity API endpoint to hanayo service.

Changes

  • Route /api/v1/homepage/ requests to hanayo instead of akatsuki-api
  • Required for homepage v2 mode-filtered activity feeds

Related

🤖 Generated with Claude Code

cmyui and others added 24 commits June 14, 2025 03:41
* add test server to assets

* add test server to osu stable web
* Update frontend.conf

* oopsies
- Add gzip_vary for proper caching with proxies
- Add gzip_proxied any to compress proxied responses
- Set gzip_comp_level 6 for good compression/speed balance
- Configure gzip_types for CSS, JS, JSON, SVG, and fonts

Previously only had bare `gzip on;` which uses defaults
(level 1, limited types). This should reduce transfer
sizes for text assets by 60-80%.

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
- Add dedicated /static/ location with immutable caching
- Set `Cache-Control: public, max-age=31536000, immutable`
- Assets are now content-hashed (e.g., dist-abc123.min.js)
- immutable flag tells browsers to never revalidate

Companion PR: hanayo content hashing implementation

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
- Add exact match redirect for /phpmyadmin to /phpmyadmin/ (fixes 404)
- Add proxy_redirect directive to rewrite backend redirects with /phpmyadmin prefix (fixes post-login redirect to wrong URL)

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
New homepage activity API endpoint for mode-filtered first places
and high PP plays.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@cmyui cmyui changed the title Route /api/v1/homepage/ to hanayo K8s rev proxy Jan 15, 2026
@cmyui cmyui changed the title K8s rev proxy [DONT MERGE] K8s rev proxy Jan 15, 2026
@cmyui cmyui changed the title [DONT MERGE] K8s rev proxy [DONT MERGE] K8s Rev Proxy Jan 15, 2026
cmyui and others added 3 commits January 14, 2026 20:14
- Change runner from ubuntu-latest to [self-hosted, vpc]
- Add --namespace default to helm commands (runner pod is in github-runner namespace)
- Update clear pending deployments to standard format
- Add --cleanup-on-fail and increase timeout

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
PMA_ABSOLUTE_URI in the deployment already tells phpMyAdmin its base URL,
so redirects are generated correctly. The proxy_redirect was causing
double prefixes (/phpmyadmin/phpmyadmin/).

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
* Add resource limits and readiness probe

Add resource limits (500m CPU, 256Mi memory) and TCP readiness probe
to comply with Kyverno policies.

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

* Delete local-dev/nginx.conf

* Delete local-dev/README.md

---------

Co-authored-by: Claude Opus 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.

3 participants