autoscaling.internal.knative.dev / v1alpha1 / PodAutoscaler
- string
.apiVersion
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
- string
.kind
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
- object
.metadata
- object
.spec
Spec holds the desired state of the PodAutoscaler (from the client).
- integer
.spec .containerConcurrency
ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container of the Revision. Defaults to
0
which means unlimited concurrency. - string required
.spec .protocolType
The application-layer protocol. Matches
ProtocolType
inferred from the revision spec. - string
.spec .reachability
Reachability specifies whether or not the
ScaleTargetRef
can be reached (ie. has a route). Defaults toReachabilityUnknown
- object required
.spec .scaleTargetRef
ScaleTargetRef defines the /scale-able resource that this PodAutoscaler is responsible for quickly right-sizing.
- string
.spec .scaleTargetRef .apiVersion
API version of the referent.
- string
.spec .scaleTargetRef .kind
Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
- string
.spec .scaleTargetRef .name
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
- object
.status
Status communicates the observed state of the PodAutoscaler (from the controller).
- integer
.status .actualScale
ActualScale shows the actual number of replicas for the revision.
- object
.status .annotations
Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards.
- array
.status .conditions
Conditions the latest available observations of a resource’s current state.
- string
.status .conditions[] .lastTransitionTime
LastTransitionTime is the last time the condition transitioned from one status to another. We use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic differences (all other things held constant).
- string
.status .conditions[] .message
A human readable message indicating details about the transition.
- string
.status .conditions[] .reason
The reason for the condition’s last transition.
- string
.status .conditions[] .severity
Severity with which to treat failures of this type of condition. When this is not specified, it defaults to Error.
- string required
.status .conditions[] .status
Status of the condition, one of True, False, Unknown.
- string required
.status .conditions[] .type
Type of condition.
- integer
.status .desiredScale
DesiredScale shows the current desired number of replicas for the revision.
- string required
.status .metricsServiceName
MetricsServiceName is the K8s Service name that provides revision metrics. The service is managed by the PA object.
- integer
.status .observedGeneration
ObservedGeneration is the ‘Generation’ of the Service that was last processed by the controller.
- string required
.status .serviceName
ServiceName is the K8s Service name that serves the revision, scaled by this PA. The service is created and owned by the ServerlessService object owned by this PA.