Skip to content

Commit

Permalink
Fix various typos
Browse files Browse the repository at this point in the history
  • Loading branch information
komuta committed Dec 11, 2023
1 parent f3997fe commit 9149bdb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ stateDiagram

##### Retry

NodeDisruption can be retried automatically. The main purpose of retry is to allow prepation for a disruption. Some disruptions cannot be allowed until some preparations operations have been completed (e.g. replicating data out of the node). A controller can consumme the pending NodeDisruption, perform the required operations and finaly accept the disruption when it is safe.
NodeDisruption can be retried automatically. The main purpose of retry is to allow preparation for a disruption. Some disruptions cannot be allowed until some preparations operations have been completed (e.g. replicating data out of the node). A controller can consume the pending NodeDisruption, perform the required operations and finally accept the disruption when it is safe.

#### Sample object

Expand Down Expand Up @@ -265,7 +265,7 @@ TeamK can create a NodeDisruptionBudget to protect the number of concurrent Node
of nodes.
TeamK, before doing a maintenance of a node will create a NodeDisruption. The controller will check
wich budgets are impacted by the disruption and check if they can tolerate one more disruption.
which budgets are impacted by the disruption and check if they can tolerate one more disruption.
If not, the NodeDisruption will be rejected. TeamK will have to retry creating a NodeDisruption
later.
If it is granted, TeamK can disrupt the node. In this case, the disruption will be the drain and
Expand Down
6 changes: 6 additions & 0 deletions config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
resources:
- manager.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: controller
newName: controller
newTag: latest
2 changes: 1 addition & 1 deletion internal/controller/nodedisruption_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (r *NodeDisruptionReconciler) Reconcile(ctx context.Context, req ctrl.Reque
logger.Info("Updating Status, done with", "state", nd.Status.State)
return clusterResult, reconciler.UpdateStatus(ctx)
}
logger.Info("Reconcilation successful", "state", nd.Status.State)
logger.Info("Reconciliation successful", "state", nd.Status.State)
return clusterResult, nil
}

Expand Down

0 comments on commit 9149bdb

Please sign in to comment.