-------------------------------------------------- {{- $node := (lookup "v1" "Node" "" "") }} {{- $isEKS := (regexMatch ".*eks.*" (.Capabilities.KubeVersion | quote) )}} {{- $isGT22 := (semverCompare ">=1.23-0" .Capabilities.KubeVersion.GitVersion) }} {{- $PVNotExists := (empty (lookup "v1" "PersistentVolume" "" "")) }} {{- $EBSCSINotExists := (empty (lookup "apps/v1" "Deployment" "kube-system" "ebs-csi-controller")) }} {{- $servicePort := .Values.service.port | default 9090 -}} Kubecost has been successfully installed. {{ if (and $isEKS $isGT22) -}} WARNING: ON EKS v1.23+ INSTALLATION OF EBS-CSI DRIVER IS REQUIRED TO MANAGE PERSISTENT VOLUMES. LEARN MORE HERE: https://docs.kubecost.com/install-and-configure/install/provider-installations/aws-eks-cost-monitoring#prerequisites {{ if (and $EBSCSINotExists $PVNotExists) -}} ERROR: MISSING EBS-CSI DRIVER WHICH IS REQUIRED ON EKS v1.23+ TO MANAGE PERSISTENT VOLUMES. LEARN MORE HERE: https://docs.kubecost.com/install-and-configure/install/provider-installations/aws-eks-cost-monitoring#prerequisites {{ else if (and $EBSCSINotExists (not $PVNotExists)) -}} ERROR: MISSING EBS-CSI DRIVER WHICH IS REQUIRED ON EKS v1.23+ TO MANAGE PERSISTENT VOLUMES. LEARN MORE HERE: https://docs.kubecost.com/install-and-configure/install/provider-installations/aws-eks-cost-monitoring#prerequisites {{ end -}} {{ end -}} Please allow 5-10 minutes for Kubecost to gather metrics. If you have configured cloud-integrations, it can take up to 48 hours for cost reconciliation to occur. When using Durable storage (Enterprise Edition), please allow up to 4 hours for data to be collected and the UI to be healthy. When pods are Ready, you can enable port-forwarding with the following command: kubectl port-forward --namespace {{ .Release.Namespace }} deployment/{{ template "cost-analyzer.fullname" . }} {{ $servicePort }} Next, navigate to http://localhost:{{ $servicePort }} in a web browser. Having installation issues? View our Troubleshooting Guide at http://docs.kubecost.com/troubleshoot-install