conversion:
strategy: None
group: autoscaling.internal.knative.dev
names:
categories:
- knative-internal
- autoscaling
kind: Metric
listKind: MetricList
plural: metrics
singular: metric
scope: Namespaced
versions:
- additionalPrinterColumns:
- jsonPath: .status.conditions[?(@.type=='Ready')].status
name: Ready
type: string
- jsonPath: .status.conditions[?(@.type=='Ready')].reason
name: Reason
type: string
name: v1alpha1
schema:
openAPIV3Schema:
description: Metric represents a resource to configure the metric collector
with.
properties:
apiVersion:
description: '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'
type: string
kind:
description: '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'
type: string
metadata:
type: object
spec:
description: Spec holds the desired state of the Metric (from the client).
properties:
panicWindow:
description: PanicWindow is the aggregation window for metrics where
quick reactions are needed.
format: int64
type: integer
scrapeTarget:
description: ScrapeTarget is the K8s service that publishes the metric
endpoint.
type: string
stableWindow:
description: StableWindow is the aggregation window for metrics in a
stable state.
format: int64
type: integer
required:
- panicWindow
- scrapeTarget
- stableWindow
type: object
status:
description: Status communicates the observed state of the Metric (from
the controller).
properties:
annotations:
additionalProperties:
type: string
description: 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.
type: object
conditions:
description: Conditions the latest available observations of a resource's
current state.
items:
description: 'Condition defines a readiness condition for a Knative
resource. See: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#typical-status-properties'
properties:
lastTransitionTime:
description: 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).
format: date-time
type: string
message:
description: A human readable message indicating details about
the transition.
type: string
reason:
description: The reason for the condition's last transition.
type: string
severity:
description: Severity with which to treat failures of this type
of condition. When this is not specified, it defaults to Error.
type: string
status:
description: Status of the condition, one of True, False, Unknown.
type: string
type:
description: Type of condition.
type: string
required:
- status
- type
type: object
type: array
observedGeneration:
description: ObservedGeneration is the 'Generation' of the Service that
was last processed by the controller.
format: int64
type: integer
type: object
type: object
served: true
storage: true
subresources:
status: {}
metrics.autoscaling.internal.knative.dev
kubectl.kubernetes.io/last-applied-configuration: {"apiVersion":"apiextensions.k8s.io/v...
Spec
Status
acceptedNames:
categories:
- knative-internal
- autoscaling
kind: Metric
listKind: MetricList
plural: metrics
singular: metric
conditions:
- lastTransitionTime: '2021-08-30T18:59:45Z'
message: no conflicts found
reason: NoConflicts
status: 'True'
type: NamesAccepted
- lastTransitionTime: '2021-08-30T18:59:45Z'
message: the initial names have been accepted
reason: InitialNamesAccepted
status: 'True'
type: Established
storedVersions:
- v1alpha1
Events
| Type | Reason | Age | From | Message |
|---|---|---|---|---|
| No events found. | ||||