Skip to content

Commit a2ec324

Browse files
authored
Merge pull request #17576 from deads2k/rebase-1.9.0-beta.1
rebase 1.9.0 beta.1
2 parents 61e6f25 + b374cbd commit a2ec324

File tree

13,008 files changed

+1560195
-717010
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

13,008 files changed

+1560195
-717010
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,8 +185,8 @@ test-cmd: build
185185
#
186186
# Example:
187187
# make test-end-to-end
188+
# TODO restore COVERAGE_SPEC=' ' DETECT_RACES='false' TIMEOUT='10m' hack/test-go.sh ./test/end-to-end
188189
test-end-to-end:
189-
COVERAGE_SPEC=' ' DETECT_RACES='false' TIMEOUT='10m' hack/test-go.sh ./test/end-to-end
190190
hack/test-end-to-end.sh
191191
.PHONY: test-end-to-end
192192

api/docs/_topic_map.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,19 @@
4848
File: v1.APIGroup
4949
- Name: v1.APIGroupList
5050
File: v1.APIGroupList
51+
- Name: /apis/apps/v1
52+
Dir: apis-apps
53+
Topics:
54+
- Name: v1.ControllerRevision
55+
File: v1.ControllerRevision
56+
- Name: v1.DaemonSet
57+
File: v1.DaemonSet
58+
- Name: v1.Deployment
59+
File: v1.Deployment
60+
- Name: v1.ReplicaSet
61+
File: v1.ReplicaSet
62+
- Name: v1.StatefulSet
63+
File: v1.StatefulSet
5164
- Name: /apis/apps/v1beta1
5265
Dir: apis-apps
5366
Topics:
@@ -115,6 +128,13 @@
115128
Topics:
116129
- Name: v1beta1.PodDisruptionBudget
117130
File: v1beta1.PodDisruptionBudget
131+
- Name: /apis/admissionregistration.k8s.io/v1beta1
132+
Dir: apis-admissionregistration.k8s.io
133+
Topics:
134+
- Name: v1beta1.MutatingWebhookConfiguration
135+
File: v1beta1.MutatingWebhookConfiguration
136+
- Name: v1beta1.ValidatingWebhookConfiguration
137+
File: v1beta1.ValidatingWebhookConfiguration
118138
- Name: /apis/authentication.k8s.io/v1
119139
Dir: apis-authentication.k8s.io
120140
Topics:
@@ -174,6 +194,11 @@
174194
Topics:
175195
- Name: v1beta1.CertificateSigningRequest
176196
File: v1beta1.CertificateSigningRequest
197+
- Name: /apis/events.k8s.io/v1beta1
198+
Dir: apis-events.k8s.io
199+
Topics:
200+
- Name: v1beta1.Event
201+
File: v1beta1.Event
177202
- Name: /apis/networking.k8s.io/v1
178203
Dir: apis-networking.k8s.io
179204
Topics:

api/docs/api/v1.APIResourceList.adoc

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,88 @@ $ curl -k \
8181
* application/vnd.kubernetes.protobuf
8282

8383

84+
[[Get-apis-admissionregistration.k8s.io-v1beta1]]
85+
=== Get all APIResourceLists
86+
Get available resources
87+
88+
==== HTTP request
89+
----
90+
GET /apis/admissionregistration.k8s.io/v1beta1/ HTTP/1.1
91+
Authorization: Bearer $TOKEN
92+
Accept: application/json
93+
Connection: close
94+
----
95+
96+
==== Curl request
97+
----
98+
$ curl -k \
99+
-H "Authorization: Bearer $TOKEN" \
100+
-H 'Accept: application/json' \
101+
https://$ENDPOINT/apis/admissionregistration.k8s.io/v1beta1/
102+
----
103+
104+
==== Responses
105+
[cols="1,5", options="header"]
106+
|===
107+
|HTTP Code|Schema
108+
|200 OK|v1.APIResourceList
109+
|401 Unauthorized|
110+
|===
111+
112+
==== Consumes
113+
114+
* application/json
115+
* application/yaml
116+
* application/vnd.kubernetes.protobuf
117+
118+
==== Produces
119+
120+
* application/json
121+
* application/yaml
122+
* application/vnd.kubernetes.protobuf
123+
124+
125+
[[Get-apis-apps-v1]]
126+
=== Get all APIResourceLists
127+
Get available resources
128+
129+
==== HTTP request
130+
----
131+
GET /apis/apps/v1/ HTTP/1.1
132+
Authorization: Bearer $TOKEN
133+
Accept: application/json
134+
Connection: close
135+
----
136+
137+
==== Curl request
138+
----
139+
$ curl -k \
140+
-H "Authorization: Bearer $TOKEN" \
141+
-H 'Accept: application/json' \
142+
https://$ENDPOINT/apis/apps/v1/
143+
----
144+
145+
==== Responses
146+
[cols="1,5", options="header"]
147+
|===
148+
|HTTP Code|Schema
149+
|200 OK|v1.APIResourceList
150+
|401 Unauthorized|
151+
|===
152+
153+
==== Consumes
154+
155+
* application/json
156+
* application/yaml
157+
* application/vnd.kubernetes.protobuf
158+
159+
==== Produces
160+
161+
* application/json
162+
* application/yaml
163+
* application/vnd.kubernetes.protobuf
164+
165+
84166
[[Get-apis-apps-v1beta1]]
85167
=== Get all APIResourceLists
86168
Get available resources
@@ -573,6 +655,47 @@ $ curl -k \
573655
* application/vnd.kubernetes.protobuf
574656

575657

658+
[[Get-apis-events.k8s.io-v1beta1]]
659+
=== Get all APIResourceLists
660+
Get available resources
661+
662+
==== HTTP request
663+
----
664+
GET /apis/events.k8s.io/v1beta1/ HTTP/1.1
665+
Authorization: Bearer $TOKEN
666+
Accept: application/json
667+
Connection: close
668+
----
669+
670+
==== Curl request
671+
----
672+
$ curl -k \
673+
-H "Authorization: Bearer $TOKEN" \
674+
-H 'Accept: application/json' \
675+
https://$ENDPOINT/apis/events.k8s.io/v1beta1/
676+
----
677+
678+
==== Responses
679+
[cols="1,5", options="header"]
680+
|===
681+
|HTTP Code|Schema
682+
|200 OK|v1.APIResourceList
683+
|401 Unauthorized|
684+
|===
685+
686+
==== Consumes
687+
688+
* application/json
689+
* application/yaml
690+
* application/vnd.kubernetes.protobuf
691+
692+
==== Produces
693+
694+
* application/json
695+
* application/yaml
696+
* application/vnd.kubernetes.protobuf
697+
698+
576699
[[Get-apis-extensions-v1beta1]]
577700
=== Get all APIResourceLists
578701
Get available resources

api/docs/api/v1.Binding.adoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Expand or mouse-over a field for more information about it.
2828
2929
Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata">creationTimestamp</span>:
3030
</div><div style="margin-left:13px;"> <span title="(integer) Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.">deletionGracePeriodSeconds</span>:
31-
</div><div style="margin-left:13px;"> <span title="(v1.Time) DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.
31+
</div><div style="margin-left:13px;"> <span title="(v1.Time) DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.
3232
3333
Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata">deletionTimestamp</span>:
3434
</div><details><summary> <span title="(array) Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed.">finalizers</span>:
@@ -159,6 +159,8 @@ EOF
159159
|===
160160
|HTTP Code|Schema
161161
|200 OK|v1.Binding
162+
|201 Created|v1.Binding
163+
|202 Accepted|v1.Binding
162164
|401 Unauthorized|
163165
|===
164166

@@ -236,6 +238,8 @@ EOF
236238
|===
237239
|HTTP Code|Schema
238240
|200 OK|v1.Binding
241+
|201 Created|v1.Binding
242+
|202 Accepted|v1.Binding
239243
|401 Unauthorized|
240244
|===
241245

api/docs/api/v1.ComponentStatus.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Expand or mouse-over a field for more information about it.
3333
3434
Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata">creationTimestamp</span>:
3535
</div><div style="margin-left:13px;"> <span title="(integer) Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.">deletionGracePeriodSeconds</span>:
36-
</div><div style="margin-left:13px;"> <span title="(v1.Time) DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.
36+
</div><div style="margin-left:13px;"> <span title="(v1.Time) DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.
3737
3838
Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata">deletionTimestamp</span>:
3939
</div><details><summary> <span title="(array) Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed.">finalizers</span>:

api/docs/api/v1.ConfigMap.adoc

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Expand or mouse-over a field for more information about it.
3030
3131
Populated by the system. Read-only. Null for lists. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata">creationTimestamp</span>:
3232
</div><div style="margin-left:13px;"> <span title="(integer) Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only.">deletionGracePeriodSeconds</span>:
33-
</div><div style="margin-left:13px;"> <span title="(v1.Time) DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field. Once set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.
33+
</div><div style="margin-left:13px;"> <span title="(v1.Time) DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This field is set by the server when a graceful deletion is requested by the user, and is not directly settable by a client. The resource is expected to be deleted (no longer visible from resource lists, and not reachable by name) after the time in this field, once the finalizers list is empty. As long as the finalizers list contains items, deletion is blocked. Once the deletionTimestamp is set, this value may not be unset or be set further into the future, although it may be shortened or the resource may be deleted prior to this time. For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react by sending a graceful termination signal to the containers in the pod. After that 30 seconds, the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup, remove the pod from the API. In the presence of network partitions, this object may still exist after this timestamp, until an administrator or automated process can determine the resource is fully terminated. If not set, graceful deletion of the object has not been requested.
3434
3535
Populated by the system when a graceful deletion is requested. Read-only. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata">deletionTimestamp</span>:
3636
</div><details><summary> <span title="(array) Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed.">finalizers</span>:
@@ -153,6 +153,8 @@ EOF
153153
|===
154154
|HTTP Code|Schema
155155
|200 OK|v1.ConfigMap
156+
|201 Created|v1.ConfigMap
157+
|202 Accepted|v1.ConfigMap
156158
|401 Unauthorized|
157159
|===
158160

@@ -230,6 +232,8 @@ EOF
230232
|===
231233
|HTTP Code|Schema
232234
|200 OK|v1.ConfigMap
235+
|201 Created|v1.ConfigMap
236+
|202 Accepted|v1.ConfigMap
233237
|401 Unauthorized|
234238
|===
235239

@@ -676,6 +680,7 @@ EOF
676680
|===
677681
|HTTP Code|Schema
678682
|200 OK|v1.ConfigMap
683+
|201 Created|v1.ConfigMap
679684
|401 Unauthorized|
680685
|===
681686

@@ -821,7 +826,7 @@ EOF
821826
|pretty|If 'true', then the output is pretty printed.
822827
|gracePeriodSeconds|The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately.
823828
|orphanDependents|Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both.
824-
|propagationPolicy|Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy.
829+
|propagationPolicy|Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. Acceptable values are: 'Orphan' - orphan the dependents; 'Background' - allow the garbage collector to delete the dependents in the background; 'Foreground' - a cascading policy that deletes all dependents in the foreground.
825830
|===
826831

827832
==== Responses

0 commit comments

Comments
 (0)