KubectlAliases.

KubectlSetResourcesWithResult(ICakeContext, KubectlSetResourcesSettings) Method

Summary

Specify compute resource requirements (CPU, memory) for any resource that defines a pod template. If a pod is successfully scheduled, it is guaranteed the amount of resource requested, but may burst up to its specified limits. For each compute resource, if a limit is specified and a request is omitted, the request will default to the limit. Possible resources include (case insensitive): Use "kubectl api-resources" for a complete list of supported resources..
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Containing Type
KubectlAliases

Syntax

public static IEnumerable<string> KubectlSetResourcesWithResult(this ICakeContext context, KubectlSetResourcesSettings settings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
IEnumerable<string> Output lines.