HTTPScaledObject
http.keda.sh / v1alpha1
apiVersion: http.keda.sh/v1alpha1
kind: HTTPScaledObject
metadata:
name: example
apiVersion
string
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
kind
string
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata
object
spec object
HTTPScaledObjectSpec defines the desired state of HTTPScaledObject
hosts
[]string
The hosts to route. All requests which the "Host" header matches any .spec.hosts and the Request Target matches any .spec.pathPrefixes will be routed to the Service and Port specified in the scaleTargetRef. The .spec.hosts field is mutually exclusive with the .spec.host field.
pathPrefixes
[]string
(optional) The paths to route. All requests which the Request Target matches any .spec.pathPrefixes and the "Host" header matches any .spec.hosts will be routed to the Service and Port specified in the scaleTargetRef. The .spec.hosts field is mutually exclusive with the .spec.host field. When this field is null, any path is matched.
replicas object
(optional) Replica information
max
integer
Maximum amount of replicas to have in the deployment (Default 100)
format:
int32
min
integer
Minimum amount of replicas to have in the deployment (Default 0)
format:
int32scaleTargetRef object required
The name of the deployment to route HTTP requests to (and to autoscale).
apiVersion
string
deployment
string
Deprecated: The name of the deployment to scale according to HTTP traffic
kind
string
name
string
port
integer required
The port to route to
format:
int32
service
string required
The name of the service to route to
scaledownPeriod
integer
(optional) Cooldown period value
format:
int32
targetPendingRequests
integer
(optional) Target metric value
format:
int32status object
HTTPScaledObjectStatus defines the observed state of HTTPScaledObject
conditions []object
Conditions of the operator
message
string
Message indicating details about the transition.
reason
string
Reason for the condition's last transition.
enum:
ErrorCreatingAppScaledObject, AppScaledObjectCreated, TerminatingResources, AppScaledObjectTerminated, AppScaledObjectTerminationError, PendingCreation, HTTPScaledObjectIsReady
status
string required
Status of the condition, one of True, False, Unknown.
timestamp
string
Timestamp of the condition
type
string required
Type of condition
enum:
Created, Terminated, Error, Pending, Terminating, Unknown, Ready
targetService
string
TargetService reflects details about the scaled service.
targetWorkload
string
TargetWorkload reflects details about the scaled workload.
No matches. Try .spec.hosts for an exact path