Skip to content

Add production ready CRD spec #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove scaling target ref support temporarily
  • Loading branch information
gautamp8 committed Apr 2, 2021
commit c3cbf1783f616c203b4a676e4451e98956df3ecf
33 changes: 0 additions & 33 deletions deploy/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3236,39 +3236,6 @@ spec:
format: int32
type: integer
type: object
scaleTargetRef:
description: "auto scaling targets"
type: array
items:
type: object
properties:
kind:
description: "target of which kind (e.g worker, flower)"
type: string
minReplicas:
description: "minimum number of replicas to keep"
type: integer
maxReplicas:
description: "maximum number of replicas to keep"
type: integer
metrics:
description: "specify metrics to scale/downscale the number of workers"
type: array
items:
type: object
properties:
name:
description: "name of metric. (e.g. message_queue)"
type: string
target:
type: object
properties:
type:
description: "target metric type. (e.g. length)"
type: string
averageValue:
description: "average metric value to maintain"
type: integer
status:
type: object
x-kubernetes-preserve-unknown-fields: true
Expand Down