-
Feature Request
-
Resolution: Done
-
Blocker
-
None
-
None
-
False
-
None
-
False
-
Not Selected
-
-
-
-
-
1. Proposed title of this feature request
show uptime of node using oc command in CLI RHOCP 4
2. What is the nature and description of the request?
When user runs this command, oc get node <node name> -o jsonpath='{.status.nodeInfo}' | jq .
user is not able to get node uptime information in output of the above command.
For example: currently user is getting below ouput. However uptime is not visible here.
$ oc get node <node name> -o jsonpath='{.status.nodeInfo}' | jq .
User is expecting uptime information of the node via oc command without debugging or taking ssh to the node.
3. Why does the customer need this? (List the business requirements here)
Customer mentioned below requirement:
We need open browser enter in prometheus or openshift console/monitoring and generate the query:
(time() - node_boot_time_seconds)/(606024)
With this RFE, we can calculate the uptime of nodes inside k8s ecosystem. This RFE take more weight because we are increase in cluster in virtual machines and cloud providers.
4. List any affected packages or components.
oc ,kubelet