KubectlAliases.

KubectlClusterInfoWithResult(ICakeContext, KubectlClusterInfoSettings) Method

Summary

Display addresses of the control plane and services with label kubernetes.io/cluster-service=true. To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Containing Type
KubectlAliases

Syntax

public static IEnumerable<string> KubectlClusterInfoWithResult(this ICakeContext context, KubectlClusterInfoSettings settings)

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

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

Return Value

Type Description
IEnumerable<string> Output lines.