sedai.resource_types
This file contains the resource types that are used in the SEDAI SDK.
class
KubernetesAppResource:
A Kubernetes application resource
It typically represents a Kubernetes application running in a namespace. Contains the following fields: account_id - The Sedai account id resource_id - The resource id resource_name - The resource name settings - The resource settings
For Kubernetes resources. The settings object contains the following fields:
- availability - The availability settings
- availability.configMode - The availability configuration mode. Possible values are:
AUTO
- Availability is automatically determined by SedaiMANUAL
- Availability is manually configured by the userOFF
- Availability is turned off for the resource
- slo - The SLO settings
- slo.configMode - The SLO configuration mode. Possible values are:
AUTO
- SLO is automatically determined by SedaiMANUAL
- SLO is manually configured by the userOFF
- SLO is turned off for the resource
- releaseIntelligence - The release intelligence settings
- releaseIntelligence.configMode - The release intelligence configuration mode. Possible values are:
AUTO
- Release intelligence is automatically determined by SedaiMANUAL
- Release intelligence is manually configured by the userOFF
- Release intelligence is turned off for the resource
- optimization - The optimization settings
- optimization.optimizationConfig - The optimization configuration
- optimization.optimizationConfig.configMode - The optimization configuration mode. Possible values are:
AUTO
- Optimization is automatically determined by SedaiMANUAL
- Optimization is manually configured by the userOFF
- Optimization is turned off for the resource
- optimization.optimizationFocus - The optimization focus
- optimization.optimizationFocus.focus - The optimization focus. Possible values are:
COST
- Optimize for costDURATION
- Optimize for durationCOST_AND_DURATION
- Optimize for cost and duration
- optimization.optimizationFocus.maxMemoryIncreasePct - The maximum memory increase percentage
- optimization.optimizationFocus.maxCPUIncreasePct - The maximum CPU increase percentage
- optimization.optimizationFocus.maxLatencyIncreasePct - The maximum latency increase percentage
- enableVerticalScaling - The vertical scaling settings
- enableVerticalScaling.status - The vertical scaling status. Possible values are:
True
- Vertical scaling is enabledFalse
- Vertical scaling is disabled
- enableHorizontalScaling - The horizontal scaling settings
- enableHorizontalScaling.horizontalScalingConfig - The horizontal scaling configuration
- enableHorizontalScaling.horizontalScalingConfig.status - The horizontal scaling status. Possible values are:
True
- Horizontal scaling is enabledFalse
- Horizontal scaling is disabled
- enableHorizontalScaling.minReplicas - The minimum number of replicas
- enableHorizontalScaling.maxReplicas - The maximum number of replicas
- enableHorizontalScaling.replicaMultiplier - The replica multiplier
- enableHorizontalScaling.horizontalScalingConfigMode - The horizontal scaling configuration mode. Possible values are:
True
- Horizontal scaling is automatically determined by SedaiFalse
- Horizontal scaling is manually configured by the user
- enablePredictiveScaling - The predictive scaling settings
- enablePredictiveScaling.status - The predictive scaling status. Possible values are:
True
- Predictive scaling is enabledFalse
- Predictive scaling is disabled
- autonomousActionWithoutTraffic - The autonomous action without traffic settings
- autonomousActionWithoutTraffic.status - The autonomous action without traffic status. Possible values are:
True
- Autonomous action without traffic is enabledFalse
- Autonomous action without traffic is disabled
- isProd - The production status settings
- isProd.status - The production status. Possible values are:
True
- The resource is in productionFalse
- The resource is not in production