Skip to content

Commit c1b2aa6

Browse files
committed
InfoTab: Add caching for namespace details
Signed-off-by: Evangelos Skopelitis <eskopelitis@microsoft.com>
1 parent 8d6a2fd commit c1b2aa6

23 files changed

Lines changed: 737 additions & 435 deletions

Localize/locales/en/plugin-translation.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,6 @@
273273
"Failed to fetch deployment status": "Failed to fetch deployment status",
274274
"Failed to fetch deployments": "Failed to fetch deployments",
275275
"Failed to fetch managed namespace details": "Failed to fetch managed namespace details",
276-
"Failed to fetch managed namespaces": "Failed to fetch managed namespaces",
277276
"Failed to fetch metrics from Prometheus": "Failed to fetch metrics from Prometheus",
278277
"_Failed to fetch metrics from Prometheus.comment": "{Locked=\"Prometheus\"}",
279278
"Failed to fetch pod status": "Failed to fetch pod status",
@@ -544,6 +543,7 @@
544543
"Reconfigure Identity": "Reconfigure Identity",
545544
"Refresh": "Refresh",
546545
"Refreshing": "Refreshing",
546+
"Refreshing data in background": "Refreshing data in background",
547547
"Register AKS Cluster": "Register AKS Cluster",
548548
"Register Cluster": "Register Cluster",
549549
"Register ManagedNamespacePreview Feature": "Register ManagedNamespacePreview Feature",

plugins/aks-desktop/locales/cs/translation.json

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -610,45 +610,49 @@
610610
"No": "Ne",
611611
"Importing": "Probíhá import.",
612612
"Import Selected Projects": "Importovat vybrané projekty",
613-
"Failed to fetch managed namespaces": "Nepovedlo se načíst spravované obory názvů.",
614613
"Failed to fetch managed namespace details": "Nepovedlo se načíst podrobnosti o spravovaném oboru názvů.",
615614
"Failed to update managed namespace": "Nepovedlo se aktualizovat spravovaný obor názvů.",
615+
"Refreshing data in background": "",
616616
"Updating": "Aktualizování",
617617
"Update": "Aktualizovat",
618618
"AKS desktop logo": "Logo AKS Desktop",
619619
"No Deployments Found": "Nenašla se žádná nasazení.",
620620
"There are no deployments in this project namespace yet.": "V tomto oboru názvů projektu zatím nejsou žádná nasazení.",
621621
"Deploy an application to view logs.": "Nasaďte aplikaci, abyste si mohli zobrazit protokoly.",
622-
"Metrics": "metriky",
623-
"CPU Usage": "Využití procesoru",
624-
"Memory Usage": "Využití paměti",
622+
"No data available": "K dispozici nejsou žádná data",
623+
"Request & error rate": "Žádost a chybovost",
624+
"Rate": "",
625625
"Request Rate": "Frekvence žádostí",
626626
"Error Rate": "Chybovost",
627-
"Metrics refreshed every 30 seconds": "Metriky se aktualizují každých 30 sekund.",
628-
"Select a deployment to view metrics": "Pokud si chcete zobrazit metriky, vyberte nasazení.",
629-
"Metrics Unavailable": "Metriky nejsou k dispozici",
630-
"Application Metrics": "Metriky aplikací",
631-
"Request & error rate": "Žádost a chybovost",
632-
"No data available": "K dispozici nejsou žádná data",
633627
"Response Time": "Doba odezvy",
634-
"Memory utilization": "Využití paměti",
635-
"Network I/O": "V/V sítě",
636-
"Deploy an application to start viewing metrics.": "Pokud chcete začít zobrazovat metriky, nasaďte aplikaci.",
637-
"Please select a deployment to view metrics": "Pokud si chcete zobrazit metriky, vyberte prosím nasazení.",
638-
"Project Status": "Stav projektu",
639-
"Total Pods": "Celkový počet podů",
640-
"Application Health": "Stav aplikace",
641-
"Loading metrics": "Načítají se metriky.",
642-
"Resource Usage": "Využití prostředků",
643628
"Avg Response Time": "Průměrná doba odezvy",
644629
"No response time data available": "Nejsou k dispozici žádná data doby odezvy.",
630+
"Resource Usage": "Využití prostředků",
631+
"CPU Usage": "Využití procesoru",
632+
"Cores": "",
645633
"Absolute usage": "Absolutní využití",
634+
"Memory utilization": "Využití paměti",
635+
"Network I/O": "V/V sítě",
646636
"Network In": "Síťové vstupy",
647637
"Network Out": "Síťové výstupy",
638+
"Loading metrics": "Načítají se metriky.",
639+
"Application Metrics": "Metriky aplikací",
640+
"Project Status": "Stav projektu",
641+
"Total Pods": "Celkový počet podů",
642+
"Memory Usage": "Využití paměti",
648643
"Pod Details": "Podrobnosti podu",
649644
"Pod Name": "Název podu",
650645
"Restarts": "Restarty",
651646
"No pods found for deployment \"{{name}}\"": "Pro nasazení {{name}} nebyly nalezeny žádné pody.",
647+
"Failed to fetch metrics from Prometheus": "",
648+
"Metrics": "metriky",
649+
"Loading metrics from Prometheus": "",
650+
"Metrics refreshed every 30 seconds": "Metriky se aktualizují každých 30 sekund.",
651+
"Select a deployment to view metrics": "Pokud si chcete zobrazit metriky, vyberte nasazení.",
652+
"Metrics Unavailable": "Metriky nejsou k dispozici",
653+
"Deploy an application to start viewing metrics.": "Pokud chcete začít zobrazovat metriky, nasaďte aplikaci.",
654+
"Please select a deployment to view metrics": "Pokud si chcete zobrazit metriky, vyberte prosím nasazení.",
655+
"Application Health": "Stav aplikace",
652656
"Preview Features": "Funkce Preview",
653657
"Enable or disable features that are still in development. Preview features may change or be removed in future releases.": "Povolte nebo zakažte funkce, které jsou stále ve vývoji. Funkce Preview se můžou v budoucích verzích změnit nebo odebrat.",
654658
"GitHub Pipelines": "Kanály GitHubu",

plugins/aks-desktop/locales/de/translation.json

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -588,45 +588,49 @@
588588
"No": "Nein",
589589
"Importing": "Import wird ausgeführt",
590590
"Import Selected Projects": "Ausgewählte Projekte importieren",
591-
"Failed to fetch managed namespaces": "Fehler beim Abrufen verwalteter Namespaces",
592591
"Failed to fetch managed namespace details": "Fehler beim Abrufen der Details des verwalteten Namespaces",
593592
"Failed to update managed namespace": "Fehler beim Aktualisieren des verwalteten Namespace",
593+
"Refreshing data in background": "",
594594
"Updating": "Wird aktualisiert",
595595
"Update": "Aktualisieren",
596596
"AKS desktop logo": "AKS-Desktoplogo",
597597
"No Deployments Found": "Keine Bereitstellungen gefunden",
598598
"There are no deployments in this project namespace yet.": "Dieser Projektnamespace enthält noch keine Bereitstellungen.",
599599
"Deploy an application to view logs.": "Stellen Sie eine Anwendung bereit, um Protokolle anzuzeigen.",
600-
"Metrics": "Metriken",
601-
"CPU Usage": "CPU-Auslastung",
602-
"Memory Usage": "Speicherauslastung",
600+
"No data available": "Keine Daten verfügbar",
601+
"Request & error rate": "Anforderungsfehlerrate",
602+
"Rate": "",
603603
"Request Rate": "Anforderungsrate",
604604
"Error Rate": "Fehlerquote",
605-
"Metrics refreshed every 30 seconds": "Metriken werden alle 30 Sekunden aktualisiert",
606-
"Select a deployment to view metrics": "Eine Bereitstellung zum Anzeigen von Metriken auswählen",
607-
"Metrics Unavailable": "Metriken nicht verfügbar",
608-
"Application Metrics": "Anwendungsmetriken",
609-
"Request & error rate": "Anforderungsfehlerrate",
610-
"No data available": "Keine Daten verfügbar",
611605
"Response Time": "Antwortzeit",
612-
"Memory utilization": "Arbeitsspeicherauslastung",
613-
"Network I/O": "Netzwerk-E/A",
614-
"Deploy an application to start viewing metrics.": "Stellen Sie eine Anwendung bereit, um mit der Anzeige von Metriken zu beginnen.",
615-
"Please select a deployment to view metrics": "Eine Bereitstellung auswählen, um Metriken anzuzeigen",
616-
"Project Status": "Projektstatus",
617-
"Total Pods": "Gesamtzahl der Pods",
618-
"Application Health": "Anwendungsintegrität",
619-
"Loading metrics": "Metriken werden geladen",
620-
"Resource Usage": "Ressourcenverwendung",
621606
"Avg Response Time": "Durchschnittliche Antwortzeit",
622607
"No response time data available": "Keine Antwortzeitdaten verfügbar",
608+
"Resource Usage": "Ressourcenverwendung",
609+
"CPU Usage": "CPU-Auslastung",
610+
"Cores": "",
623611
"Absolute usage": "Absoluter Verbrauch",
612+
"Memory utilization": "Arbeitsspeicherauslastung",
613+
"Network I/O": "Netzwerk-E/A",
624614
"Network In": "Eingehender Netzwerkdatenverkehr",
625615
"Network Out": "Ausgehender Netzwerkdatenverkehr",
616+
"Loading metrics": "Metriken werden geladen",
617+
"Application Metrics": "Anwendungsmetriken",
618+
"Project Status": "Projektstatus",
619+
"Total Pods": "Gesamtzahl der Pods",
620+
"Memory Usage": "Speicherauslastung",
626621
"Pod Details": "Poddetails",
627622
"Pod Name": "Podname",
628623
"Restarts": "Neustarts",
629624
"No pods found for deployment \"{{name}}\"": "Für die Bereitstellung „{{name}}“ wurden keine Pods gefunden",
625+
"Failed to fetch metrics from Prometheus": "",
626+
"Metrics": "Metriken",
627+
"Loading metrics from Prometheus": "",
628+
"Metrics refreshed every 30 seconds": "Metriken werden alle 30 Sekunden aktualisiert",
629+
"Select a deployment to view metrics": "Eine Bereitstellung zum Anzeigen von Metriken auswählen",
630+
"Metrics Unavailable": "Metriken nicht verfügbar",
631+
"Deploy an application to start viewing metrics.": "Stellen Sie eine Anwendung bereit, um mit der Anzeige von Metriken zu beginnen.",
632+
"Please select a deployment to view metrics": "Eine Bereitstellung auswählen, um Metriken anzuzeigen",
633+
"Application Health": "Anwendungsintegrität",
630634
"Preview Features": "Vorschaufunktionen",
631635
"Enable or disable features that are still in development. Preview features may change or be removed in future releases.": "Aktivieren oder deaktivieren Sie Funktionen, die sich noch in der Entwicklung befinden. Vorschaufunktionen können in zukünftigen Versionen geändert oder entfernt werden.",
632636
"GitHub Pipelines": "GitHub-Pipelines",

plugins/aks-desktop/locales/en/translation.json

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -588,45 +588,49 @@
588588
"No": "No",
589589
"Importing": "Importing",
590590
"Import Selected Projects": "Import Selected Projects",
591-
"Failed to fetch managed namespaces": "Failed to fetch managed namespaces",
592591
"Failed to fetch managed namespace details": "Failed to fetch managed namespace details",
593592
"Failed to update managed namespace": "Failed to update managed namespace",
593+
"Refreshing data in background": "Refreshing data in background",
594594
"Updating": "Updating",
595595
"Update": "Update",
596596
"AKS desktop logo": "AKS desktop logo",
597597
"No Deployments Found": "No Deployments Found",
598598
"There are no deployments in this project namespace yet.": "There are no deployments in this project namespace yet.",
599599
"Deploy an application to view logs.": "Deploy an application to view logs.",
600-
"Metrics": "Metrics",
601-
"CPU Usage": "CPU Usage",
602-
"Memory Usage": "Memory Usage",
600+
"No data available": "No data available",
601+
"Request & error rate": "Request & error rate",
602+
"Rate": "Rate",
603603
"Request Rate": "Request Rate",
604604
"Error Rate": "Error Rate",
605-
"Metrics refreshed every 30 seconds": "Metrics refreshed every 30 seconds",
606-
"Select a deployment to view metrics": "Select a deployment to view metrics",
607-
"Metrics Unavailable": "Metrics Unavailable",
608-
"Application Metrics": "Application Metrics",
609-
"Request & error rate": "Request & error rate",
610-
"No data available": "No data available",
611605
"Response Time": "Response Time",
612-
"Memory utilization": "Memory utilization",
613-
"Network I/O": "Network I/O",
614-
"Deploy an application to start viewing metrics.": "Deploy an application to start viewing metrics.",
615-
"Please select a deployment to view metrics": "Please select a deployment to view metrics",
616-
"Project Status": "Project Status",
617-
"Total Pods": "Total Pods",
618-
"Application Health": "Application Health",
619-
"Loading metrics": "Loading metrics",
620-
"Resource Usage": "Resource Usage",
621606
"Avg Response Time": "Avg Response Time",
622607
"No response time data available": "No response time data available",
608+
"Resource Usage": "Resource Usage",
609+
"CPU Usage": "CPU Usage",
610+
"Cores": "Cores",
623611
"Absolute usage": "Absolute usage",
612+
"Memory utilization": "Memory utilization",
613+
"Network I/O": "Network I/O",
624614
"Network In": "Network In",
625615
"Network Out": "Network Out",
616+
"Loading metrics": "Loading metrics",
617+
"Application Metrics": "Application Metrics",
618+
"Project Status": "Project Status",
619+
"Total Pods": "Total Pods",
620+
"Memory Usage": "Memory Usage",
626621
"Pod Details": "Pod Details",
627622
"Pod Name": "Pod Name",
628623
"Restarts": "Restarts",
629624
"No pods found for deployment \"{{name}}\"": "No pods found for deployment \"{{name}}\"",
625+
"Failed to fetch metrics from Prometheus": "Failed to fetch metrics from Prometheus",
626+
"Metrics": "Metrics",
627+
"Loading metrics from Prometheus": "Loading metrics from Prometheus",
628+
"Metrics refreshed every 30 seconds": "Metrics refreshed every 30 seconds",
629+
"Select a deployment to view metrics": "Select a deployment to view metrics",
630+
"Metrics Unavailable": "Metrics Unavailable",
631+
"Deploy an application to start viewing metrics.": "Deploy an application to start viewing metrics.",
632+
"Please select a deployment to view metrics": "Please select a deployment to view metrics",
633+
"Application Health": "Application Health",
630634
"Preview Features": "Preview Features",
631635
"Enable or disable features that are still in development. Preview features may change or be removed in future releases.": "Enable or disable features that are still in development. Preview features may change or be removed in future releases.",
632636
"GitHub Pipelines": "GitHub Pipelines",

plugins/aks-desktop/locales/es/translation.json

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -599,45 +599,49 @@
599599
"No": "No",
600600
"Importing": "Importando",
601601
"Import Selected Projects": "Importar los proyectos seleccionados",
602-
"Failed to fetch managed namespaces": "No se pudieron capturar los espacios de nombres administrados",
603602
"Failed to fetch managed namespace details": "No se pudieron obtener los detalles de los espacios de nombres administrados",
604603
"Failed to update managed namespace": "No se ha podido actualizar el espacio de nombres administrado",
604+
"Refreshing data in background": "",
605605
"Updating": "Actualizando",
606606
"Update": "Actualizar",
607607
"AKS desktop logo": "Logotipo de escritorio de AKS",
608608
"No Deployments Found": "No se encontró ninguna implementación",
609609
"There are no deployments in this project namespace yet.": "Todavía no hay implementaciones en este espacio de nombres de proyecto.",
610610
"Deploy an application to view logs.": "Implemente una aplicación para ver los registros.",
611-
"Metrics": "Métricas",
612-
"CPU Usage": "Uso de CPU",
613-
"Memory Usage": "Uso de memoria",
611+
"No data available": "No hay datos disponibles",
612+
"Request & error rate": "Tasa de solicitudes y errores",
613+
"Rate": "",
614614
"Request Rate": "Solicitar tarifa",
615615
"Error Rate": "Tasa de errores",
616-
"Metrics refreshed every 30 seconds": "Métricas actualizadas cada 30\u00a0segundos",
617-
"Select a deployment to view metrics": "Seleccione una implementación para ver las métricas",
618-
"Metrics Unavailable": "Métricas no disponibles",
619-
"Application Metrics": "Métricas de aplicación",
620-
"Request & error rate": "Tasa de solicitudes y errores",
621-
"No data available": "No hay datos disponibles",
622616
"Response Time": "Tiempo de respuesta",
623-
"Memory utilization": "Uso de memoria",
624-
"Network I/O": "E/S de red",
625-
"Deploy an application to start viewing metrics.": "Implemente una aplicación para empezar a ver las métricas.",
626-
"Please select a deployment to view metrics": "Seleccione una implementación para ver las métricas",
627-
"Project Status": "Estado del proyecto",
628-
"Total Pods": "Total de pods",
629-
"Application Health": "Estado de la aplicación",
630-
"Loading metrics": "Cargando métricas",
631-
"Resource Usage": "Uso de recursos",
632617
"Avg Response Time": "Promedio de tiempo de respuesta",
633618
"No response time data available": "No hay datos de tiempo de respuesta disponibles",
619+
"Resource Usage": "Uso de recursos",
620+
"CPU Usage": "Uso de CPU",
621+
"Cores": "",
634622
"Absolute usage": "Uso absoluto",
623+
"Memory utilization": "Uso de memoria",
624+
"Network I/O": "E/S de red",
635625
"Network In": "Entrada de red",
636626
"Network Out": "Salida de red",
627+
"Loading metrics": "Cargando métricas",
628+
"Application Metrics": "Métricas de aplicación",
629+
"Project Status": "Estado del proyecto",
630+
"Total Pods": "Total de pods",
631+
"Memory Usage": "Uso de memoria",
637632
"Pod Details": "Detalles del pod",
638633
"Pod Name": "Nombre del pod",
639634
"Restarts": "Reinicios",
640635
"No pods found for deployment \"{{name}}\"": "No se encontraron pods para la implementación \"{{name}}\"",
636+
"Failed to fetch metrics from Prometheus": "",
637+
"Metrics": "Métricas",
638+
"Loading metrics from Prometheus": "",
639+
"Metrics refreshed every 30 seconds": "Métricas actualizadas cada 30\u00a0segundos",
640+
"Select a deployment to view metrics": "Seleccione una implementación para ver las métricas",
641+
"Metrics Unavailable": "Métricas no disponibles",
642+
"Deploy an application to start viewing metrics.": "Implemente una aplicación para empezar a ver las métricas.",
643+
"Please select a deployment to view metrics": "Seleccione una implementación para ver las métricas",
644+
"Application Health": "Estado de la aplicación",
641645
"Preview Features": "Características en vista previa",
642646
"Enable or disable features that are still in development. Preview features may change or be removed in future releases.": "Habilita o deshabilita funciones que aún están en desarrollo. Las características en vista previa pueden cambiar o eliminarse en futuras versiones.",
643647
"GitHub Pipelines": "Canalizaciones de GitHub",

0 commit comments

Comments
 (0)