Skip to main content

getKubernetesPodMetrics

Function getKubernetesPodMetrics in pulumi-portainer.
2 min read

Function getKubernetesPodMetrics in pulumi-portainer.

Invoke token: portainer:index/getKubernetesPodMetrics:getKubernetesPodMetrics.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

getKubernetesPodMetricsOutput accepts Input values and returns Output of the same result.

Arguments#

PropertyTypeRequiredDescription
environmentIdnumberyes
idstringno
namespacestringyes
podstringno

Result#

PropertyTypeAlways presentDescription
environmentIdnumberyes
idstringyes
namespacestringyes
podstringno
podsGetKubernetesPodMetricsPod[]yes

GetKubernetesPodMetricsPod#

Output object GetKubernetesPodMetricsPod. Fields below belong to this object.

PropertyTypeAlways presentDescription
containersGetKubernetesPodMetricsPodContainer[]no
namestringno
timestampstringno
windowstringno

GetKubernetesPodMetricsPodContainer#

Output object GetKubernetesPodMetricsPodContainer. Fields below belong to this object.

PropertyTypeAlways presentDescription
cpustringno
memorystringno
namestringno