KubectlRolloutSettings Class

Summary

Manage the rollout of one or many resources. Valid resource types include: * deployments * daemonsets * statefulsets
Assembly
Cake.Kubectl.dll
Namespace
Cake.Kubectl
Base Types
graph BT Type-->Base0["AutoToolSettings"] click Base0 "/api/Cake.Kubectl/AutoToolSettings" Base0-->Base1["ToolSettings"] Type["KubectlRolloutSettings"] class Type type-node

Syntax

public sealed class KubectlRolloutSettings : AutoToolSettings

Examples

# Rollback to the previous deployment kubectl rollout undo deployment/abc # Check the rollout status of a daemonset kubectl rollout status daemonset/foo # Restart a deployment kubectl rollout restart deployment/abc # Restart deployments with the app=nginx label kubectl rollout restart deployment --selector=app=nginx

Attributes

Type Description
CompilerGeneratedAttribute

Constructors

Extension Methods

Name Value Summary
Dump<KubectlRolloutSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<KubectlRolloutSettings>(KubectlRolloutSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<KubectlRolloutSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<KubectlRolloutSettings>(string) void
Requires the Cake.Issues addin
ThrowIfNull<KubectlRolloutSettings>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<KubectlRolloutSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin