Skip to content

Commit 7ba1595

Browse files
author
github-actions
committed
Update perfectscale-autoscaler chart with new package version v1.0.28
1 parent fc2f492 commit 7ba1595

8 files changed

+20
-1
lines changed

charts/psc-autoscaler/examples/cluster-config-cost-saving-all-supported-workload-types-simplified.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ spec:
66
automation:
77
operational:
88
stopAllAutomation: false
9+
automationStrategy: "inPlace" # "inPlace" or "evictMutate", default is "inPlace"
10+
podResizePendingStrategy: "rollingRestart" # "rollingRestart" or "deleteRecreatePendingPod", default is "rollingRestart"
911
timeConstraints:
1012
wasteMaxAutomationFrequency: "30m"
1113
fixResiliencyMaxAutomationFrequency: "30m"

charts/psc-autoscaler/examples/cluster-config-cost-saving-all-supported-workload-types.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,16 @@ spec:
66
automation:
77
operational:
88
stopAllAutomation: false
9+
automationStrategy: "inPlace" # "inPlace" or "evictMutate", default is "inPlace"
10+
podResizePendingStrategy: "rollingRestart" # "rollingRestart" or "deleteRecreatePendingPod", default is "rollingRestart"
911
workloadTypes:
1012
# You should consider if you want to enable StatefulSets automation.
1113
# You might want a human eye while restarting production databases, in general, pods with persistent volume are more fragile.
1214
# As well, if your StatefulSet runs on dedicated nodes, reducing workload resources will not help to reduce the cost
1315
StatefulSet:
1416
operational:
17+
automationStrategy: "inPlace" # "inPlace" or "evictMutate", default is "inPlace"
18+
podResizePendingStrategy: "rollingRestart" # "rollingRestart" or "deleteRecreatePendingPod", default is "rollingRestart"
1519
automationMode: "Enabled"
1620
restrictions:
1721
cpuManagement:

charts/psc-autoscaler/examples/cluster-config-cost-saving-performance-improvement-all-supported-workload-types.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ spec:
66
automation:
77
operational:
88
stopAllAutomation: false
9+
automationStrategy: "inPlace" # "inPlace" or "evictMutate", default is "inPlace"
10+
podResizePendingStrategy: "rollingRestart" # "rollingRestart" or "deleteRecreatePendingPod", default is "rollingRestart"
911
workloadTypes:
1012
# You should consider if you want to enable StatefulSets automation.
1113
# You might want a human eye while restarting production databases, in general, pods with persistent volume are more fragile.

charts/psc-autoscaler/examples/cluster-config-cost-saving-performance-improvement.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ spec:
66
automation:
77
operational:
88
stopAllAutomation: false
9+
automationStrategy: "inPlace" # "inPlace" or "evictMutate", default is "inPlace"
10+
podResizePendingStrategy: "rollingRestart" # "rollingRestart" or "deleteRecreatePendingPod", default is "rollingRestart"
911
workloadTypes:
1012
Deployment:
1113
operational:

charts/psc-autoscaler/examples/cluster-config-cost-saving.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@ spec:
66
automation:
77
operational:
88
stopAllAutomation: false
9+
automationStrategy: "inPlace" # "inPlace" or "evictMutate", default is "inPlace"
10+
podResizePendingStrategy: "rollingRestart" # "rollingRestart" or "deleteRecreatePendingPod", default is "rollingRestart"
911
workloadTypes:
1012
Deployment:
1113
operational:
1214
automationMode: "Enabled"
15+
automationStrategy: "inPlace" # "inPlace" or "evictMutate", default is "inPlace"
16+
podResizePendingStrategy: "rollingRestart" # "rollingRestart" or "deleteRecreatePendingPod", default is "rollingRestart"
1317
restrictions:
1418
cpuManagement:
1519
request:

charts/psc-autoscaler/examples/workload-config-override.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ spec:
99
automation:
1010
operational:
1111
automationMode: "Enabled"
12+
automationStrategy: "evictMutate" # "inPlace" or "evictMutate", default is "inPlace"
13+
podResizePendingStrategy: "deleteRecreatePendingPod" # "rollingRestart" or "deleteRecreatePendingPod", default is "rollingRestart"
1214
timeConstraints:
1315
wasteMaxAutomationFrequency: "1h"
1416
fixResiliencyMaxAutomationFrequency: "15m"

charts/psc-autoscaler/templates/clusterrole.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ rules:
1515
- apiGroups: [ "admissionregistration.k8s.io" ]
1616
resources: [ "mutatingwebhookconfigurations", "validatingwebhookconfigurations" ]
1717
verbs: [ "create", "get", "delete", "list", "patch", "update", "watch" ]
18+
- apiGroups: [ "" ]
19+
resources: [ "nodes" ]
20+
verbs: [ "get", "list", "watch" ]
1821
- apiGroups: [ "" ]
1922
resources: [ "namespaces" ]
2023
verbs: [ "get", "list", "watch" ]

charts/psc-autoscaler/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ revisionHistoryLimit: 10
33
image:
44
repository: public.ecr.aws/perfectscale-io/psc-autoscaler
55
pullPolicy: Always
6-
tag: "v1.0.27"
6+
tag: "v1.0.28"
77
settings:
88
port: 8443
99
env: "prod"

0 commit comments

Comments
 (0)