Skip to content

Instantly share code, notes, and snippets.

@orangedeng
orangedeng / hpa-support-design.md
Last active January 10, 2019 08:26
HPA support design

HPA design

Feature/enhancement description

Support to Configure HorizontalPodAutoscaler in Rancher UI. And Support to configure HPA rules for deployment when we creating them.

Requirements

API and object model changes

@orangedeng
orangedeng / gist:0b54cc47a7251fba4e6d8f814e7e1e34
Last active August 29, 2018 07:59
Rancher 2.0 Monitoring Design v0.2

Monitoring Design

Custom Resource Definition

According to coreos/prometheus-operator, we will have following crds for prometheus monitoring.

  • prometheus.monitoring.coreos.com
  • prometheusrule.monitoring.coreos.com
  • servicemonitor.monitoring.coreos.com
  • alertmanager.monitoring.coreos.com
@orangedeng
orangedeng / rancher-monitoring-design_v0.2.md
Last active July 20, 2018 04:28
Rancher 2.0 Monitoring Design

Rancher 2.0 Monitoring Features

There are three major features of Rancher 2.0 monitoring support.

  1. Enbale Prometheus as Rancher 2.0 monitoring component. And we will have some real-time monitoring graphs in Rancher UI.
  2. Support Workloads auto scaling. We will support two kinds of scaler. The Kubernetes HPA and webhook scaler.
  3. Support more alert rule types. Such as pod CPU/Memory usage.

Detail Design

Enable Monitoring