mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-05-27 08:31:28 +00:00
Adds IncludeAllDeployments option to show all deployments, not just problem ones (where replicas don't match desired). This provides parity with the existing --kube-include-all-pods flag. - Add IncludeAllDeployments to kubernetesagent.Config - Add --kube-include-all-deployments flag and PULSE_KUBE_INCLUDE_ALL_DEPLOYMENTS env var - Update collectDeployments to respect the new flag - Add test for IncludeAllDeployments functionality - Update UNIFIED_AGENT.md documentation Addresses feedback from PR #855
1.5 KiB
1.5 KiB
🔄 Automatic Updates
Manage Pulse auto-updates on host-mode installations.
Note
: Docker/Kubernetes users should manage updates via their orchestrator.
⚙️ Components
| File | Purpose |
|---|---|
pulse-update.timer |
Daily check (02:00 + jitter). |
pulse-update.service |
Runs the update script. |
pulse-auto-update.sh |
Fetches release & restarts Pulse. |
🚀 Enable/Disable
Via UI (Recommended)
Settings → System → Updates.
Via CLI
# Enable
sudo jq '.autoUpdateEnabled=true' /etc/pulse/system.json > /tmp/system.json && sudo mv /tmp/system.json /etc/pulse/system.json
sudo systemctl enable --now pulse-update.timer
# Disable
sudo jq '.autoUpdateEnabled=false' /etc/pulse/system.json > /tmp/system.json && sudo mv /tmp/system.json /etc/pulse/system.json
sudo systemctl disable --now pulse-update.timer
🧪 Manual Run
Test the update process:
sudo systemctl start pulse-update.service
journalctl -u pulse-update -f
🔍 Observability
- History:
curl -s http://localhost:7655/api/updates/history | jq - Logs:
/var/log/pulse/update-*.log
↩️ Rollback
If an update fails:
- Check logs:
/var/log/pulse/update-YYYYMMDDHHMMSS.log. - Use the Rollback action in Settings → System → Updates if available for your deployment type.
- If you need to pin a specific version, re-run the installer with a version:
curl -fsSL https://github.com/rcourtman/Pulse/releases/latest/download/install.sh | \ sudo bash -s -- --version vX.Y.Z