Skip to content

Commit 0603243

Browse files
authored
Merge pull request #1152 from HarinAcharya/mainline
Added command and rectified document
2 parents c45009a + 91b328f commit 0603243

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

latest/ug/cluster-management/cost-monitoring-kubecost-view-dashboard.adoc

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,19 @@ kubectl get pods --namespace kubecost
1919

2020
. On your device, enable port-forwarding to expose the Kubecost dashboard.
2121
+
22+
* If kubecost is installed using helm:
23+
+
2224
[source,bash,subs="verbatim,attributes"]
2325
----
2426
kubectl port-forward deployment/kubecost-cost-analyzer 9090 --namespace kubecost
2527
----
28+
29+
* If kubecost is installed using Amazon EKS add-on:
30+
+
31+
[source,bash,subs="verbatim,attributes"]
32+
----
33+
kubectl port-forward deployment/cost-analyzer 9090 --namespace kubecost
34+
----
2635
+
2736
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"].
2837
. On the same device that you completed the previous step on, open a web browser and enter the following address.
@@ -38,4 +47,4 @@ You see the Kubecost Overview page in your browser. It might take 5–10 minutes
3847
3948
4049
* *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.
41-
* *Assets* – View the costs of the {aws} infrastructure assets that are associated with your Amazon EKS resources.
50+
* *Assets* – View the costs of the {aws} infrastructure assets that are associated with your Amazon EKS resources.

0 commit comments

Comments
 (0)