{% extends "base.html" %} {% block title %}Server - Dune Awakening Dashboard{% endblock %} {% block content %} {% if tunnel_down %}
SSH Tunnel Not Detected
{% elif db_error %}
Database Error: {{ db_error }}
{% else %}
Online Players
{{ online_count }}
Overmap Players
{{ overmap_count }}
Active Servers
{{ active_servers|length }}
World Partitions
{{ partitions|length }}
{% if node_metrics.cpu %}
Node CPU
{{ node_metrics.cpu }}
Node Memory
{{ node_metrics.memory }}
{% endif %}
Players Per Map
{% if per_map %} {% for m in per_map %}
{{ m.map }}
{{ m.count }}
{% endfor %} {% else %}
No data
{% endif %}
Online Players
{% if online_players %} {% for p in online_players %} {% endfor %}
{{ p.character_name or 'Unknown' }} {{ p.map or 'N/A' }} {{ p.online_status }}
{% else %}
No players online
{% endif %}
Active Server IDs
{% if active_servers %}
{% for s in active_servers %} {% endfor %}
Server IDMapActions
{{ s.server_id }} {{ s.map or '' }} {% if s.deployment %} {% elif not deployments %} K8s offline {% else %} No deploy {% endif %}
{% else %}
No active servers
{% endif %}
World Partitions
{% for p in partitions %} {% else %} {% endfor %}
Partition IDServer IDMapDimensionBlockedLabelActions
{{ p.partition_id }} {{ p.server_id }} {{ p.map }} {{ p.dimension_index }} {{ 'Yes' if p.blocked else 'No' }} {{ p.label or '' }} {% if p.deployment %}
{% elif not deployments %}K8s offline{% else %}No deploy{% endif %}
No partitions found
Kubernetes Deployments {% if deploys_ok %} SSH connected {% else %} SSH unavailable (key not loaded or VM unreachable) {% endif %}
{% if deploys_ok %}
Button Guide: Restart — rolling restart of pods Status — rollout status Scale to 0 — stop all pods Scale to 1 — start a pod
{% for d in deployments %} {% endfor %}
DeploymentActions
{{ d.replace('deployment.apps/','') }}
{% else %}

To enable server control, ensure the SSH key is available at $env:TEMP\dune-awakening-server-sshKey and the VM is reachable.

{% if ssh_error %}
{{ ssh_error }}
{% endif %} {% endif %}
Battlegroup Control Click "Refresh Status" to load
Click "Refresh Status" to load battlegroup status...
Pod Status
Click refresh to load pod status...
🐛 Debug Logging Loading...
📝 Verbose Logging: Enable to log detailed information about SSH commands, API requests, database queries, and service connections. Logs are written to logs/debug.log. Sanitizes sensitive data (passwords, tokens) automatically.
📋 Audit Log Viewer Loading...
Total: 0 Info: 0 Warning: 0 Error: 0
Time Action User Severity Details
Loading...
Firewall Security Loading...
Security Recommendation: The following services are exposed to the internet without authentication. Block them so only localhost (the dashboard via SSH tunnel) can reach them.
{% endif %} {% endblock %} {% block scripts %} {% endblock %}