package
0.99.0-nabarun.1
Repository: https://github.com/palnabarun/kubectl.git
Documentation: pkg.go.dev
# Functions
GetAllReplicaSets returns the old and new replica sets targeted by the given Deployment.
GetAllReplicaSetsInChunks is the same as GetAllReplicaSets, but accepts a chunk size argument.
GetDeploymentCondition returns the condition with the provided type.
ResolveFenceposts resolves both maxSurge and maxUnavailable.
Revision returns the revision number of the input object.
# Constants
DesiredReplicasAnnotation is the desired replicas for a deployment recorded as an annotation in its replica sets.
MaxReplicasAnnotation is the maximum replicas a deployment can have at a given point, which is deployment.spec.replicas + maxSurge.
RevisionAnnotation is the revision annotation of a deployment's replica sets which records its rollout sequence.
RevisionHistoryAnnotation maintains the history of all old revisions that a replica set has served for a deployment.
RollbackDone is the done rollback event reason.
RollbackRevisionNotFound is not found rollback event reason.
RollbackTemplateUnchanged is the template unchanged rollback event reason.
TimedOutReason is added in a deployment when its newest replica set fails to show any progress within the given deadline (progressDeadlineSeconds).