How to view the cost of Kubernetes Pod and Service (Container Cost)
nOps is designed to help give granular costs to your EKS pods, and services. To view the cost of your EKS resources, use the following steps:
Click Cost Control on the top menu and select Container Cost from the list.
The dashboard contains a graph, that shows daily container cost. Scroll down to see a list of EKS clusters that have been created within the AWS account. This list shows the cost of each EKS cluster per day:
The EKS clusters are shown in the EKS Clusters List. From here you can view detailed costs for components in this Kubernetes cluster. Such as the cost for each Worker Node (EC2 Instance), Services, and Pods. Click on an EKS cluster for more details. From our screenshot, we will click on ys-addon-po-s cluster.
This will provide details about the Services, Nodes (EC2 Instances), and Pods within the cluster:
How to use this data
The instances in the cluster are listed with a status. If you see instances in the cluster that are inactive you may want to consider deleting them if they are unused in order to save costs. Any data contained in these clusters can be archived or moved to another resource/resource type.