Kubernetes

To register a Kubernetes cluster:

# storpool kubernetes add name cluster1
OK

To disable a Kubernetes cluster:

# storpool kubernetes update name cluster1 disable yes
OK

To enable a Kubernetes cluster:

# storpool kubernetes update name cluster1 disable no
OK

To delete Kubernetes cluster:

# storpool kubernetes delete name cluster1
OK

To list registered Kubernetes clusters:

# storpool kubernetes list
-----------------------
| name     | disabled |
-----------------------
| cluster1 | false    |
-----------------------

To view the status of the registered Kubernetes clusters:

# storpool kubernetes status
--------------------------------------------------------------
| name     | sc | w   | pvc | noRsrc | noTempl | mode | noSC |
--------------------------------------------------------------
| cluster1 |  0 | 0/3 |   0 |      0 |       0 |    0 |    0 |
--------------------------------------------------------------
Feilds:
  sc      - registered Storage Classes
  w       - watch connections to the kube adm
  pvc     - persistentVolumeClaims beeing provisioned
  noRsrc  - persistentVolumeClaims failed due to no resources
  noTempl - persistentVolumeClaims failed due to missing template
  mode    - persistentVolumeClaims failed due to unsupported access mode
  noSC    - persistentVolumeClaims failed due to missing storage class