File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
java/cd/go/contrib/elasticagent/model Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 30
30
31
31
public class KubernetesCluster {
32
32
private final List <KubernetesNode > nodes ;
33
+ private final String pluginId ;
33
34
34
35
public KubernetesCluster (KubernetesClient client ) throws ParseException {
36
+ pluginId = Constants .PLUGIN_ID ;
35
37
nodes = client .nodes ().list ().getItems ().stream ().map (node -> new KubernetesNode (node )).collect (toList ());
36
38
LOG .info ("Running kubernetes nodes " + nodes .size ());
37
39
fetchPods (client );
@@ -58,4 +60,8 @@ private void fetchPods(KubernetesClient dockerClient) throws ParseException {
58
60
public List <KubernetesNode > getNodes () {
59
61
return nodes ;
60
62
}
63
+
64
+ public String getPluginId () {
65
+ return pluginId ;
66
+ }
61
67
}
Original file line number Diff line number Diff line change 234
234
<#if node.pods?size != 0>
235
235
<#list node.pods as pod>
236
236
<tr>
237
- <td>${pod.podName!}</td>
237
+ <td>
238
+ <a href="/go/admin/status_reports/${pluginId}/${pod.podName!}"> ${pod.podName!} </a>
239
+ </td>
238
240
<td>${pod.jobInformation!}</td>
239
241
<td>${pod.image!}</td>
240
242
<td>${pod.podIP!}</td>
You can’t perform that action at this time.
0 commit comments