A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://pkg.go.dev/github.com/knative/serving@v0.14.3/pkg/autoscaler below:

autoscaler package - github.com/knative/serving/pkg/autoscaler - Go Packages

  1. Discover Packages
  2. github.com/knative/serving
  3. pkg
  4. autoscaler
package Version: v0.14.3

Opens a new window with list of versions in this module.

Published: Aug 17, 2020 License: Apache-2.0

Opens a new window with license information.

Imports: 0

Opens a new window with list of imports.

Imported by: 0

Opens a new window with list of known importers.

README

Scaling documentation has moved to the docs folder.

Documentation

Package autoscaler calculates the number of pods necessary for the desired level of concurrency per pod (stableConcurrencyPerPod). It operates in two modes, stable mode and panic mode.

Stable mode calculates the average concurrency observed over the last 60 seconds and adjusts the observed pod count to achieve the target value. Current observed pod count is the number of unique pod names which show up in the last 60 seconds.

Panic mode calculates the average concurrency observed over the last 6 seconds and adjusts the observed pod count to achieve the stable target value. Panic mode is engaged when the observed 6 second average concurrency reaches 2x the target stable concurrency. Panic mode will last at least 60 seconds--longer if the 2x threshold is repeatedly breached. During panic mode the number of pods is never decreased in order to prevent flapping.

Package autoscaler supports both single-tenant (one autoscaler per revision) and multitenant (one autoscaler for all revisions) autoscalers; config/controller.yaml determines which kind of autoscaler is used.

Source Files Directories

Package config contains the config for the autoscaler

Package config contains the config for the autoscaler

Package statserver provides a WebSocket server which receives autoscaler statistics, typically from queue proxy sidecar containers, and sends them to a channel.

Package statserver provides a WebSocket server which receives autoscaler statistics, typically from queue proxy sidecar containers, and sends them to a channel.

Click to show internal directories.

Click to hide internal directories.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4