This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Kubectl.
Summary
Creates an autoscaler that automatically chooses and sets the number of pods that run in a Kubernetes cluster.
Looks up a deployment, replica set, stateful set, or replication controller by name and creates an autoscaler that uses the given resource as a reference. An autoscaler can automatically increase or decrease number of pods deployed within the system as needed.
Syntax
public static IEnumerable<string> KubectlAutoscaleWithResult(this ICakeContext context, KubectlAutoscaleSettings settings)
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Parameters
Return Value
Type |
Description |
IEnumerable<string> |
Output lines. |