Skip to main content

Kubernetes with Optimize

If you have workloads deployed on Kubernetes, you need to be sure they are appropriately constrained and monitored to avoid excess spend. Optimize can ingest Kubernetes data around Elastic Kubernetes Service (EKS) and Azure Kubernetes Service (AKS). You can then receive recommendations for how to Right Size Kubernetes containers.

The Optimize integration with Kubernetes collects metrics that allow you to analyze usage on your Kubernetes containers. You can receive recommendations for right-sizing workloads to reduce costs. You can also configure constraints based on your key metrics and your risk tolerance. Reports can be sent to selected recipients via email.

For AWS, EKS can support either Fargate or EC2 or a combination of both compute instances. Fargate pods display direct cost, and right-sizing recommendations are provided directly for the containers. If a cluster is running partially or exclusively on EC2, then those instances are right-sized under the typical EC2 right sizing that is already in place. For containers backed by traditional EC2s, you will see container right-sizing recommendations without cost metrics.

To collect Kubernetes metrics, the Prometheus collector is required. A collector must be available for each account in Virtana Platform that includes Kubernetes. Install Prometheus as you would a typical instance, but provide Optimize public access to the Prometheus API.

Prometheus can be configured inside or outside of a cluster. It can also use federated or nonfederated services. However, the Prometheus server must have a public URL. Prometheus metrics are updated in Optimize once a week.

Kubernetes metrics collection is available for all Optimize customers with a Free or Pro license. You will need to configure your Kubernetes environment before you can integrate it with Optimize. The only additional configuration required directly in Optimize is to integrate with a Prometheus metrics collector.

Related Topics

Add a Prometheus Metrics Collector