Package v1 contains API Schema definitions for the oldmonk v1 API group
(Appears on: QueueAutoScalerSpec)
ListOptions defines the desired state of Queue
| Field | Description |
|---|---|
uri
string
|
Uri (Don’t use it’s depricated). Use secrets |
region
string
|
Region is a optional parameter and used in case of SQS |
type
string
|
Type is a optional parameter and used in case of Rabbitmq(exchange type) |
queue
string
|
Queue is a optional parameter and used in case of Rabbitmq and nats |
exchange
string
|
Exchange is a optional parameter and used in case of Rabbitmq |
tube
string
|
Tube is a optional parameter and used in case of Beanstalk |
group
string
|
Group is a optional parameter and used in case of Kafka |
topic
string
|
Topic is a optional parameter and used in case of Kafka |
QueueAutoScaler is the Schema for the queueautoscalers API
| Field | Description | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
metadata
Kubernetes meta/v1.ObjectMeta
|
Refer to the Kubernetes API documentation for the fields of the
metadata field.
|
||||||||||||||||||||||||||||||
spec
QueueAutoScalerSpec
|
|
||||||||||||||||||||||||||||||
status
QueueAutoScalerStatus
|
(Appears on: QueueAutoScaler)
AutoScalerSpec defines the desired state of QueueAutoScaler
| Field | Description |
|---|---|
type
string
|
Type contains the user-specified Queue type Type can be RABITMQ/BEANSTALK/NATS/SQS |
option
ListOptions
|
Option contains Queue Details |
minPods
int32
|
MinPods for deployment |
maxPods
int32
|
MaxPods for deployment |
targetMessagesPerWorker
int32
|
targetMessagesPerWorker is the number used to find number of pod needed. It’s a optional parameter and used in case of policy TARGET |
scaleUp
ScaleSpec
|
ScaleUp contains scale up policy |
scaleDown
ScaleSpec
|
ScaleDown contains scale down policy |
policy
string
|
Policy contains name of policy possible value is THRESOLD/TARGET |
secrets
string
|
Secrets contains secret name. Pass secure connection uri using secrets |
deployment
string
|
Deployment contains deployment name which user want to scale |
appSpec
Kubernetes core/v1.Container
|
AppSpec contains deployment specification used same as deployment file (optional) |
labels
map[string]string
|
Labels contains key value pair for deployment (We are using these labels as selctor for selecting all pods) |
strategy
Kubernetes apps/v1.DeploymentStrategy
|
Strategy contains deployment strategy (optional) |
volume
[]Kubernetes core/v1.Volume
|
Volume cotains a list of volume (optional) |
autopilot
bool
|
Autopilot is a bool value. false means it only auto scale deployment and true means it will manage the entire life cycle of deployment |
(Appears on: QueueAutoScaler)
QueueAutoScalerStatus defines the observed state of QueueAutoScaler
| Field | Description |
|---|---|
nodes
[]string
|
Nodes are the names of the pods |
(Appears on: QueueAutoScalerSpec)
ScaleSpec defines the desired state of Autoscaler
| Field | Description |
|---|---|
threshold
int32
|
Threshold is the amount of messages in queue |
amount
int32
|
Amount is the number by which you want to scale |
Generated with gen-crd-api-reference-docs.