Documentation ¶
Index ¶
Constants ¶
View Source
const ( GroupName = "autoscaling.knative.dev" // MinScaleAnnotationKey is the annotation to specify the minimum number of Pods // the PodAutoscaler should provision. For example, // autoscaling.knative.dev/minScale: "1" MinScaleAnnotationKey = GroupName + "/minScale" // MaxScaleAnnotationKey is the annotation to specify the maximum number of Pods // the PodAutoscaler should provision. For example, // autoscaling.knative.dev/maxScale: "10" MaxScaleAnnotationKey = GroupName + "/maxScale" ConfigurationKey = "serving.knative.dev/configuration" ServiceKey = "serving.knative.dev/service" RevisionKey = "serving.knative.dev/revision" ScrapeKey = "metric-scrape" ReferingLabel = "autoscaling.knative.dev/class" ContainerPortKey = "container-port" AppKey = "app" VersionKey = "version" )
Variables ¶
This section is empty.
Functions ¶
func AutoscaleEnabled ¶ added in v0.2.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.