InterceptorRoute
http.keda.sh / v1beta1
apiVersion: http.keda.sh/v1beta1
kind: InterceptorRoute
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 required
spec object required
InterceptorRouteSpec defines the desired state of InterceptorRoute.
coldStart object
Cold start behavior when scaling from zero.
fallback object required
Fallback target to route to when the primary backend does not become
ready within the readiness timeout.
service object required
Kubernetes Service to use as the fallback target.
name
string required
Name of the Kubernetes Service.
minLength:
1
port
integer
Port number on the Service. Mutually exclusive with portName.
format:
int32minimum:
1maximum:
65535
portName
string
Named port on the Service. Mutually exclusive with port.
minLength:
1rules []object
Routing rules that define how requests are matched to this target.
headers []object
All listed headers must match the request (AND semantics).
If a header's Value is omitted, the header must be present but any
value is accepted.
name
string required
Name of the HTTP header.
minLength:
1
value
string
Value to match against (exact match). If omitted, matches any value for given header name.
hosts
[]string
Match any of these hostnames. Wildcard patterns (e.g. "*.example.com")
are supported. A single "*" acts as a catch-all. Exact matches take
priority over wildcards; more specific wildcards (e.g. "*.bar.example.com")
take priority over less specific ones.
paths []object
Match any of these path prefixes. When multiple paths match,
the longest prefix wins.
value
string required
Path prefix to match against. The longest matching prefix wins.
minLength:
1scalingMetric object required
Metric configuration for autoscaling.
concurrency object
Scale based on concurrent request count.
targetValue
integer required
Target concurrent request count per replica.
format:
int32minimum:
1requestRate object
Scale based on request rate.
granularity
string
Bucket size for rate calculation within the window.
targetValue
integer required
Target request rate per replica.
format:
int32minimum:
1
window
string
Sliding time window over which the request rate is calculated.
target object required
Backend service to route traffic to.
port
integer
Port number on the Service. Mutually exclusive with portName.
format:
int32minimum:
1maximum:
65535
portName
string
Named port on the Service. Mutually exclusive with port.
minLength:
1
service
string required
Name of the Kubernetes Service.
minLength:
1timeouts object
Timeout configuration for request handling.
readiness
string
Time to wait for the backend to become ready (e.g. scale-from-zero).
Unset: uses the global KEDA_HTTP_READINESS_TIMEOUT (default: disabled).
Set to "0s" to disable the dedicated readiness deadline so the full
request budget is available for cold starts. When a fallback service
is configured and this is "0s", a 30s default is applied.
request
string
Total time allowed for the entire request lifecycle.
Unset: uses the global KEDA_HTTP_REQUEST_TIMEOUT (default: disabled).
Set to "0s" to disable the request deadline.
responseHeader
string
Max time to wait for the response headers from the backend after the
request has been fully sent. Does not include cold-start wait time.
Unset: uses the global KEDA_HTTP_RESPONSE_HEADER_TIMEOUT (default: 300s).
Set to "0s" to disable the response header deadline.
status object
InterceptorRouteStatus defines the observed state of InterceptorRoute.
conditions []object
Conditions of the InterceptorRoute.
lastTransitionTime
string required
lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
format:
date-time
message
string required
message is a human readable message indicating details about the transition.
This may be an empty string.
maxLength:
32768
observedGeneration
integer
observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance.
format:
int64minimum:
0
reason
string required
reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty.
pattern:
^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$minLength:
1maxLength:
1024
status
string required
status of the condition, one of True, False, Unknown.
enum:
True, False, Unknown
type
string required
type of condition in CamelCase or in foo.example.com/CamelCase.
pattern:
^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$maxLength:
316No matches. Try .spec.coldStart for an exact path