KubectlAliases.

KubectlTop(ICakeContext, KubectlTopSettings) Method

Summary

Display Resource (CPU/Memory) usage. The top command allows you to see the resource consumption for nodes or pods. This command requires Metrics Server to be correctly configured and working on the server.
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Containing Type
KubectlAliases

Syntax

public static void KubectlTop(this ICakeContext context, KubectlTopSettings settings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
void