add missing serving feature flags to site (#5250)

Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>

Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>
This commit is contained in:
Paul Schweigert 2022-10-04 13:57:28 -04:00 committed by GitHub
parent 487cd027b5
commit f545f21a0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 61 additions and 0 deletions

View File

@ -436,3 +436,64 @@ metadata:
annotations: features.knative.dev/queueproxy-podinfo: enabled annotations: features.knative.dev/queueproxy-podinfo: enabled
... ...
``` ```
### Kubernetes Topology Spread Constraints
* **Type**: Extension
* **ConfigMap key:** `kubernetes.podspec-topologyspreadconstraints`
This flag controls whether [`topology spread constraints`](https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/) can be specified.
```yaml
apiVersion: serving.knative.dev/v1
kind: Service
...
spec:
template:
spec:
...
topologySpreadConstraints:
- maxSkew: 1
topologyKey: node
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
foo: bar
...
```
### Kubernetes DNS Policy
* **Type**: Extension
* **ConfigMap key:** `kubernetes.podspec-dnspolicy`
This flag controls whether a [`DNS policy`](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/) can be specified.
```yaml
apiVersion: serving.knative.dev/v1
kind: Service
...
spec:
template:
spec:
dnsPolicy: ClusterFirstWithHostNet
...
```
### Kubernetes Scheduler Name
* **Type**: Extension
* **ConfigMap key:** `kubernetes.podspec-schedulername`
This flag controls whether a [`scheduler name`](https://kubernetes.io/docs/concepts/scheduling-eviction/kube-scheduler/) can be specified.
```yaml
apiVersion: serving.knative.dev/v1
kind: Service
...
spec:
template:
spec:
...
schedulerName: custom-scheduler-example
...
```