Skip to main content
Version: v0.7.1

kubectl nova status

kubectl-nova status

Check status of Nova Control Plane installation

Synopsis

kubectl nova status runs a set of checks against two clusters: a cluster that hosts Nova Control Plane, and the Nova Control Plane itself.

kubectl-nova status hosting-cluster-context=hosting-cluster-context hosting-cluster-nova-namespace=control-plane-components-namespace [flags]

Examples


If everything works properly, but you haven't defined any SchedulePolicies yet, you will see following output:

$ kubectl nova --context=nova --hosting-cluster-context=kind-cp --hosting-cluster-nova-namespace=elotl status

Checking status of Nova Control Plane Components

* API Server status... Running √
* Kube-controller-manager status... Running √
* ETCD status... Running √
* Nova scheduler status... Running √
Nova Control Plane is healthy √

Checking presence of Nova Custom Resource Definitions

* Cluster CRD presence... installed √
* Cluster kind-workload-1 connected and ready √
* Cluster kind-workload-2 connected and ready √
* SchedulePolicy CRD presence... installed √
* 0 SchedulePolicies defined ‼
please create at least one SchedulePolicy, otherwise Nova does not know where to run your workloads. SchedulePolicy spec: https://docs.elotl.co/nova/intro
* ScheduleGroup CRD presence... installed √
All Nova Custom Resource Definitions installed √



If Nova Control Plane cannot be found in given --hosting-cluster-context / --hosting-cluster-nova-namespace you will see following output:

$ kubectl nova --context=nova --hosting-cluster-context=nova--hosting-cluster-nova-namespace=elotl status

Checking status of Nova Control Plane Components

* API Server status... not ready ×
* Kube-controller-manager status... not ready ×
* ETCD status... not ready ×
* Nova scheduler status... not ready ×
* API Server not running : (deployment not found in the elotl namespace. Please check if your --hosting-cluster-namespace and --hosting-cluster-context flags are set correctly)
* kube-controller-manager not running : (deployment not found in the elotl namespace. Please check if your --hosting-cluster-namespace and --hosting-cluster-context flags are set correctly)
* etcd not running : (statefulset not found in the elotl namespace. Please check if your --hosting-cluster-namespace and --hosting-cluster-context flags are set correctly)
* nova-scheduler not running : (deployment not found in the elotl namespace. Please check if your --hosting-cluster-namespace and --hosting-cluster-context flags are set correctly)

Options

      --context string                          Nova context (default "nova")
-h, --help help for status
--hosting-cluster-context string Nova hosting cluster context
--hosting-cluster-nova-namespace string Nova installation namespace in hosting cluster context

SEE ALSO

  • kubectl-nova - kubectl nova is a tool for installing Nova Control Plane, connecting workload clusters to Nova Control Plane, troubleshooting existing installation etc.
Auto generated by spf13/cobra on 20-Sep-2023