diff --git a/latest/ug/cluster-management/cost-monitoring-kubecost-view-dashboard.adoc b/latest/ug/cluster-management/cost-monitoring-kubecost-view-dashboard.adoc index fe7455d7..3bcea18c 100644 --- a/latest/ug/cluster-management/cost-monitoring-kubecost-view-dashboard.adoc +++ b/latest/ug/cluster-management/cost-monitoring-kubecost-view-dashboard.adoc @@ -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 <> 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. @@ -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. \ No newline at end of file +* *Assets* – View the costs of the {aws} infrastructure assets that are associated with your Amazon EKS resources.