ops: rollout restart k3s pod + fix deploy-production.yml for k3s #44

Closed
opened 2026-03-02 23:37:02 +00:00 by mik-tf · 0 comments
Member

Context

Production runs on k3s (migrate-mycelium namespace) pulling forge.ourworld.tf/mycelium/www-migrate-mycelium:latest with imagePullPolicy: Always. The deploy-production.yml CI workflow still uses the old rsync-to-VM approach which fails with @ERROR: Unknown module 'mycportal' — that rsyncd target no longer exists.

A fresh :latest image has been pushed to the registry via build-container.yml (manual dispatch on main, includes V3 marketplace changes from PR #42).

Goals

  • Run kubectl rollout restart deployment/mycelium-portal -n migrate-mycelium to pick up the new :latest image
  • Rewrite deploy-production.yml to replace rsync+systemctl with Docker build+push+kubectl rollout (needs KUBECONFIG secret in repo settings)
  • Optionally add deploy-dev.yml k3s equivalent for staging if staging also moves to k3s
## Context Production runs on k3s (`migrate-mycelium` namespace) pulling `forge.ourworld.tf/mycelium/www-migrate-mycelium:latest` with `imagePullPolicy: Always`. The `deploy-production.yml` CI workflow still uses the old rsync-to-VM approach which fails with `@ERROR: Unknown module 'mycportal'` — that rsyncd target no longer exists. A fresh `:latest` image has been pushed to the registry via `build-container.yml` (manual dispatch on `main`, includes V3 marketplace changes from PR #42). ## Goals - Run `kubectl rollout restart deployment/mycelium-portal -n migrate-mycelium` to pick up the new `:latest` image - Rewrite `deploy-production.yml` to replace rsync+systemctl with Docker build+push+kubectl rollout (needs `KUBECONFIG` secret in repo settings) - Optionally add `deploy-dev.yml` k3s equivalent for staging if staging also moves to k3s
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
mycelium/www_migrate_mycelium#44
No description provided.