package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev

# Packages

Package install installs the apps API group, making it available as an option to all of the API encoding/decoding machinery.

# Functions

Kind takes an unqualified kind and returns a Group qualified GroupKind.
Resource takes an unqualified resource and returns a Group qualified GroupResource.

# Constants

DaemonSetTemplateGenerationKey is the key of the labels that is added to daemon set pods to distinguish between old and new pod templates during DaemonSet template update.
DefaultDeploymentUniqueLabelKey is the default key of the selector that is added to existing RCs (and label key that is added to its pods) to prevent the existing RCs to select new pods (and old pods being select by new RC).
DeletePersistentVolumeClaimRetentionPolicyType specifies that PersistentVolumeClaims associated with StatefulSet VolumeClaimTemplates will be deleted in the scenario specified in StatefulSetPersistentVolumeClaimPolicy.
Available means the deployment is available, ie.
Progressing means the deployment is progressing.
ReplicaFailure is added in a deployment when one of its pods fails to be created or deleted.
GroupName is the group name use in this package.
OnDeleteDaemonSetStrategyType - Replace the old daemons only when it's killed.
OnDeleteStatefulSetStrategyType triggers the legacy behavior.
OrderedReadyPodManagement will create pods in strictly increasing order on scale up and strictly decreasing order on scale down, progressing only when the previous pod is ready or terminated.
ParallelPodManagement will create and delete pods as soon as the stateful set replica count is changed, and will not wait for pods to be ready or complete termination.
RecreateDeploymentStrategyType - kill all existing pods before creating new ones.
ReplicaSetReplicaFailure is added in a replica set when one of its pods fails to be created due to insufficient quota, limit ranges, pod security policy, node selectors, etc.
RetainPersistentVolumeClaimRetentionPolicyType is the default PersistentVolumeClaimRetentionPolicy and specifies that PersistentVolumeClaims associated with StatefulSet VolumeClaimTemplates will not be deleted.
RollingUpdateDaemonSetStrategyType - Replace the old daemons by new ones using rolling update i.e replace them on each node one after the other.
RollingUpdateDeploymentStrategyType - Replace the old RCs by new one using rolling update i.e gradually scale down the old RCs and scale up the new one.
RollingUpdateStatefulSetStrategyType indicates that update will be applied to all Pods in the StatefulSet with respect to the StatefulSet ordering constraints.

# Variables

AddToScheme applies all stored functions t oa scheme.
SchemeBuilder stores functions to add things to a scheme.
SchemeGroupVersion is group version used to register these objects.

# Structs

ControllerRevision implements an immutable snapshot of state data.
ControllerRevisionList is a resource containing a list of ControllerRevision objects.
DaemonSet represents the configuration of a daemon set.
DaemonSetCondition describes the state of a DaemonSet at a certain point.
DaemonSetList is a collection of daemon sets.
DaemonSetSpec is the specification of a daemon set.
DaemonSetStatus represents the current status of a daemon set.
DaemonSetUpdateStrategy defines a strategy to update a daemon set.
Deployment provides declarative updates for Pods and ReplicaSets.
DeploymentCondition describes the state of a deployment at a certain point.
DeploymentList defines multiple deployments.
DeploymentRollback stores the information required to rollback a deployment.
DeploymentSpec specifies the state of a Deployment.
DeploymentStatus holds information about the observed status of a deployment.
DeploymentStrategy stores information about the strategy and rolling-update behavior of a deployment.
ReplicaSet ensures that a specified number of pod replicas are running at any given time.
ReplicaSetCondition describes the state of a replica set at a certain point.
ReplicaSetList is a collection of ReplicaSets.
ReplicaSetSpec is the specification of a ReplicaSet.
ReplicaSetStatus represents the current status of a ReplicaSet.
RollbackConfig specifies the state of a revision to roll back to.
RollingUpdateDaemonSet is the spec to control the desired behavior of daemon set rolling update.
RollingUpdateDeployment is the spec to control the desired behavior of rolling update.
RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
StatefulSet represents a set of pods with consistent identities.
StatefulSetCondition describes the state of a statefulset at a certain point.
StatefulSetList is a collection of StatefulSets.
StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.
StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates.
A StatefulSetSpec is the specification of a StatefulSet.
StatefulSetStatus represents the current state of a StatefulSet.
StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates.

# Type aliases

DaemonSetConditionType defines a daemon set condition.
DaemonSetUpdateStrategyType is a strategy according to which a daemon set gets updated.
DeploymentConditionType defines conditions of a deployment.
DeploymentStrategyType defines strategies with a deployment.
PersistentVolumeClaimRetentionPolicyType is a string enumeration of the policies that will determine when volumes from the VolumeClaimTemplates will be deleted when the controlling StatefulSet is deleted or scaled down.
PodManagementPolicyType defines the policy for creating pods under a stateful set.
ReplicaSetConditionType is a condition of a replica set.
StatefulSetConditionType describes the condition types of StatefulSets.
StatefulSetUpdateStrategyType is a string enumeration type that enumerates all possible update strategies for the StatefulSet controller.