serving

module
Version: v0.25.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2021 License: Apache-2.0

README

Knative Serving

go.dev reference Go Report Card Releases LICENSE Slack Status codecov

Knative Serving builds on Kubernetes to support deploying and serving of applications and functions as serverless containers. Serving is easy to get started with and scales to support advanced scenarios.

The Knative Serving project provides middleware primitives that enable:

  • Rapid deployment of serverless containers
  • Automatic scaling up and down to zero
  • Routing and network programming
  • Point-in-time snapshots of deployed code and configurations

For documentation on using Knative Serving, see the serving section of the Knative documentation site.

For documentation on the Knative Serving specification, see the docs folder of this repository.

If you are interested in contributing, see CONTRIBUTING.md and DEVELOPMENT.md.

Directories

Path Synopsis
cmd
autoscaler
Multitenant autoscaler executable.
Multitenant autoscaler executable.
config
core
Package core is a placeholder that allows us to pull in config files via go mod vendor.
Package core is a placeholder that allows us to pull in config files via go mod vendor.
core/200-roles
Package roles is a placeholder that allows us to pull in config files via go mod vendor.
Package roles is a placeholder that allows us to pull in config files via go mod vendor.
core/300-resources
Package resources is a placeholder that allows us to pull in config files via go mod vendor.
Package resources is a placeholder that allows us to pull in config files via go mod vendor.
core/configmaps
Package configmaps is a placeholder that allows us to pull in config files via go mod vendor.
Package configmaps is a placeholder that allows us to pull in config files via go mod vendor.
core/deployments
Package deployments is a placeholder that allows us to pull in config files via go mod vendor.
Package deployments is a placeholder that allows us to pull in config files via go mod vendor.
core/webhooks
Package webhooks is a placeholder that allows us to pull in config files via go mod vendor.
Package webhooks is a placeholder that allows us to pull in config files via go mod vendor.
hpa-autoscaling
Package autoscaling is a placeholder that allows us to pull in config files via go mod vendor.
Package autoscaling is a placeholder that allows us to pull in config files via go mod vendor.
namespace-wildcard-certs
Package certs is a placeholder that allows us to pull in config files via go mod vendor.
Package certs is a placeholder that allows us to pull in config files via go mod vendor.
post-install
Package install is a placeholder that allows us to pull in config files via go mod vendor.
Package install is a placeholder that allows us to pull in config files via go mod vendor.
pkg
activator/net
Package net contains the Activator components that govern Activator's request throttling, routing, and reflect the cluster network state.
Package net contains the Activator components that govern Activator's request throttling, routing, and reflect the cluster network state.
apis
Package apis contains the knative serving and autoscaling apis.
Package apis contains the knative serving and autoscaling apis.
apis/autoscaling/v1alpha1
Package v1alpha1 contains the Autoscaling v1alpha1 API types.
Package v1alpha1 contains the Autoscaling v1alpha1 API types.
apis/config
Package config holds the typed objects that define the schemas for ConfigMap objects that pertain to our API objects.
Package config holds the typed objects that define the schemas for ConfigMap objects that pertain to our API objects.
apis/serving/v1
Package v1 contains the Serving v1 API types.
Package v1 contains the Serving v1 API types.
apis/serving/v1alpha1
Package v1alpha1 contains the v1alpha1 versions of the serving apis.
Package v1alpha1 contains the v1alpha1 versions of the serving apis.
apis/serving/v1beta1
Package v1beta1 contains the v1beta1 versions of the serving apis.
Package v1beta1 contains the v1beta1 versions of the serving apis.
autoscaler
Package autoscaler calculates the number of pods necessary for the desired level of concurrency per pod.
Package autoscaler calculates the number of pods necessary for the desired level of concurrency per pod.
autoscaler/aggregation/max
Package max contains functions for calculating the maximum value observed over a sliding window.
Package max contains functions for calculating the maximum value observed over a sliding window.
autoscaler/bucket
Package bucket provides helper functions for Autoscaler buckets.
Package bucket provides helper functions for Autoscaler buckets.
autoscaler/config
Package config contains the config for the autoscaler.
Package config contains the config for the autoscaler.
autoscaler/config/autoscalerconfig
Package autoscalerconfig contains the config struct for the autoscaler.
Package autoscalerconfig contains the config struct for the autoscaler.
autoscaler/statforwarder
Package statforwarder provides a forwarder which can be used to forward autoscaler statistics to the right Autoscaler pod if Autoscaler is set up with multiple pods and running in Leader Election mode.
Package statforwarder provides a forwarder which can be used to forward autoscaler statistics to the right Autoscaler pod if Autoscaler is set up with multiple pods and running in Leader Election mode.
autoscaler/statserver
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.
client/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
client/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client/clientset/versioned/typed/autoscaling/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/versioned/typed/autoscaling/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
client/clientset/versioned/typed/serving/v1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/versioned/typed/serving/v1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
client/clientset/versioned/typed/serving/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/versioned/typed/serving/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
client/clientset/versioned/typed/serving/v1beta1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/versioned/typed/serving/v1beta1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.
deployment
Package deployment manages the deployment config.
Package deployment manages the deployment config.
gc
Package gc manages garbage collection of old resources.
Package gc manages garbage collection of old resources.
queue
Package queue provides components for the queue-proxy binary.
Package queue provides components for the queue-proxy binary.
reconciler
Package reconciler defines implementations of the Reconciler interface defined at github.com/knative/pkg/controller.Reconciler.
Package reconciler defines implementations of the Reconciler interface defined at github.com/knative/pkg/controller.Reconciler.
reconciler/autoscaling/config
Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Autoscaling controller depends.
Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Autoscaling controller depends.
reconciler/autoscaling/kpa
Package kpa implements a kubernetes controller which tracks revisions and notifies a callback interface.
Package kpa implements a kubernetes controller which tracks revisions and notifies a callback interface.
reconciler/autoscaling/resources
Package resources contains methods for manipulating K8s resources shared between different PA implementations.
Package resources contains methods for manipulating K8s resources shared between different PA implementations.
reconciler/autoscaling/resources/names
Package names contains methods for manipulating K8s resources' names shared between different PA implementations.
Package names contains methods for manipulating K8s resources' names shared between different PA implementations.
reconciler/configuration/config
Package config holds the typed objects that define the schemas for ConfigMap objects that pertain to our API objects.
Package config holds the typed objects that define the schemas for ConfigMap objects that pertain to our API objects.
reconciler/configuration/resources
Package resources holds simple functions for synthesizing child resources from a Configuration resource and any relevant Configuration controller configuration.
Package resources holds simple functions for synthesizing child resources from a Configuration resource and any relevant Configuration controller configuration.
reconciler/domainmapping/config
Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the DomainMapping controller depends.
Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the DomainMapping controller depends.
reconciler/gc/config
Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Garbage Collection controller depends.
Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Garbage Collection controller depends.
reconciler/labeler
Package labeler holds the logic that applies Route labels to Configurations to implement knative/serving#226.
Package labeler holds the logic that applies Route labels to Configurations to implement knative/serving#226.
reconciler/revision/config
Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Revision controller depends.
Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Revision controller depends.
reconciler/revision/resources
Package resources holds simple functions for synthesizing child resources from a Revision resource and any relevant Revision controller configuration.
Package resources holds simple functions for synthesizing child resources from a Revision resource and any relevant Revision controller configuration.
reconciler/revision/resources/names
Package names holds simple functions for synthesizing resource names.
Package names holds simple functions for synthesizing resource names.
reconciler/route
Package route implements a kubernetes controller which tracks Route resource and reconcile Ingress as its child resource.
Package route implements a kubernetes controller which tracks Route resource and reconcile Ingress as its child resource.
reconciler/route/config
Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Route controller depends.
Package config holds the typed objects that define the schemas for assorted ConfigMap objects on which the Route controller depends.
reconciler/route/domains
Package domains holds simple functions for generating domains.
Package domains holds simple functions for generating domains.
reconciler/route/resources
Package resources holds simple functions for synthesizing child resources from a Route resource and any relevant Route controller configuration.
Package resources holds simple functions for synthesizing child resources from a Route resource and any relevant Route controller configuration.
reconciler/route/resources/labels
Package labels holds simple functions for working with ObjectMeta labels.
Package labels holds simple functions for working with ObjectMeta labels.
reconciler/route/resources/names
Package names holds simple functions for synthesizing resource names.
Package names holds simple functions for synthesizing resource names.
reconciler/service/resources
Package resources holds simple functions for synthesizing child resources from a Service resource and any relevant Service controller configuration.
Package resources holds simple functions for synthesizing child resources from a Service resource and any relevant Service controller configuration.
reconciler/service/resources/names
Package names holds simple functions for synthesizing resource names.
Package names holds simple functions for synthesizing resource names.
resources
Package resources contains various utilities for dealing with Kubernetes resources.
Package resources contains various utilities for dealing with Kubernetes resources.
conformance/api/shared
Package shared contains functions and types that can be used across various versions of conformance tests, e.g.
Package shared contains functions and types that can be used across various versions of conformance tests, e.g.
e2e
ha
test_images/singlethreaded
The singlethreaded program
The singlethreaded program
v1

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL