KubectlAliases.

KubectlTopPodWithResult(ICakeContext, KubectlTopPodSettings) Method

Summary

Display Resource (CPU/Memory/Storage) 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.
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Containing Type
KubectlAliases

Syntax

public static IEnumerable<string> KubectlTopPodWithResult(this ICakeContext context, KubectlTopPodSettings settings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
settings KubectlTopPodSettings The settings.

Return Value

Type Description
IEnumerable<string> Output lines.