autoscaling.internal.knative.dev / v1alpha1 / Metric
- 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 Metric (from the client).
- integer required
.spec .panicWindow
PanicWindow is the aggregation window for metrics where quick reactions are needed.
- string required
.spec .scrapeTarget
ScrapeTarget is the K8s service that publishes the metric endpoint.
- integer required
.spec .stableWindow
StableWindow is the aggregation window for metrics in a stable state.
- object
.status
Status communicates the observed state of the Metric (from the controller).
- 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 .observedGeneration
ObservedGeneration is the ‘Generation’ of the Service that was last processed by the controller.