English | 中文
Crane is a FinOps Platform for Cloud Resource Analytics and Economics in Kubernetes clusters. The goal is not only help user to manage cloud cost easier but also ensure the quality of applications.
Crane is a FinOps Certified Solution project of the FinOps Foundation.
How to start a Cost-Saving journey on Crane?
- Understanding: Cost insight for cloud assets and kubernetes resources(Deployments, StatefulSets).
- Analytics: Periodically analytics the states in cluster and provide optimization recommendations.
- Optimization: Rich set of functionalities to operate and reduce your cost.
crane.mp4
Live Demo for Crane Dashboard: http://dashboard.gocrane.io/
Cost Visualization and Optimization Evaluation
- Provides a collection of exporters which collect cloud resource pricing and billing data and ship to your monitoring system like Prometheus.
- Multi-dimensional cost insight, optimization evaluates are supported. Support Multi-cloud Pricing through
Cloud Provider
。
Recommendation Framework
Provide a pluggable framework for analytics and give recommendation for cloud resources, support out-of-box recommenders: Workload Resources/Replicas, Idle Resources. learn more.
Prediction-driven Horizontal Autoscaling
EffectiveHorizontalPodAutoscaler supports prediction-driven autoscaling. With this capability, user can forecast the incoming peak flow and scale up their application ahead, also user can know when the peak flow will end and scale down their application gracefully. learn more.
Load-Aware Scheduling
Provide a simple but efficient scheduler that schedule pods based on actual node utilization data,and filters out those nodes with high load to balance the cluster. learn more.
Colocation with Enhanced QOS
QOS-related capabilities ensure the running stability of Pods on Kubernetes. It has the ability of interference detection and active avoidance under the condition of multi-dimensional metrics, and supports reasonable operation and custom metrics access; it has the ability to oversell elastic resources enhanced by the prediction algorithm, reuse and limit the idle resources in the cluster; it has the enhanced bypass cpuset Management capabilities, improve resource utilization efficiency while binding cores. learn more.
The overall architecture of Crane is shown as below:
Craned
Craned is the core component which manage the lifecycle of CRDs and APIs. It's deployed by a Deployment
which consists of two container:
- Craned: Operators for management CRDs, WebApi for Dashboard, Predictors that provide query TimeSeries API.
- Dashboard: Web component that built from TDesign's Starter, provide an easy-to-use UI for crane users.
Fadvisor
Fadvisor provides a collection of exporters which collect cloud resource pricing and billing data and ship to your monitoring system like Prometheus. Fadvisor support Multi-Cloud Pricing API by Cloud Provider
.
Metric Adapter
Metric Adapter implements a Custom Metric Apiserver
. Metric Adapter consume Crane CRDs and provide HPA Metrics by Custom/External Metric API
.
Crane Agent
Crane Agent is a DaemonSet
that runs in each node.
Full documentation is available on the Crane website.
-
Slack(English): https://gocrane.slack.com
-
Wechat Group (Chinese):
![Wechat Wechat](https://private-user-images.githubusercontent.com/6251116/254504847-50997b45-187f-4e31-91e2-d679ea2b4bd0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ1NjcwNzksIm5iZiI6MTcyNDU2Njc3OSwicGF0aCI6Ii82MjUxMTE2LzI1NDUwNDg0Ny01MDk5N2I0NS0xODdmLTRlMzEtOTFlMi1kNjc5ZWEyYjRiZDAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDgyNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA4MjVUMDYxOTM5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWY4MTM1ZDhkODFmNTgxY2M5ZGY4OTZkMmEzNzBiMDQ3MGNjNTQxNDRkMjc0YzBkYzIzNWM3OGJmMjFmMDRiZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.YUrFPMcFKke7xgUYmyIa52P7rEol-IgQHzk0GJroroA)
- Bi-weekly Community Call(APAC, Chinese)
Please see this document to learn more.
Contributors are welcomed to join Crane project. Please check CONTRIBUTING about how to contribute to this project.
For how to start develop for Crane, you can check developer's documentation.
Crane adopts CNCF Code of Conduct.