-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update perfectscale-autoscaler chart with new package version v1.0.10
- Loading branch information
github-actions
committed
Oct 3, 2024
1 parent
bda0e52
commit d3551eb
Showing
15 changed files
with
400 additions
and
4 deletions.
There are no files selected for viewing
63 changes: 63 additions & 0 deletions
63
...toscaler/examples/cluster-config-cost-saving-performance-improvement-with-DS-and-STS.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
apiVersion: perfectscale.io/v1 | ||
kind: ClusterAutomationConfig | ||
metadata: | ||
name: cluster-automation-config | ||
spec: | ||
automation: | ||
operational: | ||
stopAllAutomation: false | ||
workloadTypes: | ||
Deployment: | ||
operational: | ||
automationMode: "Enabled" | ||
restrictions: | ||
cpuManagement: | ||
request: | ||
increaseEnabled: true | ||
decreaseEnabled: true | ||
limit: | ||
keepLimit: false | ||
memoryManagement: | ||
request: | ||
increaseEnabled: true | ||
decreaseEnabled: true | ||
limit: | ||
increaseEnabled: true | ||
decreaseEnabled: true | ||
DaemonSet: | ||
operational: | ||
automationMode: "Enabled" | ||
restrictions: | ||
cpuManagement: | ||
request: | ||
increaseEnabled: true | ||
decreaseEnabled: true | ||
limit: | ||
keepLimit: false | ||
memoryManagement: | ||
request: | ||
increaseEnabled: true | ||
decreaseEnabled: true | ||
limit: | ||
increaseEnabled: true | ||
decreaseEnabled: true | ||
# You should consider if you want to enable StatefulSets automation. | ||
# You might want a human eye while restarting production databases, in general, pods with persistent volume are more fragile. | ||
# As well, if your StatefulSet runs on dedicated nodes, reducing workload resources will not help to reduce the cost | ||
StatefulSet: | ||
operational: | ||
automationMode: "Enabled" | ||
restrictions: | ||
cpuManagement: | ||
request: | ||
increaseEnabled: true | ||
decreaseEnabled: true | ||
limit: | ||
keepLimit: false | ||
memoryManagement: | ||
request: | ||
increaseEnabled: true | ||
decreaseEnabled: true | ||
limit: | ||
increaseEnabled: true | ||
decreaseEnabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,4 +23,4 @@ spec: | |
decreaseEnabled: true | ||
limit: | ||
increaseEnabled: true | ||
decreaseEnabled: true | ||
decreaseEnabled: true |
63 changes: 63 additions & 0 deletions
63
charts/psc-autoscaler/examples/cluster-config-cost-saving-with-DS-and-STS.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
apiVersion: perfectscale.io/v1 | ||
kind: ClusterAutomationConfig | ||
metadata: | ||
name: cluster-automation-config | ||
spec: | ||
automation: | ||
operational: | ||
stopAllAutomation: false | ||
workloadTypes: | ||
Deployment: | ||
operational: | ||
automationMode: "Enabled" | ||
restrictions: | ||
cpuManagement: | ||
request: | ||
increaseEnabled: false | ||
decreaseEnabled: true | ||
limit: | ||
keepLimit: true | ||
memoryManagement: | ||
request: | ||
increaseEnabled: false | ||
decreaseEnabled: true | ||
limit: | ||
increaseEnabled: false | ||
decreaseEnabled: false | ||
DaemonSet: | ||
operational: | ||
automationMode: "Enabled" | ||
restrictions: | ||
cpuManagement: | ||
request: | ||
increaseEnabled: false | ||
decreaseEnabled: true | ||
limit: | ||
keepLimit: true | ||
memoryManagement: | ||
request: | ||
increaseEnabled: false | ||
decreaseEnabled: true | ||
limit: | ||
increaseEnabled: false | ||
decreaseEnabled: false | ||
# You should consider if you want to enable StatefulSets automation. | ||
# You might want a human eye while restarting production databases, in general, pods with persistent volume are more fragile. | ||
# As well, if your StatefulSet runs on dedicated nodes, reducing workload resources will not help to reduce the cost | ||
StatefulSet: | ||
operational: | ||
automationMode: "Enabled" | ||
restrictions: | ||
cpuManagement: | ||
request: | ||
increaseEnabled: false | ||
decreaseEnabled: true | ||
limit: | ||
keepLimit: true | ||
memoryManagement: | ||
request: | ||
increaseEnabled: false | ||
decreaseEnabled: true | ||
limit: | ||
increaseEnabled: false | ||
decreaseEnabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
charts/psc-autoscaler/examples/label-based-configuration.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
apiVersion: perfectscale.io/v1 | ||
kind: ClusterAutomationConfig | ||
metadata: | ||
name: cluster-automation-config | ||
spec: | ||
automation: | ||
operational: | ||
stopAllAutomation: false | ||
workloadLabelSelectors: | ||
# This means that if the workload has perfectscale.io/automation-disabled:true label, | ||
# it will not be automated, regardless of the other labels. | ||
- allowAutomation: false | ||
key: perfectscale.io/automation-disabled | ||
value: "true" | ||
# This means that if the workload has team:dev label, | ||
# it will be automated, unless it has perfectscale.io/automation-disabled:true label. | ||
# Workloads without this labels will not be automated. | ||
- allowAutomation: true | ||
key: team | ||
value: "dev" | ||
workloadTypes: | ||
Deployment: | ||
operational: | ||
automationMode: "Enabled" | ||
DaemonSet: | ||
operational: | ||
automationMode: "Enabled" | ||
# You should consider if you want to enable StatefulSets automation. | ||
# You might want a human eye while restarting production databases, in general, pods with persistent volume are more fragile. | ||
# As well, if your StatefulSet runs on dedicated nodes, reducing workload resources will not help to reduce the cost | ||
StatefulSet: | ||
operational: | ||
automationMode: "Enabled" |
44 changes: 44 additions & 0 deletions
44
charts/psc-autoscaler/examples/namespace-daemon-stateful-sets-resilience-and-savings.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
apiVersion: perfectscale.io/v1 | ||
kind: NamespaceAutomationConfig | ||
metadata: | ||
name: your-namespace-automation-config | ||
spec: | ||
automation: | ||
workloadTypes: | ||
DaemonSet: | ||
operational: | ||
automationMode: "Enabled" | ||
restrictions: | ||
cpuManagement: | ||
request: | ||
increaseEnabled: true | ||
decreaseEnabled: true | ||
limit: | ||
keepLimit: false | ||
memoryManagement: | ||
request: | ||
increaseEnabled: true | ||
decreaseEnabled: true | ||
limit: | ||
increaseEnabled: true | ||
decreaseEnabled: true | ||
# You should consider if you want to enable StatefulSets automation. | ||
# You might want a human eye while restarting production databases, in general, pods with persistent volume are more fragile. | ||
# As well, if your StatefulSet runs on dedicated nodes, reducing workload resources will not help to reduce the cost | ||
StatefulSet: | ||
operational: | ||
automationMode: "Enabled" | ||
restrictions: | ||
cpuManagement: | ||
request: | ||
increaseEnabled: true | ||
decreaseEnabled: true | ||
limit: | ||
keepLimit: false | ||
memoryManagement: | ||
request: | ||
increaseEnabled: true | ||
decreaseEnabled: true | ||
limit: | ||
increaseEnabled: true | ||
decreaseEnabled: true |
44 changes: 44 additions & 0 deletions
44
charts/psc-autoscaler/examples/namespace-daemon-stateful-sets-savings.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
apiVersion: perfectscale.io/v1 | ||
kind: NamespaceAutomationConfig | ||
metadata: | ||
name: your-namespace-automation-config | ||
spec: | ||
automation: | ||
workloadTypes: | ||
DaemonSet: | ||
operational: | ||
automationMode: "Enabled" | ||
restrictions: | ||
cpuManagement: | ||
request: | ||
increaseEnabled: false | ||
decreaseEnabled: true | ||
limit: | ||
keepLimit: true | ||
memoryManagement: | ||
request: | ||
increaseEnabled: false | ||
decreaseEnabled: true | ||
limit: | ||
increaseEnabled: false | ||
decreaseEnabled: false | ||
# You should consider if you want to enable StatefulSets automation. | ||
# You might want a human eye while restarting production databases, in general, pods with persistent volume are more fragile. | ||
# As well, if your StatefulSet runs on dedicated nodes, reducing workload resources will not help to reduce the cost | ||
StatefulSet: | ||
operational: | ||
automationMode: "Enabled" | ||
restrictions: | ||
cpuManagement: | ||
request: | ||
increaseEnabled: false | ||
decreaseEnabled: true | ||
limit: | ||
keepLimit: true | ||
memoryManagement: | ||
request: | ||
increaseEnabled: false | ||
decreaseEnabled: true | ||
limit: | ||
increaseEnabled: false | ||
decreaseEnabled: false |
25 changes: 25 additions & 0 deletions
25
charts/psc-autoscaler/examples/workload-config-daemon-set-resilience-and-savings.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
apiVersion: perfectscale.io/v1 | ||
kind: WorkloadAutomationConfig | ||
metadata: | ||
name: your-workload-automation-config | ||
spec: | ||
targetRef: | ||
kind: DaemonSet | ||
name: ds-name | ||
automation: | ||
operational: | ||
automationMode: "Enabled" | ||
restrictions: | ||
cpuManagement: | ||
request: | ||
increaseEnabled: true | ||
decreaseEnabled: true | ||
limit: | ||
keepLimit: false | ||
memoryManagement: | ||
request: | ||
increaseEnabled: true | ||
decreaseEnabled: true | ||
limit: | ||
increaseEnabled: true | ||
decreaseEnabled: true |
25 changes: 25 additions & 0 deletions
25
charts/psc-autoscaler/examples/workload-config-daemon-set-savings.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
apiVersion: perfectscale.io/v1 | ||
kind: WorkloadAutomationConfig | ||
metadata: | ||
name: your-workload-automation-config | ||
spec: | ||
targetRef: | ||
kind: DaemonSet | ||
name: ds-name | ||
automation: | ||
operational: | ||
automationMode: "Enabled" | ||
restrictions: | ||
cpuManagement: | ||
request: | ||
increaseEnabled: false | ||
decreaseEnabled: true | ||
limit: | ||
keepLimit: true | ||
memoryManagement: | ||
request: | ||
increaseEnabled: false | ||
decreaseEnabled: true | ||
limit: | ||
increaseEnabled: false | ||
decreaseEnabled: false |
28 changes: 28 additions & 0 deletions
28
charts/psc-autoscaler/examples/workload-config-sts-resilience.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# You should consider if you want to enable StatefulSets automation. | ||
# You might want a human eye while restarting production databases, in general, pods with persistent volume are more fragile. | ||
# As well, if your StatefulSet runs on dedicated nodes, reducing workload resources will not help to reduce the cost | ||
apiVersion: perfectscale.io/v1 | ||
kind: WorkloadAutomationConfig | ||
metadata: | ||
name: your-workload-automation-config | ||
spec: | ||
targetRef: | ||
kind: StatefulSet | ||
name: sts-name | ||
automation: | ||
operational: | ||
automationMode: "Enabled" | ||
restrictions: | ||
cpuManagement: | ||
request: | ||
increaseEnabled: true | ||
decreaseEnabled: true | ||
limit: | ||
keepLimit: false | ||
memoryManagement: | ||
request: | ||
increaseEnabled: true | ||
decreaseEnabled: true | ||
limit: | ||
increaseEnabled: true | ||
decreaseEnabled: true |
28 changes: 28 additions & 0 deletions
28
charts/psc-autoscaler/examples/workload-config-sts-savings.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# You should consider if you want to enable StatefulSets automation. | ||
# You might want a human eye while restarting production databases, in general, pods with persistent volume are more fragile. | ||
# As well, if your StatefulSet runs on dedicated nodes, reducing workload resources will not help to reduce the cost | ||
apiVersion: perfectscale.io/v1 | ||
kind: WorkloadAutomationConfig | ||
metadata: | ||
name: your-workload-automation-config | ||
spec: | ||
targetRef: | ||
kind: StatefulSet | ||
name: sts-name | ||
automation: | ||
operational: | ||
automationMode: "Enabled" | ||
restrictions: | ||
cpuManagement: | ||
request: | ||
increaseEnabled: false | ||
decreaseEnabled: true | ||
limit: | ||
keepLimit: true | ||
memoryManagement: | ||
request: | ||
increaseEnabled: false | ||
decreaseEnabled: true | ||
limit: | ||
increaseEnabled: false | ||
decreaseEnabled: false |
Oops, something went wrong.