mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 08:19:40 +02:00
fix(kubernetes): detect metrics API for kubernetes endspoints EE-4865 (#8351)
This commit is contained in:
parent
a74e389521
commit
087848539f
5 changed files with 50 additions and 1 deletions
|
@ -562,6 +562,11 @@ type (
|
|||
KubernetesData struct {
|
||||
Snapshots []KubernetesSnapshot `json:"Snapshots"`
|
||||
Configuration KubernetesConfiguration `json:"Configuration"`
|
||||
Flags KubernetesFlags `json:"Flags"`
|
||||
}
|
||||
|
||||
KubernetesFlags struct {
|
||||
IsServerMetricsDetected bool `json:"IsServerMetricsDetected"`
|
||||
}
|
||||
|
||||
// KubernetesSnapshot represents a snapshot of a specific Kubernetes environment(endpoint) at a specific time
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue