You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-19Lines changed: 19 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
-
# Node Maintenance Operator
1
+
# Node Maintenance Operator (NMO)
2
2
3
-
The node-maintenance-operator is an operator generated from the [operator-sdk](https://github.com/operator-framework/operator-sdk).
4
-
The purpose of this operator is to watch for new or deleted custom resources called `NodeMaintenance` which indicate that a node in the cluster should either:
3
+
The node-maintenance-operator (NMO) is an operator generated from the [operator-sdk](https://github.com/operator-framework/operator-sdk).
4
+
The purpose of this operator is to watch for new or deleted custom resources (CRs) called `NodeMaintenance` which indicate that a node in the cluster should either:
5
5
-`NodeMaintenance` CR created: move node into maintenance, cordon the node - set it as unschedulable, and evict the pods (which can be evicted) from that node.
6
6
-`NodeMaintenance` CR deleted: remove pod from maintenance and uncordon the node - set it as schedulable.
7
7
@@ -19,7 +19,7 @@ There are two ways to run the operator:
19
19
After every PR merge to master images were build and pushed to `quay.io`.
20
20
For deployment of NMO using these images you need:
21
21
22
-
- a running OpenShift cluster, or a Kubernetes cluster with OLM installed.
22
+
- a running OpenShift cluster, or a Kubernetes cluster with Operator Lifecycle Manager (OLM) installed.
23
23
-`operator-sdk` binary installed, see https://sdk.operatorframework.io/docs/installation/.
24
24
- a valid `$KUBECONFIG` configured to access your cluster.
25
25
@@ -33,7 +33,7 @@ Follow the instructions [here](https://sdk.operatorframework.io/docs/building-op
33
33
34
34
### Set Maintenance on - Create a NodeMaintenance CR
35
35
36
-
To set maintenance on a node a `NodeMaintenance`CustomResource should be created.
36
+
To set maintenance on a node a `NodeMaintenance`custom resource should be created.
37
37
The `NodeMaintenance` CR spec contains:
38
38
- nodeName: The name of the node which will be put into maintenance mode.
39
39
- reason: The reason why the node will be under maintenance.
0 commit comments