OceanRightsizingRule is the Schema for the OceanRightsizingRules API. Provides a Spotinst Ocean Right Sizing resource.
Type
CRD
Group
oceanrightsizingrule.spot.upbound.io
Version
v1alpha1
apiVersion: oceanrightsizingrule.spot.upbound.io/v1alpha1
kind: OceanRightsizingRule
OceanRightsizingRuleSpec defines the desired state of OceanRightsizingRule
No description provided.
No description provided.
No description provided.
List of workloads.
No description provided.
No description provided.
List of workloads.
HPA Rightsizing Rule Recommendation Configuration
Determines the Ocean Rightsizing rule recommendation application intervals.
Determines the Ocean Rightsizing rule monthly repetition basis.
Array of the months (in number), when we want to trigger the apply recommendations.
Valid values: "FIRST" "SECOND" "THIRD" "FOURTH" "LAST". Array of the weeks in the month, when we want to trigger the apply recommendations.
Determines the Ocean Rightsizing rule weekly repetition basis.
Valid values: "SUNDAY" "MONDAY" "TUESDAY" "WEDNESDAY" "THURSDAY" "FRIDAY" "SATURDAY". Array of the days of the week, when we want to trigger the apply recommendations.
Determines the Ocean Rightsizing rule weekly repetition basis.
Valid values: "SUNDAY" "MONDAY" "TUESDAY" "WEDNESDAY" "THURSDAY" "FRIDAY" "SATURDAY". Array of the days of the week, when we want to trigger the apply recommendations.
Determines the extent of difference between current request and recommendation to trigger a change in percentage.
Determines the Ocean Rightsizing rule recommendation application overhead values.
THIS IS A BETA FIELD. It will be honored unless the Management Policies feature flag is disabled. InitProvider holds the same fields as ForProvider, with the exception of Identifier and other resource reference fields. The fields that are in InitProvider are merged into ForProvider when the resource is created. The same fields are also added to the terraform ignore_changes hook, to avoid updating them after creation. This is useful for fields that are required on creation, but we do not desire to update them after creation, for example because of an external controller is managing them, like an autoscaler.
No description provided.
No description provided.
List of workloads.
No description provided.
No description provided.
List of workloads.
HPA Rightsizing Rule Recommendation Configuration
Determines the Ocean Rightsizing rule recommendation application intervals.
Determines the Ocean Rightsizing rule monthly repetition basis.
Array of the months (in number), when we want to trigger the apply recommendations.
Valid values: "FIRST" "SECOND" "THIRD" "FOURTH" "LAST". Array of the weeks in the month, when we want to trigger the apply recommendations.
Determines the Ocean Rightsizing rule weekly repetition basis.
Valid values: "SUNDAY" "MONDAY" "TUESDAY" "WEDNESDAY" "THURSDAY" "FRIDAY" "SATURDAY". Array of the days of the week, when we want to trigger the apply recommendations.
Determines the Ocean Rightsizing rule weekly repetition basis.
Valid values: "SUNDAY" "MONDAY" "TUESDAY" "WEDNESDAY" "THURSDAY" "FRIDAY" "SATURDAY". Array of the days of the week, when we want to trigger the apply recommendations.
Determines the extent of difference between current request and recommendation to trigger a change in percentage.
Determines the Ocean Rightsizing rule recommendation application overhead values.
THIS IS A BETA FIELD. It is on by default but can be opted out through a Crossplane feature flag. ManagementPolicies specify the array of actions Crossplane is allowed to take on the managed and external resources. This field is planned to replace the DeletionPolicy field in a future release. Currently, both could be set independently and non-default values would be honored if the feature flag is enabled. If both are custom, the DeletionPolicy field will be ignored. See the design doc for more information: https://github.com/crossplane/crossplane/blob/499895a25d1a1a0ba1604944ef98ac7a1a71f197/design/design-doc-observe-only-resources.md?plain=1#L223 and this one: https://github.com/crossplane/crossplane/blob/444267e84783136daa93568b364a5f01228cacbe/design/one-pager-ignore-changes.md
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
OceanRightsizingRuleStatus defines the observed state of OceanRightsizingRule.
No description provided.
No description provided.
No description provided.
List of workloads.
No description provided.
No description provided.
List of workloads.
HPA Rightsizing Rule Recommendation Configuration
Determines the Ocean Rightsizing rule recommendation application intervals.
Determines the Ocean Rightsizing rule monthly repetition basis.
Array of the months (in number), when we want to trigger the apply recommendations.
Valid values: "FIRST" "SECOND" "THIRD" "FOURTH" "LAST". Array of the weeks in the month, when we want to trigger the apply recommendations.
Determines the Ocean Rightsizing rule weekly repetition basis.
Valid values: "SUNDAY" "MONDAY" "TUESDAY" "WEDNESDAY" "THURSDAY" "FRIDAY" "SATURDAY". Array of the days of the week, when we want to trigger the apply recommendations.
Determines the Ocean Rightsizing rule weekly repetition basis.
Valid values: "SUNDAY" "MONDAY" "TUESDAY" "WEDNESDAY" "THURSDAY" "FRIDAY" "SATURDAY". Array of the days of the week, when we want to trigger the apply recommendations.
Determines the extent of difference between current request and recommendation to trigger a change in percentage.
Determines the Ocean Rightsizing rule recommendation application overhead values.
Conditions of the resource.
example
apiVersion: oceanrightsizingrule.spot.upbound.io/v1alpha1
kind: OceanRightsizingRule
metadata:
annotations:
meta.upbound.io/example-id: oceanrightsizingrule/v1alpha1/oceanrightsizingrule
labels:
testing.upbound.io/example-name: example
name: example
spec:
forProvider:
attachWorkloads:
- namespaces:
- namespaceName: kube-system
workloads:
- regexName: csi-*
workloadType: DaemonSet
- namespaceName: kube-system
workloads:
- workloadName: metrics-server
workloadType: Deployment
- namespaceName: kube-system
workloads:
- workloadName: konnectivity-agent
workloadType: Deployment
detachWorkloads:
- namespaces:
- namespaceName: kube-system
workloads:
- regexName: csi-*
workloadType: DaemonSet
- namespaceName: kube-system
workloads:
- workloadName: metrics-server
workloadType: Deployment
- namespaceName: kube-system
workloads:
- workloadName: konnectivity-agent
workloadType: Deployment
excludePreliminaryRecommendations: true
oceanId: o-123456
recommendationApplicationBoundaries:
- cpuMax: 190
cpuMin: 120
memoryMax: 190
memoryMin: 160
recommendationApplicationHpa:
- allowHpaRecommendations: false
recommendationApplicationIntervals:
- repetitionBasis: WEEKLY
weeklyRepetitionBasis:
- intervalDays:
- MONDAY
- WEDNESDAY
intervalHoursEndTime: 14:00
intervalHoursStartTime: 12:00
- monthlyRepetitionBasis:
- intervalMonths:
- 2
- 6
- 9
weekOfTheMonth:
- FIRST
- LAST
weeklyRepetitionBasis:
- intervalDays:
- MONDAY
intervalHoursEndTime: 04:00
intervalHoursStartTime: 03:00
repetitionBasis: MONTHLY
recommendationApplicationMinThreshold:
- cpuPercentage: 0.412
memoryPercentage: 0.36
recommendationApplicationOverheadValues:
- cpuPercentage: 0.7
memoryPercentage: 0.5
restartReplicas: ALL_MANIFEST
ruleName: test-rule
providerConfigRef:
name: default