Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions config/redirects.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ plugins:
versioned/eventing/broker/rabbitmq-broker/README.md: versioned/eventing/brokers/broker-types/rabbitmq-broker/README.md
versioned/eventing/broker/README.md: versioned/eventing/brokers/README.md
versioned/concepts/resources/revisions.md: versioned/serving/revisions/README.md
versioned/serving/revision-gc.md: versioned/serving/revisions/revision-developer-config-options.md
versioned/serving/revision-gc.md: versioned/serving/revisions/README.md#disabling-garbage-collection-for-a-revision
versioned/serving/configuration/revision-gc.md: versioned/serving/revisions/revision-admin-config-options.md
versioned/reference/concepts/duck-typing.md: versioned/eventing/concepts/duck-typing.md
versioned/reference/client/README.md: versioned/client/README.md
Expand Down Expand Up @@ -181,7 +181,7 @@ plugins:
versioned/operator/configuring-serving-cr/index.md: versioned/install/operator/configuring-serving-cr.md
versioned/reference/resources/index.md: versioned/client/README.md
versioned/serving/autoscaling/autoscaling-concepts.md: versioned/serving/autoscaling/autoscaler-types.md
versioned/serving/autoscaling/target-burst-capacity/index.md: versioned/serving/load-balancing/target-burst-capacity.md
versioned/serving/autoscaling/target-burst-capacity/index.md: versioned/serving/load-balancing/README.md#setting-the-target-burst-capacity
versioned/serving/configuring-autoscaling/index.md: versioned/serving/autoscaling/README.md
versioned/serving/creating-domain-mappings.md: versioned/serving/services/custom-domains.md
versioned/serving/debugging-application-issues.md: versioned/serving/troubleshooting/debugging-application-issues.md
Expand Down Expand Up @@ -240,3 +240,11 @@ plugins:
versioned/getting-started/clean-up.md: versioned/getting-started/next-steps.md#clean-up
versioned/bookstore/disclaimer/README.md: versioned/bookstore/disclaimer/disclaimer.md
versioned/bookstore/extra-challenge/README.md: versioned/bookstore/extra-challenge/extra-challenges.md
versioned/functions/install-func.md: versioned/functions/running-functions.md
versioned/functions/creating-functions.md: versioned/functions/running-functions.md
versioned/functions/invoking-functions.md: versioned/functions/running-functions.md
versioned/functions/kafka-functions.md: versioned/functions/subscribing-functions.md
versioned/serving/load-balancing/target-burst-capacity.md: versioned/serving/load-balancing/README.md
versioned/serving/load-balancing/activator-capacity.md: versioned/serving/load-balancing/README.md
versioned/serving/revisions/revision-developer-config-options.md: versioned/serving/revisions/README.md
versioned/serving/app-security/secure-pod-defaults.md: versioned/serving/configuration/secure-pod-defaults.md
8 changes: 4 additions & 4 deletions docs/snippets/route-status-updates.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ spec:
revisionName: config-00005 # Pinned to a specific Revision.
```

Initially 1% of the traffic is rolled out to the Revisions:
Initially 1% of the traffic is rolled out to the new Revision in `status.traffic`:

```yaml
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
...
spec:
status:
...
traffic:
- percent: 54
Expand All @@ -43,7 +43,7 @@ apiVersion: serving.knative.dev/v1
kind: Service
metadata:
...
spec:
status:
...
traffic:
- percent: 36
Expand All @@ -61,7 +61,7 @@ apiVersion: serving.knative.dev/v1
kind: Service
metadata:
...
spec:
status:
...
traffic:
- percent: 55
Expand Down
95 changes: 41 additions & 54 deletions docs/versioned/.nav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,67 +28,53 @@ nav:
###############################################################################
- Functions:
- Overview: functions/README.md
- Install: functions/install-func.md
- Create: functions/creating-functions.md
- Build: functions/building-functions.md
- Run locally: functions/running-functions.md
- Deploy: functions/deploying-functions.md
- Invoke: functions/invoking-functions.md
- Subscribe to events: functions/subscribing-functions.md
- Kafka: functions/kafka-functions.md
- Language packs: functions/language-packs.md
- Develop locally: functions/running-functions.md
- Build an image: functions/building-functions.md
- Deploy a function: functions/deploying-functions.md
- Connect events: functions/subscribing-functions.md
- Templates and runtimes: functions/language-packs.md
###############################################################################
# Serving
###############################################################################
- Serving:
- Knative Serving:
- Overview: serving/README.md
- Architecture: serving/architecture.md
- Request Flow: serving/request-flow.md
- Converting a Kubernetes Deployment to a Knative Service: serving/convert-deployment-to-knative-service.md
- Overview: serving/README.md
- Architecture: serving/architecture.md
- Request flow: serving/request-flow.md
- Deploy and configure:
- Services overview: serving/services/README.md
- Create a Service: serving/services/creating-services.md
- Convert a Deployment: serving/convert-deployment-to-knative-service.md
- Private registries: serving/deploying-from-private-registry.md
- Resource requests and limits: serving/services/configure-requests-limits-services.md
- Health probes: serving/services/configure-probing.md
- Volumes: serving/services/storage.md
- Dry run: serving/dryrun.md
- Networking:
- Private Services: serving/services/private-services.md
- Ingress class: serving/services/ingress-class.md
- Certificate class: serving/services/certificate-class.md
- Custom domains: serving/services/custom-domains.md
- Custom TLS certificates: serving/services/custom-tls-certificate-domain-mapping.md
- HTTP protocols: serving/services/http-protocol.md
- Revisions and traffic:
- Revisions: serving/revisions/README.md
- Traffic splitting and tags: serving/traffic-management.md
- Gradual rollouts: serving/rolling-out-latest-revision.md
- Autoscaling:
- About autoscaling: serving/autoscaling/README.md
- Supported autoscaler types: serving/autoscaling/autoscaler-types.md
- Configuring metrics: serving/autoscaling/autoscaling-metrics.md
- Configuring targets: serving/autoscaling/autoscaling-targets.md
- Configuring scale to zero: serving/autoscaling/scale-to-zero.md
- Configuring concurrency: serving/autoscaling/concurrency.md
- Configuring the requests per second (RPS) target: serving/autoscaling/rps-target.md
- Configuring scale bounds: serving/autoscaling/scale-bounds.md
- Additional autoscaling configuration for Knative Pod Autoscaler: serving/autoscaling/kpa-specific.md
- Autoscale Sample App - Go: serving/autoscaling/autoscale-go/README.md
# Serving - developer docs
- Developer Tasks:
- Services:
- Knative Services: serving/services/README.md
- Creating a Service: serving/services/creating-services.md
- Configuring private Services: serving/services/private-services.md
- Configuring ingress class: serving/services/ingress-class.md
- Configuring certificate class: serving/services/certificate-class.md
- Configuring custom domains: serving/services/custom-domains.md
- Using a custom TLS certificate for DomainMapping: serving/services/custom-tls-certificate-domain-mapping.md
# TODO: Add security section to docs?
- Configure resource requests and limits: serving/services/configure-requests-limits-services.md
- Configuring probes: serving/services/configure-probing.md
- Configuring HTTP: serving/services/http-protocol.md
- Performing Dry Run: serving/dryrun.md
- Volume Support: serving/services/storage.md
- Revisions:
- About Revisions: serving/revisions/README.md
- Garbage Collection: serving/revisions/revision-developer-config-options.md
- Traffic management: serving/traffic-management.md
- Configuring gradual rollout of traffic to Revisions: serving/rolling-out-latest-revision.md
- Tag resolution: serving/tag-resolution.md
- Deploying from private registries: serving/deploying-from-private-registry.md
- Load balancing:
- About load balancing: serving/load-balancing/README.md
- Configuring target burst capacity: serving/load-balancing/target-burst-capacity.md
- Configuring Activator capacity: serving/load-balancing/activator-capacity.md
- Secure Pod Defaults: serving/app-security/secure-pod-defaults.md
# Serving - observability
- Overview: serving/autoscaling/README.md
- Autoscaler types: serving/autoscaling/autoscaler-types.md
- Metrics: serving/autoscaling/autoscaling-metrics.md
- Targets: serving/autoscaling/autoscaling-targets.md
- Concurrency: serving/autoscaling/concurrency.md
- Requests per second (RPS): serving/autoscaling/rps-target.md
- Scale bounds: serving/autoscaling/scale-bounds.md
- Scale to zero: serving/autoscaling/scale-to-zero.md
- KPA settings: serving/autoscaling/kpa-specific.md
- Request buffering: serving/load-balancing/README.md
- Autoscale sample app: serving/autoscaling/autoscale-go/README.md
- Observability:
- Collecting metrics: serving/observability/metrics/collecting-metrics.md
- Metrics Reference: serving/observability/metrics/serving-metrics.md
- Metrics reference: serving/observability/metrics/serving-metrics.md
- Troubleshooting: serving/troubleshooting/debugging-application-issues.md
- Serving API: serving/reference/serving-api.md
- Code samples: samples/serving.md
Expand Down Expand Up @@ -249,6 +235,7 @@ nav:
- Config Revision Garbage Collection: serving/revisions/revision-admin-config-options.md
- Configure the Defaults ConfigMap: serving/configuration/config-defaults.md
- Secure Pod Defaults: serving/configuration/secure-pod-defaults.md
- Registry trust and tag resolution: serving/tag-resolution.md
- Serving encryption configuration:
- Overview: serving/encryption/encryption-overview.md
- Configure cert-manager integration: serving/encryption/configure-certmanager-integration.md
Expand Down
2 changes: 1 addition & 1 deletion docs/versioned/client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The `func` CLI enables you to create, build, and deploy Knative Functions withou

### Additional resources

- See [Installing Knative Functions](../functions/install-func.md).
- See [Develop locally — Prepare](../functions/running-functions.md#prepare).
- See the [`func` documentation]({{ funcdocs() }}){target=_blank} in Github.

## Connecting CLI tools to your cluster
Expand Down
33 changes: 19 additions & 14 deletions docs/versioned/functions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,31 @@ audience: developer
components:
- functions
function: explanation
hide_prev: true
hide_next: true
---

# Knative Functions overview
# Knative Functions

--8<-- "about-functions.md"

## Function templates
## Start here

--8<-- "functions-templates-intro.md"
New to Knative Functions? Follow [Try Functions](../getting-started/about-knative-functions.md)
to create, edit, and test a Go function locally — no Kubernetes cluster or
registry account required.

## Language packs
## Choose a task

Functions can be written in any language supported by the available [language packs](https://github.com/knative/func/blob/main/docs/language-packs/language-pack-contract.md){target=_blank}.
<!--TODO: Remove and replace with lang pack snippet in future PR, similar to templates-->
- **[Develop locally](running-functions.md):** install `func`, create a project,
run it locally, and send HTTP or CloudEvents test requests.
- **[Build an image](building-functions.md):** build a container image locally
without running or deploying it.
- **[Deploy a function](deploying-functions.md):** deploy from your machine or
build and deploy remotely on a cluster with Tekton.
- **[Connect events](subscribing-functions.md):** subscribe a function to a
Knative Broker with Triggers, or consume Apache Kafka topics via sidecar.
- **[Templates and runtimes](language-packs.md):** choose a language and
HTTP/CloudEvents template, or use custom language-pack repositories.

## Getting started with functions

Follow [Get started with Functions](../getting-started/about-knative-functions.md)
to create, change, and test a Go function locally. This is the same Functions
track linked from Get Started. Cluster deployment is optional and links to the
shared learning-cluster setup.

For an existing project, use the how-to guides in this section.
For the full CLI reference, see the [`func` documentation]({{ funcdocs() }}){target=_blank}.
Loading
Loading