Creates a scaling policy that can be assigned to workloads at a later time.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
string
required
recommendationPolicies
object
required
string
enum
required
Defaults to UNKNOWN
Allowed:
assignmentRules
array of objects

AssignmentRules defines the ordered list of matching rules.
The first matching rule is selected and assigned to workload.
If none are matching then the default cluster policy is assigned.

assignmentRules
hpaSettings
object
boolean

Indicates that this scaling policy was created by OpsPilot and can be updated by it in subsequent runs.

Response

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json