Introduction
Kubecost has already been deployed into your cluster. We can check to see if it's up and running. Run:
~$kubectl get deployment -n kubecost
kubecost-cost-analyzer 1/1 1 1 16m
kubecost-kube-state-metrics 1/1 1 1 16m
kubecost-prometheus-server 1/1 1 1 16m
Kubecost has been exposed using a LoadBalancer
service, and we can find the URL to access it like so:
~$kubectl get service -n kubecost kubecost-cost-analyzer \
-o jsonpath="{.status.loadBalancer.ingress[*].hostname}:9090{'\n'}"
k8s-kubecost-kubecost-e83ecf8fc1-fc26f5c92767520f.elb.us-west-2.amazonaws.com:9090
Open this link in your browser to access Kubecost:
http://k8s-kubecost-kubecost-e83ecf8fc1-fc26f5c92767520f.elb.us-west-2.amazonaws.com:9090