k8s HorizontalPodAutoscaler

type

resource metric

type: Resource #如 CPU 或内存利用率

custom metrics

Pod 度量指标

Object度量指标

https://kubernetes.io/zh-cn/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics

VerticalPodAutoscaler

在集群中安装 Metrics Server

Event Driven Autoscaler

Kubernetes Event Driven Autoscaler

准备

1
2
3
4
5
6
7
8
❯ helm repo add kedacore https://kedacore.github.io/charts
"kedacore" has been added to your repositories
❯ helm pull kedacore/keda --version 2.12.1

❯ helm repo add bitnami https://charts.bitnami.com/bitnami
❯ helm pull bitnami/rabbitmq #rabbitmq-14.0.1

❯ git clone https://mirror.ghproxy.com/https://github.com/kedacore/sample-go-rabbitmq.git

https://keda.sh/docs/2.15/operate/cluster/

点击打赏
文章目录
  1. 1. type
    1. 1.1. resource metric
    2. 1.2. custom metrics
  2. 2. VerticalPodAutoscaler
  3. 3. Event Driven Autoscaler
    1. 3.1. 准备
载入天数...载入时分秒... ,