Skip to content

Commit 2740d85

Browse files
authored
Merge pull request #30803 from tengqm/configapi-123
Configuration API for v1.23
2 parents 532affa + b198199 commit 2740d85

15 files changed

+2530
-1235
lines changed

content/en/docs/concepts/cluster-administration/system-traces.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@ with `--tracing-config-file=<path-to-config>`. This is an example config that re
6666
spans for 1 in 10000 requests, and uses the default OpenTelemetry endpoint:
6767

6868
```yaml
69-
apiVersion: apiserver.config.k8s.io/v1alpha1
69+
apiVersion: apiserver.config.k8s.io/v1beta1
7070
kind: TracingConfiguration
7171
# default value
7272
#endpoint: localhost:4317
7373
samplingRatePerMillion: 100
7474
```
7575

7676
For more information about the `TracingConfiguration` struct, see
77-
[API server config API (v1alpha1)](/docs/reference/config-api/apiserver-config.v1alpha1/#apiserver-k8s-io-v1alpha1-TracingConfiguration).
77+
[API server config API (v1beta1)](/docs/reference/config-api/apiserver-config.v1beta1/#apiserver-k8s-io-v1beta1-TracingConfiguration).
7878

7979
## Stability
8080

content/en/docs/concepts/scheduling-eviction/kube-scheduler.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ of the scheduler:
8585
* Read about [scheduler performance tuning](/docs/concepts/scheduling-eviction/scheduler-perf-tuning/)
8686
* Read about [Pod topology spread constraints](/docs/concepts/workloads/pods/pod-topology-spread-constraints/)
8787
* Read the [reference documentation](/docs/reference/command-line-tools-reference/kube-scheduler/) for kube-scheduler
88-
* Read the [kube-scheduler config (v1beta2)](/docs/reference/config-api/kube-scheduler-config.v1beta2/) reference
88+
* Read the [kube-scheduler config (v1beta3)](/docs/reference/config-api/kube-scheduler-config.v1beta3/) reference
8989
* Learn about [configuring multiple schedulers](/docs/tasks/extend-kubernetes/configure-multiple-schedulers/)
9090
* Learn about [topology management policies](/docs/tasks/administer-cluster/topology-manager/)
9191
* Learn about [Pod Overhead](/docs/concepts/scheduling-eviction/pod-overhead/)

content/en/docs/concepts/scheduling-eviction/scheduler-perf-tuning.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ If you set `percentageOfNodesToScore` above 100, kube-scheduler acts as if you
4343
had set a value of 100.
4444

4545
To change the value, edit the
46-
[kube-scheduler configuration file](/docs/reference/config-api/kube-scheduler-config.v1beta2/)
46+
[kube-scheduler configuration file](/docs/reference/config-api/kube-scheduler-config.v1beta3/)
4747
and then restart the scheduler.
4848
In many cases, the configuration file can be found at `/etc/kubernetes/config/kube-scheduler.yaml`.
4949

@@ -161,5 +161,5 @@ After going over all the Nodes, it goes back to Node 1.
161161

162162
## {{% heading "whatsnext" %}}
163163

164-
* Check the [kube-scheduler configuration reference (v1beta2)](/docs/reference/config-api/kube-scheduler-config.v1beta2/)
164+
* Check the [kube-scheduler configuration reference (v1beta3)](/docs/reference/config-api/kube-scheduler-config.v1beta3/)
165165

content/en/docs/reference/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,10 @@ configure kubernetes components or tools. Most of these APIs are not exposed
7373
by the API server in a RESTful way though they are essential for a user or an
7474
operator to use or manage a cluster.
7575

76-
* [kube-apiserver configuration (v1alpha1)](/docs/reference/config-api/apiserver-config.v1alpha1/)
76+
* [kube-apiserver configuration (v1beta1)](/docs/reference/config-api/apiserver-config.v1beta1/)
7777
* [kubelet configuration (v1beta1)](/docs/reference/config-api/kubelet-config.v1beta1/)
78-
* [kube-scheduler configuration (v1beta1)](/docs/reference/config-api/kube-scheduler-config.v1beta1/)
7978
* [kube-scheduler configuration (v1beta2)](/docs/reference/config-api/kube-scheduler-config.v1beta2/)
79+
* [kube-scheduler configuration (v1beta3)](/docs/reference/config-api/kube-scheduler-config.v1beta3/)
8080
* [kube-scheduler policy reference (v1)](/docs/reference/config-api/kube-scheduler-policy-config.v1/)
8181
* [kube-proxy configuration (v1alpha1)](/docs/reference/config-api/kube-proxy-config.v1alpha1/)
8282
* [`audit.k8s.io/v1` API](/docs/reference/config-api/apiserver-audit.v1/)

content/en/docs/reference/config-api/apiserver-audit.v1.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,19 @@ be specified per rule in which case the union of both are omitted.</td>
279279
</tr>
280280

281281

282+
<tr><td><code>omitManagedFields</code><br/>
283+
<code>bool</code>
284+
</td>
285+
<td>
286+
OmitManagedFields indicates whether to omit the managed fields of the request
287+
and response bodies from being written to the API audit log.
288+
This is used as a global default - a value of 'true' will omit the managed fileds,
289+
otherwise the managed fields will be included in the API audit log.
290+
Note that this can also be specified per rule in which case the value specified
291+
in a rule will override the global default.</td>
292+
</tr>
293+
294+
282295
</tbody>
283296
</table>
284297

@@ -594,6 +607,21 @@ An empty list means no restrictions will apply.</td>
594607
</tr>
595608

596609

610+
<tr><td><code>omitManagedFields</code><br/>
611+
<code>bool</code>
612+
</td>
613+
<td>
614+
OmitManagedFields indicates whether to omit the managed fields of the request
615+
and response bodies from being written to the API audit log.
616+
- a value of 'true' will drop the managed fields from the API audit log
617+
- a value of 'false' indicates that the managed fileds should be included
618+
in the API audit log
619+
Note that the value, if specified, in this rule will override the global default
620+
If a value is not specified then the global default specified in
621+
Policy.OmitManagedFields will stand.</td>
622+
</tr>
623+
624+
597625
</tbody>
598626
</table>
599627

0 commit comments

Comments
 (0)