Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,19 @@ kubectl get pods --namespace kubecost

. On your device, enable port-forwarding to expose the Kubecost dashboard.
+
* If kubecost is installed using helm:
+
[source,bash,subs="verbatim,attributes"]
----
kubectl port-forward deployment/kubecost-cost-analyzer 9090 --namespace kubecost
----

* If kubecost is installed using Amazon EKS add-on:
+
[source,bash,subs="verbatim,attributes"]
----
kubectl port-forward deployment/cost-analyzer 9090 --namespace kubecost
----
+
Alternatively, you can use the <<aws-load-balancer-controller,{aws} Load Balancer Controller>> to expose Kubecost and use Amazon Cognito for authentication, authorization, and user management. For more information, see link:containers/how-to-use-application-load-balancer-and-amazon-cognito-to-authenticate-users-for-your-kubernetes-web-apps[How to use Application Load Balancer and Amazon Cognito to authenticate users for your Kubernetes web apps,type="blog"].
. On the same device that you completed the previous step on, open a web browser and enter the following address.
Expand All @@ -38,4 +47,4 @@ You see the Kubecost Overview page in your browser. It might take 5–10 minutes


* *Cost allocation* – View monthly Amazon EKS costs and cumulative costs for each of your namespaces and other dimensions over the past seven days. This is helpful for understanding which parts of your application are contributing to Amazon EKS spend.
* *Assets* – View the costs of the {aws} infrastructure assets that are associated with your Amazon EKS resources.
* *Assets* – View the costs of the {aws} infrastructure assets that are associated with your Amazon EKS resources.