クラスタ自動スケーリング
コンテナレベルの自動スケーリング
apiVersion: autoscaling/v2beta2
kind: HorizontalPodAutoscaler
metadata:
name: my-gpu-app
spec:
maxReplicas: 3 # Update this accordingly
minReplicas: 1
scaleTargetRef:
apiVersion: apps/v1beta1
kind: Deployment
name: my-gpu-app # Add label from Deployment we need to autoscale
metrics:
- type: Pods # scale pod based on gpu
pods:
metric:
name: DCGM_FI_PROF_GR_ENGINE_ACTIVE # Add the DCGM metric here accordingly
target:
type: AverageValue
averageValue: 0.8 # Set the threshold value as per the requirement

ノードレベルの自動スケーリング

クラスタの自動スケーリングを有効にする
クラスタ自動スケーリングの無効化
クラスタの自動スケーリング設定の変更
Last updated
Was this helpful?












