KubectlAliases.

KubectlReplace(ICakeContext, KubectlReplaceSettings) Method

Summary

Replace a resource by filename or stdin. JSON and YAML formats are accepted. If replacing an existing resource, the complete resource spec must be provided. This can be obtained by $ kubectl get TYPE NAME -o yaml
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Containing Type
KubectlAliases

Syntax

public static void KubectlReplace(this ICakeContext context, KubectlReplaceSettings settings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
void