docs/serving
Matt Moore 21f8ba899a Fix up the GRPC sample in preparation for 0.4 (#903) 2019-02-19 07:15:48 -08:00
..
fluentd Format markdown (#626) 2018-12-04 14:34:25 -08:00
images Document installation and usage of logging, monitoring and tracing components (#92) 2018-07-10 12:39:19 -07:00
samples Fix up the GRPC sample in preparation for 0.4 (#903) 2019-02-19 07:15:48 -08:00
README.md Instruction to make a Route/KService visible only inside cluster. (#694) 2019-01-16 10:34:31 -08:00
accessing-logs.md Collapse documents from Knative Serving to docs repo (#803) 2019-01-30 10:31:38 -08:00
accessing-metrics.md Format markdown (#913) 2019-02-19 06:50:47 -08:00
accessing-traces.md Format markdown (#626) 2018-12-04 14:34:25 -08:00
cluster-local-route.md Format markdown (#894) 2019-02-14 06:50:44 -08:00
debugging-application-issues.md Collapse documents from Knative Serving to docs repo (#803) 2019-01-30 10:31:38 -08:00
debugging-performance-issues.md Format markdown (#626) 2018-12-04 14:34:25 -08:00
gke-assigning-static-ip-address.md Format markdown (#913) 2019-02-19 06:50:47 -08:00
installing-logging-metrics-traces.md Format markdown (#884) 2019-02-08 06:53:41 -08:00
outbound-network-access.md use consistent env variables from install section (#759) 2019-01-14 11:54:31 -08:00
setting-up-a-logging-plugin.md update setting-up-a-logging-plugin.md (#688) 2019-01-23 10:16:35 -08:00
setting-up-custom-ingress-gateway.md Format markdown (#913) 2019-02-19 06:50:47 -08:00
using-a-custom-domain.md Update docs to use correct ingress gateway service. (#700) 2019-01-16 08:42:31 -08:00
using-an-ssl-cert.md Update SSL and IP address docs to work with istio-ingressgateway. (#776) 2019-01-16 14:11:31 -08:00
using-cert-manager-on-gcp.md Update SSL and IP address docs to work with istio-ingressgateway. (#776) 2019-01-16 14:11:31 -08:00
using-external-dns-on-gcp.md Update docs to use correct ingress gateway service. (#700) 2019-01-16 08:42:31 -08:00

README.md

Knative Serving

Knative Serving builds on Kubernetes and Istio to support deploying and serving of serverless applications and functions. 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 for Istio components
  • Point-in-time snapshots of deployed code and configurations

Serving resources

Knative Serving defines a set of objects as Kubernetes Custom Resource Definitions (CRDs). These objects are used to define and control how your serverless workload behaves on the cluster:

  • Service: The service.serving.knative.dev resource automatically manages the whole lifecycle of your workload. It controls the creation of other objects to ensure that your app has a route, a configuration, and a new revision for each update of the service. Service can be defined to always route traffic to the latest revision or to a pinned revision.
  • Route: The route.serving.knative.dev resource maps a network endpoint to a one or more revisions. You can manage the traffic in several ways, including fractional traffic and named routes.
  • Configuration: The configuration.serving.knative.dev resource maintains the desired state for your deployment. It provides a clean separation between code and configuration and follows the Twelve-Factor App methodology. Modifying a configuration creates a new revision.
  • Revision: The revision.serving.knative.dev resource is a point-in-time snapshot of the code and configuration for each modification made to the workload. Revisions are immutable objects and can be retained for as long as useful.

Diagram that displays how the Serving resources coordinate with each other.

Getting Started

To get started with Serving, check out one of the hello world sample projects. These projects use the Service resource, which manages all of the details for you.

With the Service resource, a deployed service will automatically have a matching route and configuration created. Each time the Service is updated, a new revision is created.

For more information on the resources and their interactions, see the Resource Types Overview in the Knative Serving repository.

More samples and demos

Setting up Logging and Metrics

Debugging Knative Serving issues

Configuration and Networking

Known Issues

See the Knative Serving Issues page for a full list of known issues.


Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License.