Skip to content

Commit f51ed05

Browse files
committed
Config API for 1.22
1 parent 93f57fd commit f51ed05

7 files changed

+1098
-587
lines changed

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

+8-8
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,15 @@ For non-resource requests, this is the lower-cased HTTP method.</td>
8181

8282

8383
<tr><td><code>user</code> <B>[Required]</B><br/>
84-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#userinfo-v1-authentication"><code>authentication/v1.UserInfo</code></a>
84+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#userinfo-v1-authentication"><code>authentication/v1.UserInfo</code></a>
8585
</td>
8686
<td>
8787
Authenticated user information.</td>
8888
</tr>
8989

9090

9191
<tr><td><code>impersonatedUser</code><br/>
92-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#userinfo-v1-authentication"><code>authentication/v1.UserInfo</code></a>
92+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#userinfo-v1-authentication"><code>authentication/v1.UserInfo</code></a>
9393
</td>
9494
<td>
9595
Impersonated user information.</td>
@@ -123,7 +123,7 @@ Does not apply for List-type requests, or non-resource requests.</td>
123123

124124

125125
<tr><td><code>responseStatus</code><br/>
126-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#status-v1-meta"><code>meta/v1.Status</code></a>
126+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#status-v1-meta"><code>meta/v1.Status</code></a>
127127
</td>
128128
<td>
129129
The response status, populated even when the ResponseObject is not a Status type.
@@ -154,15 +154,15 @@ at Response Level.</td>
154154

155155

156156
<tr><td><code>requestReceivedTimestamp</code><br/>
157-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#microtime-v1-meta"><code>meta/v1.MicroTime</code></a>
157+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#microtime-v1-meta"><code>meta/v1.MicroTime</code></a>
158158
</td>
159159
<td>
160160
Time the request reached the apiserver.</td>
161161
</tr>
162162

163163

164164
<tr><td><code>stageTimestamp</code><br/>
165-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#microtime-v1-meta"><code>meta/v1.MicroTime</code></a>
165+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#microtime-v1-meta"><code>meta/v1.MicroTime</code></a>
166166
</td>
167167
<td>
168168
Time the request reached current audit stage.</td>
@@ -206,7 +206,7 @@ EventList is a list of audit Events.
206206

207207

208208
<tr><td><code>metadata</code><br/>
209-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#listmeta-v1-meta"><code>meta/v1.ListMeta</code></a>
209+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#listmeta-v1-meta"><code>meta/v1.ListMeta</code></a>
210210
</td>
211211
<td>
212212
<span class="text-muted">No description provided.</span>
@@ -252,7 +252,7 @@ categories are logged.
252252

253253

254254
<tr><td><code>metadata</code><br/>
255-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#objectmeta-v1-meta"><code>meta/v1.ObjectMeta</code></a>
255+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#objectmeta-v1-meta"><code>meta/v1.ObjectMeta</code></a>
256256
</td>
257257
<td>
258258
ObjectMeta is included for interoperability with API infrastructure.Refer to the Kubernetes API documentation for the fields of the <code>metadata</code> field.</td>
@@ -303,7 +303,7 @@ PolicyList is a list of audit Policies.
303303

304304

305305
<tr><td><code>metadata</code><br/>
306-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#listmeta-v1-meta"><code>meta/v1.ListMeta</code></a>
306+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#listmeta-v1-meta"><code>meta/v1.ListMeta</code></a>
307307
</td>
308308
<td>
309309
<span class="text-muted">No description provided.</span>

content/en/docs/reference/config-api/client-authentication.v1beta1.md

+9-1
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,14 @@ ExecConfig.ProvideClusterInfo).</td>
187187
</tr>
188188

189189

190+
<tr><td><code>interactive</code> <B>[Required]</B><br/>
191+
<code>bool</code>
192+
</td>
193+
<td>
194+
Interactive declares whether stdin has been passed to this exec plugin.</td>
195+
</tr>
196+
197+
190198
</tbody>
191199
</table>
192200

@@ -215,7 +223,7 @@ itself should at least be protected via file permissions.
215223

216224

217225
<tr><td><code>expirationTimestamp</code><br/>
218-
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.20/#time-v1-meta"><code>meta/v1.Time</code></a>
226+
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.21/#time-v1-meta"><code>meta/v1.Time</code></a>
219227
</td>
220228
<td>
221229
ExpirationTimestamp indicates a time when the provided credentials expire.</td>

content/en/docs/reference/config-api/kube-proxy-config.v1alpha1.md

+179
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,10 @@ this always falls back to the userspace proxy.
546546

547547
- [KubeProxyConfiguration](#kubeproxy-config-k8s-io-v1alpha1-KubeProxyConfiguration)
548548

549+
- [KubeSchedulerConfiguration](#kubescheduler-config-k8s-io-v1beta2-KubeSchedulerConfiguration)
550+
551+
- [GenericControllerManagerConfiguration](#controllermanager-config-k8s-io-v1alpha1-GenericControllerManagerConfiguration)
552+
549553

550554
ClientConnectionConfiguration contains details for constructing a client.
551555

@@ -597,5 +601,180 @@ client.</td>
597601
</tr>
598602

599603

604+
</tbody>
605+
</table>
606+
607+
## `DebuggingConfiguration` {#DebuggingConfiguration}
608+
609+
610+
611+
612+
**Appears in:**
613+
614+
- [KubeSchedulerConfiguration](#kubescheduler-config-k8s-io-v1beta2-KubeSchedulerConfiguration)
615+
616+
- [GenericControllerManagerConfiguration](#controllermanager-config-k8s-io-v1alpha1-GenericControllerManagerConfiguration)
617+
618+
619+
DebuggingConfiguration holds configuration for Debugging related features.
620+
621+
<table class="table">
622+
<thead><tr><th width="30%">Field</th><th>Description</th></tr></thead>
623+
<tbody>
624+
625+
626+
627+
<tr><td><code>enableProfiling</code> <B>[Required]</B><br/>
628+
<code>bool</code>
629+
</td>
630+
<td>
631+
enableProfiling enables profiling via web interface host:port/debug/pprof/</td>
632+
</tr>
633+
634+
635+
<tr><td><code>enableContentionProfiling</code> <B>[Required]</B><br/>
636+
<code>bool</code>
637+
</td>
638+
<td>
639+
enableContentionProfiling enables lock contention profiling, if
640+
enableProfiling is true.</td>
641+
</tr>
642+
643+
644+
</tbody>
645+
</table>
646+
647+
## `LeaderElectionConfiguration` {#LeaderElectionConfiguration}
648+
649+
650+
651+
652+
**Appears in:**
653+
654+
- [KubeSchedulerConfiguration](#kubescheduler-config-k8s-io-v1beta2-KubeSchedulerConfiguration)
655+
656+
- [GenericControllerManagerConfiguration](#controllermanager-config-k8s-io-v1alpha1-GenericControllerManagerConfiguration)
657+
658+
659+
LeaderElectionConfiguration defines the configuration of leader election
660+
clients for components that can run with leader election enabled.
661+
662+
<table class="table">
663+
<thead><tr><th width="30%">Field</th><th>Description</th></tr></thead>
664+
<tbody>
665+
666+
667+
668+
<tr><td><code>leaderElect</code> <B>[Required]</B><br/>
669+
<code>bool</code>
670+
</td>
671+
<td>
672+
leaderElect enables a leader election client to gain leadership
673+
before executing the main loop. Enable this when running replicated
674+
components for high availability.</td>
675+
</tr>
676+
677+
678+
<tr><td><code>leaseDuration</code> <B>[Required]</B><br/>
679+
<a href="https://godoc.org/k8s.io/apimachinery/pkg/apis/meta/v1#Duration"><code>meta/v1.Duration</code></a>
680+
</td>
681+
<td>
682+
leaseDuration is the duration that non-leader candidates will wait
683+
after observing a leadership renewal until attempting to acquire
684+
leadership of a led but unrenewed leader slot. This is effectively the
685+
maximum duration that a leader can be stopped before it is replaced
686+
by another candidate. This is only applicable if leader election is
687+
enabled.</td>
688+
</tr>
689+
690+
691+
<tr><td><code>renewDeadline</code> <B>[Required]</B><br/>
692+
<a href="https://godoc.org/k8s.io/apimachinery/pkg/apis/meta/v1#Duration"><code>meta/v1.Duration</code></a>
693+
</td>
694+
<td>
695+
renewDeadline is the interval between attempts by the acting master to
696+
renew a leadership slot before it stops leading. This must be less
697+
than or equal to the lease duration. This is only applicable if leader
698+
election is enabled.</td>
699+
</tr>
700+
701+
702+
<tr><td><code>retryPeriod</code> <B>[Required]</B><br/>
703+
<a href="https://godoc.org/k8s.io/apimachinery/pkg/apis/meta/v1#Duration"><code>meta/v1.Duration</code></a>
704+
</td>
705+
<td>
706+
retryPeriod is the duration the clients should wait between attempting
707+
acquisition and renewal of a leadership. This is only applicable if
708+
leader election is enabled.</td>
709+
</tr>
710+
711+
712+
<tr><td><code>resourceLock</code> <B>[Required]</B><br/>
713+
<code>string</code>
714+
</td>
715+
<td>
716+
resourceLock indicates the resource object type that will be used to lock
717+
during leader election cycles.</td>
718+
</tr>
719+
720+
721+
<tr><td><code>resourceName</code> <B>[Required]</B><br/>
722+
<code>string</code>
723+
</td>
724+
<td>
725+
resourceName indicates the name of resource object that will be used to lock
726+
during leader election cycles.</td>
727+
</tr>
728+
729+
730+
<tr><td><code>resourceNamespace</code> <B>[Required]</B><br/>
731+
<code>string</code>
732+
</td>
733+
<td>
734+
resourceName indicates the namespace of resource object that will be used to lock
735+
during leader election cycles.</td>
736+
</tr>
737+
738+
739+
</tbody>
740+
</table>
741+
742+
## `LoggingConfiguration` {#LoggingConfiguration}
743+
744+
745+
746+
747+
**Appears in:**
748+
749+
- [KubeletConfiguration](#kubelet-config-k8s-io-v1beta1-KubeletConfiguration)
750+
751+
752+
LoggingConfiguration contains logging options
753+
Refer [Logs Options](https://github.com/kubernetes/component-base/blob/master/logs/options.go) for more information.
754+
755+
<table class="table">
756+
<thead><tr><th width="30%">Field</th><th>Description</th></tr></thead>
757+
<tbody>
758+
759+
760+
761+
<tr><td><code>format</code> <B>[Required]</B><br/>
762+
<code>string</code>
763+
</td>
764+
<td>
765+
Format Flag specifies the structure of log messages.
766+
default value of format is `text`</td>
767+
</tr>
768+
769+
770+
<tr><td><code>sanitization</code> <B>[Required]</B><br/>
771+
<code>bool</code>
772+
</td>
773+
<td>
774+
[Experimental] When enabled prevents logging of fields tagged as sensitive (passwords, keys, tokens).
775+
Runtime log sanitization may introduce significant computation overhead and therefore should not be enabled in production.`)</td>
776+
</tr>
777+
778+
600779
</tbody>
601780
</table>

0 commit comments

Comments
 (0)