docs/docs/serving
RichieEscarez 0551f81dae fix broken links (#1666)
* fix broken links

* set to branch release

* fix image URLs too
2019-08-08 13:10:58 -07:00
..
images site: insert 'docs' container folder at root (for knative.dev) (#1007) 2019-03-15 17:04:45 -07:00
samples fix broken links (#1666) 2019-08-08 13:10:58 -07:00
spec Format markdown (#1647) 2019-08-05 07:15:55 -07:00
stackdriver Merge website files into Master (#1025) 2019-03-20 13:48:47 -07:00
README.md remove knative build from everywhere (#1656) 2019-08-08 08:42:56 -07:00
_index.md revert to README.md to prevent index/_index conflict (#1637) 2019-08-01 18:54:45 -07:00
accessing-logs.md remove knative build from everywhere (#1656) 2019-08-08 08:42:56 -07:00
accessing-metrics.md fix broken links (#1666) 2019-08-08 13:10:58 -07:00
accessing-traces.md remove knative build from everywhere (#1656) 2019-08-08 08:42:56 -07:00
cluster-local-route.md Format markdown (#1621) 2019-07-28 11:00:04 -07:00
configuring-the-autoscaler.md Format markdown (#1531) 2019-06-26 07:36:07 -07:00
debugging-application-issues.md remove knative build from everywhere (#1656) 2019-08-08 08:42:56 -07:00
debugging-performance-issues.md fix broken links (#1666) 2019-08-08 13:10:58 -07:00
deploying-with-private-registry.md Migrate serving samples away from features disabled in 0.7. (#1439) 2019-06-10 16:12:42 -07:00
fluentd-requirements.md Format markdown (#1647) 2019-08-05 07:15:55 -07:00
getting-started-knative-app.md remove knative build from everywhere (#1656) 2019-08-08 08:42:56 -07:00
gke-assigning-static-ip-address.md remove knative build from everywhere (#1656) 2019-08-08 08:42:56 -07:00
installing-cert-manager.md Format markdown (#1364) 2019-05-22 07:23:30 -07:00
installing-logging-metrics-traces.md remove knative build from everywhere (#1656) 2019-08-08 08:42:56 -07:00
knative-kubernetes-services.md Format markdown (#1567) 2019-07-01 09:50:20 -07:00
outbound-network-access.md remove knative build from everywhere (#1656) 2019-08-08 08:42:56 -07:00
setting-up-a-logging-plugin.md remove knative build from everywhere (#1656) 2019-08-08 08:42:56 -07:00
setting-up-custom-ingress-gateway.md Format markdown (#1070) 2019-03-24 21:12:49 -07:00
tag-resolution.md Format markdown (#1414) 2019-06-04 09:45:38 -07:00
using-a-custom-domain.md remove knative build from everywhere (#1656) 2019-08-08 08:42:56 -07:00
using-a-tls-cert.md remove knative build from everywhere (#1656) 2019-08-08 08:42:56 -07:00
using-auto-tls.md Format markdown (#1424) 2019-06-06 09:19:41 -07:00
using-cert-manager-on-gcp.md Update documentation for httpsRedirect to include the redirect in the http section and not the https section. (#1463) 2019-06-25 12:02:05 -07:00
using-external-dns-on-gcp.md Format markdown (#1070) 2019-03-24 21:12:49 -07:00

README.md

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 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. Knative Serving Revisions can be automatically scaled up and down according to incoming traffic. See Configuring the Autoscaler for more information.

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

Private Container Registry

Known Issues

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