crane icon indicating copy to clipboard operation
crane copied to clipboard

Frequently asked question(FAQ) Collection

Open zsnmwy opened this issue 2 years ago • 0 comments

When you use Crane, you may have some questions. Many questions are in common. We will select some questions for the FAQ page on the docs web. If the item is checked, that means that question is added to the FAQ page. Keep docs up to date as possible.


Install

  • [ ] CRD conflict - v1beta1.custom.metrics.k8s.io
helm install crane -n crane-system --create-namespace crane/crane
Error: INSTALLATION FAILED: rendered manifests contain a resource that already exists. Unable to continue with install: APIService "v1beta1.custom.metrics.k8s.io" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key "app.kubernetes.io/managed-by": must be set to "Helm"; annotation validation error: missing key "meta.helm.sh/release-name": must be set to "crane"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "crane-system"

Cost

  • [ ] #317
  • [ ] I using GKE, how to change the unit price of CPU/Mem?

EHPA

  • [x] TimeSeriesPrediction is not ready.
ScalingActive   False   FailedGetPodsMetric  the HPA was unable to compute the replica count: unable to get metric crane_pod_cpu_usage: unable to fetch metrics from custom metrics API: TimeSeriesPrediction is not ready.
  • [ ] EHPA is working? How to get the logs of autoscaling?
  • [ ] I was stress-testing the test cluster, but the predicted data did not match expectations. What should I do to find the problems?

Algorithm

  • [ ] I'm very interested in how Crane predicted the data. Are there any docs or papers provided?

Prometheus

  • [ ] I want to integrate Crane into my own Prometheus. What should I do?

Grafana

  • [ ] Get Grafana 404 in the dashborad.
  • [ ] I want to integrate Crane into my own Grafana. What should I do?

Crane Agent

  • [ ] Fail to get metrics
Can't get cpu_total_usage from NodeResourceManager local state

Business metrics

  • [ ] I want to use Crane to predict business metrics. What should I do?

zsnmwy avatar May 15 '22 14:05 zsnmwy