System Info and Diagnose

    You can:

    • run to check all detail system information
    • run vela system diagnose to diagnose system’s health
    1. The system info command displays the cpu and memory metrics, the numbers of ready pods and desired pods.
    1. NAME NAMESPACE READY PODS IMAGE CPU(cores) MEMORY(bytes) ARGS ENVS
    2. kubevela-cluster-gateway vela-system 1/1 oamdev/cluster-gateway:v1.4.0 2m 28Mi apiserver --secure-port=9443 --secret-namespace=ve... -
    3. kubevela-vela-core vela-system 1/1 oamdev/vela-core:latest 13m 217Mi --metrics-addr=:8080 --enable-leader-election --op... -
    1. The system info command can displays system component details when you specify it by -s.

    expected output

    1. metadata:
    2. annotations:
    3. deployment.kubernetes.io/revision: "2"
    4. meta.helm.sh/release-name: kubevela
    5. meta.helm.sh/release-namespace: vela-system
    6. creationTimestamp: "2022-08-09T15:11:20Z"
    7. generation: 3
    8. labels:
    9. app.kubernetes.io/instance: kubevela
    10. app.kubernetes.io/name: vela-core
    11. app.kubernetes.io/version: 0.1.0
    12. helm.sh/chart: vela-core-0.1.0
    13. name: kubevela-vela-core
    14. namespace: vela-system
    15. resourceVersion: "658152"
    16. uid: 1e26c04b-9f47-4a81-bc95-1694e0eb0ed0
    17. spec:
    18. ...(omitted for brevity)
    19. status:
    20. availableReplicas: 1
    21. conditions:
    22. - lastTransitionTime: "2022-08-09T15:11:20Z"
    23. lastUpdateTime: "2022-08-09T15:11:55Z"
    24. message: ReplicaSet "kubevela-vela-core-d7cb9c78d" has successfully progressed.
    25. reason: NewReplicaSetAvailable
    26. status: "True"
    27. - lastTransitionTime: "2022-08-16T15:27:00Z"
    28. message: Deployment has minimum availability.
    29. reason: MinimumReplicasAvailable
    30. status: "True"
    31. type: Available
    32. observedGeneration: 3
    33. readyReplicas: 1
    34. replicas: 1
    35. updatedReplicas: 1

    Vela System Diagnose

    expected output

    1. ------------------------------------------------------
    2. Diagnosing APIService of cluster-gateway...
    3. Result: APIService of cluster-gateway is fine~
    4. ------------------------------------------------------
    5. ------------------------------------------------------
    6. Diagnosing health of clusters...
    7. Result: Clusters are fine~
    8. ------------------------------------------------------