AIScaleTarget
Custom Resource (CRD) in your Kubernetes cluster.
This guide will walk you through doing this by applying an AIScaleTarget
resource with kubectl
.
AIScaleTarget
s using the dashboardAIScaleTarget
s in the cluster. This enables metric collection
and resource recommendations for the selected workloads (see
quickstart guide).
Eventually you will probably want to integrate your AIScaleTarget
configurations into your delivery pipelines, but the auto-populate feature is a
particularly useful way to try out the product without having to manage any
configuration.
AIScaleTarget
Custom Resourcemy-ast.yaml
metadata.name
: The name for your AIScaleTarget
resource (should match your
workload name for clarity).metadata.namespace
: The namespace where your workload is running.spec.scaleTargetRef
: Points to the Kubernetes resource (usually a
Deployment) you want to scale.spec.model.forecast_blocks
: How far into the future to forecastspec.model.forecast_cron
: How often to make a forecast.AIScaleTarget
Using the CLIkubectl apply
to register the AIScaleTarget
with your cluster:
AIScaleTarget
AIScaleTarget
was created:
AIScaleTarget
can be exported to a YAML for version control
or editing with: