diff --git a/providers/edge3/src/airflow/providers/edge3/plugins/templates/edge_worker_hosts.html b/providers/edge3/src/airflow/providers/edge3/plugins/templates/edge_worker_hosts.html deleted file mode 100644 index 6fc82b63ac966..0000000000000 --- a/providers/edge3/src/airflow/providers/edge3/plugins/templates/edge_worker_hosts.html +++ /dev/null @@ -1,175 +0,0 @@ -{# - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. - #} - - {% extends base_template %} - - {% block title %} - Edge Worker Hosts - {% endblock %} - - {% block content %} -
No Edge Workers connected or known currently.
- {% else %} - - -| Hostname | -State | -Queues | -First Online | -Last Heart Beat | -Active Jobs | - -System Information | -Operations | -|
|---|---|---|---|---|---|---|---|---|
| {{ host.worker_name }} | -- {%- if host.state in["offline", "offline maintenance"] -%} - {{ host.state }} - {%- elif host.state == "unknown" -%} - {{ host.state }} - {%- elif host.last_update.timestamp() <= five_min_ago.timestamp() -%} - Reported {{ host.state }} - but no heartbeat - {%- elif host.state in ["starting", "maintenance request", "maintenance exit"] -%} - {{ host.state }} - {%- elif host.state == "running" -%} - {{ host.state }} - {%- elif host.state == "idle" -%} - {{ host.state }} - {%- elif host.state == "terminating" -%} - {{ host.state }} - {%- elif host.state in ["maintenance pending", "maintenance mode"] -%} - {{ host.state }} - {%- else -%} - {{ host.state }} - {%- endif -%} - | -
- {% if host.queues %}
-
|
- - | {% if host.last_update %}{% endif %} | -- {{ host.jobs_active }} - | - -
-
|
- {%- if host.state in ["idle", "running"] -%}
- - - | - - {%- elif host.state in ["maintenance pending", "maintenance mode", "maintenance request"] -%} - - {%- elif host.state in ["offline", "unknown", "offline maintenance"] -%} - - {%- else -%} -- {% endif %} - |
No jobs running currently
- {% else %} - -| DAG ID | -Run ID | -Task ID | -Map Index | -Try Number | -State | -Queue | -Queued DTTM | -Edge Worker | -Last Update | -
|---|---|---|---|---|---|---|---|---|---|
| {{ job.dag_id }} | -{{ job.run_id }} | -{{ job.task_id }} | -{% if job.map_index >= 0 %}{{ job.map_index }}{% else %}-{% endif %} | -{{ job.try_number }} | -{{ html_states[job.state] }} | -- {{ job.queue }} - | -- | - {% if job.edge_worker %} - {{ job.edge_worker }} - {% endif %} - | -{% if job.last_update %}{% endif %} | -