Skip to main content

getKubernetesPods

Function getKubernetesPods in pulumi-portainer.
2 min read

Function getKubernetesPods in pulumi-portainer.

Invoke token: portainer:index/getKubernetesPods:getKubernetesPods.

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.

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

Arguments#

PropertyTypeRequiredDescription
environmentIdnumberyes
fieldSelectorstringno
idstringno
labelSelectorstringno
namespacestringno

Result#

PropertyTypeAlways presentDescription
environmentIdnumberyes
fieldSelectorstringno
idstringyes
labelSelectorstringno
namespacestringno
podsGetKubernetesPodsPod[]yes

GetKubernetesPodsPod#

Output object GetKubernetesPodsPod. Fields below belong to this object.

PropertyTypeAlways presentDescription
containersGetKubernetesPodsPodContainer[]no
hostIpstringno
labels{ [key: string]: string }no
namestringno
namespacestringno
nodeNamestringno
phasestringno
podIpstringno
readybooleanno
restartCountnumberno
serviceAccountstringno
startTimestringno

GetKubernetesPodsPodContainer#

Output object GetKubernetesPodsPodContainer. Fields below belong to this object.

PropertyTypeAlways presentDescription
imagestringno
namestringno
readybooleanno
restartCountnumberno