Appendix A. KataConfig status messages
The following table displays the status messages for the KataConfig
custom resource (CR) for a cluster with two worker nodes.
Status | Description |
---|---|
Initial installation
When a |
conditions: message: Performing initial installation of kata on cluster reason: Installing status: 'True' type: InProgress kataNodes: nodeCount: 0 readyNodeCount: 0 |
Installing Within a few seconds the status changes. |
kataNodes: nodeCount: 2 readyNodeCount: 0 waitingToInstall: - worker-0 - worker-1 |
Installing (Worker-1 installation starting)
For a short period of time, the status changes, signifying that one node has initiated the installation of |
kataNodes: installing: - worker-1 nodeCount: 2 readyNodeCount: 0 waitingToInstall: - worker-0 |
Installing (Worker-1 installed, worker-0 installation started)
After some time, |
kataNodes: installed: - worker-1 installing: - worker-0 nodeCount: 2 readyNodeCount: 1 |
Installed
When installed, both workers are listed as installed, and the |
conditions: message: "" reason: "" status: 'False' type: InProgress kataNodes: installed: - worker-0 - worker-1 nodeCount: 2 readyNodeCount: 2 |
Status | Description |
---|---|
Initial uninstall
If |
conditions: message: Removing kata from cluster reason: Uninstalling status: 'True' type: InProgress kataNodes: nodeCount: 0 readyNodeCount: 0 waitingToUninstall: - worker-0 - worker-1 |
Uninstalling After a few seconds, one of the workers starts uninstalling. |
kataNodes: nodeCount: 0 readyNodeCount: 0 uninstalling: - worker-1 waitingToUninstall: - worker-0 |
Uninstalling Worker-1 finishes and worker-0 starts uninstalling. |
kataNodes: nodeCount: 0 readyNodeCount: 0 uninstalling: - worker-0 |
The reason
field can also report the following causes:
-
Failed
: This is reported if the node cannot finish its transition. Thestatus
reportsTrue
and themessage
isNode <node_name> Degraded: <error_message_from_the_node>
. -
BlockedByExistingKataPods
: This is reported if there are pods running on a cluster that use thekata
runtime whilekata
is being uninstalled. Thestatus
field isFalse
and themessage
isExisting pods using "kata" RuntimeClass found. Please delete the pods manually for KataConfig deletion to proceed
. There could also be a technical error message reported likeFailed to list kata pods: <error_message>
if communication with the cluster control plane fails.