This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Kubectl.
Summary
Display resource (CPU/memory) usage of pods.
The 'top pod' command allows you to see the resource consumption of pods.
Due to the metrics pipeline delay, they may be unavailable for a few minutes since pod creation.
Syntax
public static IEnumerable<string> KubectlTopPodWithResult(this ICakeContext context, KubectlTopPodSettings settings)
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Parameters
Return Value
Type |
Description |
IEnumerable<string> |
Output lines. |