Documentation ¶
Index ¶
Constants ¶
View Source
const ( // RevisionAnnotation is the revision annotation of a deployment's EtcdNodeSets which records its rollout sequence RevisionAnnotation = "etcdnodedeployment.kubernetesimal.kkohtaka.org/revision" // RevisionHistoryAnnotation maintains the history of all old revisions that an EtcdNodeSet has served for a deployment. RevisionHistoryAnnotation = "etcdnodedeployment.kubernetesimal.kkohtaka.org/revision-history" // DesiredReplicasAnnotation is the desired replicas for a deployment recorded as an annotation // in its EtcdNodeSets. Helps in separating scaling events from the rollout process and for // determining if the new EtcdNodeSet for a deployment is really saturated. DesiredReplicasAnnotation = "etcdnodedeployment.kubernetesimal.kkohtaka.org/desired-replicas" // MaxReplicasAnnotation is the maximum replicas a deployment can have at a given point, which // is deployment.spec.replicas + maxSurge. Used by the underlying EtcdNodeSets to estimate their // proportions in case the deployment has surge replicas. MaxReplicasAnnotation = "etcdnodedeployment.kubernetesimal.kkohtaka.org/max-replicas" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
Reconciler reconciles a EtcdNodeDeployment object
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.