Skip to content
Merged
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
2 changes: 1 addition & 1 deletion docs/blog/articles/Knative-Serving-WebSockets.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

**Author: Matthias Weßendorf, Senior Principal Software Engineer @ Red Hat**

Knative Serving supports multiple protocols for running serverless workloads, such as `HTTP`, `HTTP/2`, `gRPC` or `WebSocket`. The [WebSocket protocol](https://datatracker.ietf.org/doc/html/rfc6455) allows a full-duplex communication over one single TCP connection between client applications and servers. The WebSocket protocol starts as an HTTP "Upgrade" request and then switchs the connection from HTTP over to the WebSocket protocol, allowing real-time and bidirectional communication between the peers. In this article we show how to build a scalable WebSocket server with Knative.
Knative Serving supports multiple protocols for running serverless workloads, such as `HTTP`, `HTTP/2`, `gRPC` or `WebSocket`. The [WebSocket protocol](https://datatracker.ietf.org/doc/html/rfc6455) allows a full-duplex communication over one single TCP connection between client applications and servers. The WebSocket protocol starts as an HTTP "Upgrade" request and then switches the connection from HTTP over to the WebSocket protocol, allowing real-time and bidirectional communication between the peers. In this article we show how to build a scalable WebSocket server with Knative.

!!! note

Expand Down
4 changes: 2 additions & 2 deletions docs/blog/articles/knative-serving-in-k0s.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,9 @@ sudo k0s kubectl apply -f l2_ad.yaml
### Create custom knative deployment files

Edit deployment files of all knative serving components by reducing resources to 50% of the original value.
Ex: if 100m is the orginal value of CPU request/limit , we reduce it to 50m, same is done for memory.
Ex: if 100m is the original value of CPU request/limit , we reduce it to 50m, same is done for memory.

Though reducing by 50% might seem random, when I tried to install the default files , some pods didn't come up due to insufficient CPU. The mimimum request of 890 milli core (see [Knative + k0s Default resource requirement](#knative-k0s-default-resource-requirement)) explains why some pods didn't find sufficient CPU , since BaseOS + k0s might be using more than 110 m of CPU (1000 - 890)
Though reducing by 50% might seem random, when I tried to install the default files , some pods didn't come up due to insufficient CPU. The minimum request of 890 milli core (see [Knative + k0s Default resource requirement](#knative-k0s-default-resource-requirement)) explains why some pods didn't find sufficient CPU , since BaseOS + k0s might be using more than 110 m of CPU (1000 - 890)

Hence, after monitoring the resource usage (See [Knative + k0s Resource Usage](#knative-k0s-resource-usage)) and with an aim to fit everything in 1 CPU, reducing the resource request/limit by 50% was a safe option.

Expand Down
2 changes: 1 addition & 1 deletion docs/blog/articles/llm-agents-overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ spec:
kind: Service
name: get-current-weather
description: "Get the current weather in a given location."
schemaData: '{"location":{"type":"string","description":"The city and state, e.g. San Francisco, CA"},"unit":{"type":"string","description":"One of [celsius, farenheit]"}}'
schemaData: '{"location":{"type":"string","description":"The city and state, e.g. San Francisco, CA"},"unit":{"type":"string","description":"One of [celsius, fahrenheit]"}}'
type: "get.current.weather"
```

Expand Down
2 changes: 1 addition & 1 deletion docs/blog/releases/announcing-knative-v1-10-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ This release brings a number of smaller improvements to the core Knative Serving

## 💫 New Features & Changes

- Adding func config git command and subcommands to handle intial support of Pipelines as Code (#1594, @zroubalik)
- Adding func config git command and subcommands to handle initial support of Pipelines as Code (#1594, @zroubalik)
- Adds support for Git-based deploy options to be configured using CLI flags (#1604, @zroubalik)
- Adds support for branches and tags when adding a template repository using func repository add <uri> (#1558, @lance)
- Commands such as envs can be referred to by their singular form env and vice-versa. Commands with well-known command synonyms were added as aliases, such aslabels delete <name> now supports labels rm <name> (#1578, @lkingland)
Expand Down
2 changes: 1 addition & 1 deletion docs/blog/releases/announcing-knative-v1-20-release.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ There have been various changes in core components for this release.
- For serving we introduced new value `AllowRootBounded` for `secure-pod-defaults` option that balances security with compatibility and is planned to become the default in v1.21 (More info below!).
- Eventing introduces a complete Request Reply data plane and adds support for Pod default credentials in AWS Integration resources.
- Functions' CLI now provides more clearer errors and hints to users when things go wrong with build, deploy and delete commands. We also include some bug fixes.
- Operator recieved a fix for deadlock occurring during KnativeServing creation with `system-internal-tls` enabled.
- Operator received a fix for deadlock occurring during KnativeServing creation with `system-internal-tls` enabled.

## Serving

Expand Down
6 changes: 3 additions & 3 deletions docs/versioned/eventing/features/authorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,12 @@ The `.spec.from` section specifies **who** is allowed to send events to the targ
- sub: "system:serviceaccount:default:other-*"
```

### Advanced CloudEvent filtering criterias
### Advanced CloudEvent filtering criteria

The `.spec.filters` section is optional and specifies additional criteria that the event itself must meet to be allowed.

* **Example:** Only CloudEvents with the `type` equals to `com.github.push` and matching a certain CESQL expression are allowed.
* **Use Case:** Use `filters` when you want to have more fine grained criterias on allowed CloudEvents.
* **Use Case:** Use `filters` when you want to have more fine grained criteria on allowed CloudEvents.
```yaml
from:
filters:
Expand All @@ -164,7 +164,7 @@ If the filters are specified, an event must match **all** the specified filters
* `to.selector` targets a set of resources based on labels.
* `from.ref` authorizes a specific event source resource.
* `from.sub` authorizes specific users, service accounts, or patterns of accounts.
* `.spec.filters` allows to define advanced CloudEvent filtering criterias
* `.spec.filters` allows to define advanced CloudEvent filtering criteria

## EventPolicy status

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ container in a cluster.

=== "kn event"

Below is an example that sends an event with the `kn` CLI, for improved developer productivity. The `kn-plugin-event` plugin can be installed with Homebrew or downloaded directly from GitHub releases, for more details please refer to plugin [instalation steps](https://knative.dev/docs/client/kn-plugins/).
Below is an example that sends an event with the `kn` CLI, for improved developer productivity. The `kn-plugin-event` plugin can be installed with Homebrew or downloaded directly from GitHub releases, for more details please refer to plugin [installation steps](https://knative.dev/docs/client/kn-plugins/).

1. Setup `kn event` plugin
```bash
Expand Down
2 changes: 1 addition & 1 deletion docs/versioned/eventing/triggers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ spec:

The legacy attributes filter provides exact match filtering on any number of CloudEvents attributes as well as extensions.
It's semantics and behaviour are the same as the `exact` filter dialect and wherever possible users should move to the
`exact` filter. However, for backwards compatability the attributes filter will continue to work for all users. The following
`exact` filter. However, for backwards compatibility the attributes filter will continue to work for all users. The following
example filters events from the `default` broker that are of type `dev.knative.foo.bar` and have the extension `myextension`
with the value `my-extension-value`.

Expand Down
Loading