文件名称:cron-hpa:Cron水平Pod自动缩放器(CronHPA)
文件大小:6.54MB
文件格式:ZIP
更新时间:2024-06-08 10:50:37
kubernetes hpa Go
CronHPA Cron Horizontal Pod Autoscaler(CronHPA)使我们能够使用方案定期自动扩展工作负载(那些支持scale子资源,例如部署,statefulset)。 CronHPA示例: apiVersion: extensions.tkestack.io/v1 kind: CronHPA metadata: name: example-cron-hpa spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: demo-deployment crons: - schedule: "0 23 * * 5" // Set replicas to 60 every Friday 23:00 targetReplicas: