Skip to content

Commit

Permalink
Merge pull request #20033 from deads2k/rebase-04-1.11beta2
Browse files Browse the repository at this point in the history
Rebase 1.11
  • Loading branch information
liggitt authored Jun 28, 2018
2 parents 9b2bbee + edbddad commit 8157540
Show file tree
Hide file tree
Showing 12,263 changed files with 1,402,163 additions and 992,934 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
5 changes: 5 additions & 0 deletions api/docs/_topic_map.yml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,11 @@
Topics:
- Name: v1.NetworkPolicy
File: v1.NetworkPolicy
- Name: /apis/scheduling.k8s.io/v1beta1
Dir: apis-scheduling.k8s.io
Topics:
- Name: v1beta1.PriorityClass
File: v1beta1.PriorityClass
- Name: /apis/storage.k8s.io/v1
Dir: apis-storage.k8s.io
Topics:
Expand Down
41 changes: 41 additions & 0 deletions api/docs/api/v1.APIResourceList.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1311,6 +1311,47 @@ $ curl -k \
* application/vnd.kubernetes.protobuf


[[Get-apis-scheduling.k8s.io-v1beta1]]
=== Get all APIResourceLists
Get available resources

==== HTTP request
----
GET /apis/scheduling.k8s.io/v1beta1/ HTTP/1.1
Authorization: Bearer $TOKEN
Accept: application/json
Connection: close
----

==== Curl request
----
$ curl -k \
-H "Authorization: Bearer $TOKEN" \
-H 'Accept: application/json' \
https://$ENDPOINT/apis/scheduling.k8s.io/v1beta1/
----

==== Responses
[cols="1,5", options="header"]
|===
|HTTP Code|Schema
|200 OK|v1.APIResourceList
|401 Unauthorized|
|===

==== Consumes

* application/json
* application/yaml
* application/vnd.kubernetes.protobuf

==== Produces

* application/json
* application/yaml
* application/vnd.kubernetes.protobuf


[[Get-apis-security.openshift.io-v1]]
=== Get all APIResourceLists
Get available resources
Expand Down
43 changes: 31 additions & 12 deletions api/docs/api/v1.Node.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -91,17 +91,13 @@ Populated by the system. Read-only. Value must be treated as opaque by clients a
Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids">uid</span>:
</div></details><details open><summary><span title="(v1.NodeSpec) Spec defines the behavior of a node. https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status">spec</span>:
</summary><details><summary> <span title="(v1.NodeConfigSource) If specified, the source to get node configuration from The DynamicKubeletConfig feature gate must be enabled for the Kubelet to use this field">configSource</span>:
</summary><div style="margin-left:13px;"> <span title="(string) APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources">apiVersion</span>:
</div><details><summary> <span title="(v1.ObjectReference)">configMapRef</span>:
</summary><div style="margin-left:13px;"> <span title="(string) API version of the referent.">apiVersion</span>:
</div><div style="margin-left:13px;"> <span title="(string) If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: &#34;spec.containers{name}&#34; (where &#34;name&#34; refers to the name of the container that triggered the event) or if no container name is specified &#34;spec.containers[2]&#34; (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object.">fieldPath</span>:
</div><div style="margin-left:13px;"> <span title="(string) Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds">kind</span>:
</div><div style="margin-left:13px;"> <span title="(string) Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names">name</span>:
</div><div style="margin-left:13px;"> <span title="(string) Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/">namespace</span>:
</div><div style="margin-left:13px;"> <span title="(string) Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#concurrency-control-and-consistency">resourceVersion</span>:
</div><div style="margin-left:13px;"> <span title="(string) UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids">uid</span>:
</div></details><div style="margin-left:13px;"> <span title="(string) Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds">kind</span>:
</div></details><div style="margin-left:13px;"> <span title="(string) External ID of the node assigned by some machine database (e.g. a cloud provider). Deprecated.">externalID</span>:
</summary><details><summary> <span title="(v1.ConfigMapNodeConfigSource) ConfigMap is a reference to a Node&#39;s ConfigMap">configMap</span>:
</summary><div style="margin-left:13px;"> <span title="(string) KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.">kubeletConfigKey</span>:
</div><div style="margin-left:13px;"> <span title="(string) Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.">name</span>:
</div><div style="margin-left:13px;"> <span title="(string) Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.">namespace</span>:
</div><div style="margin-left:13px;"> <span title="(string) ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.">resourceVersion</span>:
</div><div style="margin-left:13px;"> <span title="(string) UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.">uid</span>:
</div></details></details><div style="margin-left:13px;"> <span title="(string) Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966">externalID</span>:
</div><div style="margin-left:13px;"> <span title="(string) PodCIDR represents the pod IP range assigned to the node.">podCIDR</span>:
</div><div style="margin-left:13px;"> <span title="(string) ID of the node assigned by the cloud provider in the format: &lt;ProviderName&gt;://&lt;ProviderSpecificNodeID&gt;">providerID</span>:
</div><details><summary> <span title="(array) If specified, the node&#39;s taints.">taints</span>:
Expand All @@ -125,7 +121,30 @@ Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-gu
</div><div style="margin-left:13px;"> <span title="(string) (brief) reason for the condition&#39;s last transition.">reason</span>:
</div><div style="margin-left:13px;"> <span title="(string) Status of the condition, one of True, False, Unknown.">status</span>:
</div><div style="margin-left:13px;"> <span title="(string) Type of node condition.">type</span>:
</div></details><details><summary> <span title="(v1.NodeDaemonEndpoints) Endpoints of daemons running on the Node.">daemonEndpoints</span>:
</div></details><details><summary> <span title="(v1.NodeConfigStatus) Status of the config assigned to the node via the dynamic Kubelet config feature.">config</span>:
</summary><details><summary> <span title="(v1.NodeConfigSource) Active reports the checkpointed config the node is actively using. Active will represent either the current version of the Assigned config, or the current LastKnownGood config, depending on whether attempting to use the Assigned config results in an error.">active</span>:
</summary><details><summary> <span title="(v1.ConfigMapNodeConfigSource) ConfigMap is a reference to a Node&#39;s ConfigMap">configMap</span>:
</summary><div style="margin-left:13px;"> <span title="(string) KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.">kubeletConfigKey</span>:
</div><div style="margin-left:13px;"> <span title="(string) Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.">name</span>:
</div><div style="margin-left:13px;"> <span title="(string) Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.">namespace</span>:
</div><div style="margin-left:13px;"> <span title="(string) ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.">resourceVersion</span>:
</div><div style="margin-left:13px;"> <span title="(string) UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.">uid</span>:
</div></details></details><details><summary> <span title="(v1.NodeConfigSource) Assigned reports the checkpointed config the node will try to use. When Node.Spec.ConfigSource is updated, the node checkpoints the associated config payload to local disk, along with a record indicating intended config. The node refers to this record to choose its config checkpoint, and reports this record in Assigned. Assigned only updates in the status after the record has been checkpointed to disk. When the Kubelet is restarted, it tries to make the Assigned config the Active config by loading and validating the checkpointed payload identified by Assigned.">assigned</span>:
</summary><details><summary> <span title="(v1.ConfigMapNodeConfigSource) ConfigMap is a reference to a Node&#39;s ConfigMap">configMap</span>:
</summary><div style="margin-left:13px;"> <span title="(string) KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.">kubeletConfigKey</span>:
</div><div style="margin-left:13px;"> <span title="(string) Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.">name</span>:
</div><div style="margin-left:13px;"> <span title="(string) Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.">namespace</span>:
</div><div style="margin-left:13px;"> <span title="(string) ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.">resourceVersion</span>:
</div><div style="margin-left:13px;"> <span title="(string) UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.">uid</span>:
</div></details></details><div style="margin-left:13px;"> <span title="(string) Error describes any problems reconciling the Spec.ConfigSource to the Active config. Errors may occur, for example, attempting to checkpoint Spec.ConfigSource to the local Assigned record, attempting to checkpoint the payload associated with Spec.ConfigSource, attempting to load or validate the Assigned config, etc. Errors may occur at different points while syncing config. Earlier errors (e.g. download or checkpointing errors) will not result in a rollback to LastKnownGood, and may resolve across Kubelet retries. Later errors (e.g. loading or validating a checkpointed config) will result in a rollback to LastKnownGood. In the latter case, it is usually possible to resolve the error by fixing the config assigned in Spec.ConfigSource. You can find additional information for debugging by searching the error message in the Kubelet log. Error is a human-readable description of the error state; machines can check whether or not Error is empty, but should not rely on the stability of the Error text across Kubelet versions.">error</span>:
</div><details><summary> <span title="(v1.NodeConfigSource) LastKnownGood reports the checkpointed config the node will fall back to when it encounters an error attempting to use the Assigned config. The Assigned config becomes the LastKnownGood config when the node determines that the Assigned config is stable and correct. This is currently implemented as a 10-minute soak period starting when the local record of Assigned config is updated. If the Assigned config is Active at the end of this period, it becomes the LastKnownGood. Note that if Spec.ConfigSource is reset to nil (use local defaults), the LastKnownGood is also immediately reset to nil, because the local default config is always assumed good. You should not make assumptions about the node&#39;s method of determining config stability and correctness, as this may change or become configurable in the future.">lastKnownGood</span>:
</summary><details><summary> <span title="(v1.ConfigMapNodeConfigSource) ConfigMap is a reference to a Node&#39;s ConfigMap">configMap</span>:
</summary><div style="margin-left:13px;"> <span title="(string) KubeletConfigKey declares which key of the referenced ConfigMap corresponds to the KubeletConfiguration structure This field is required in all cases.">kubeletConfigKey</span>:
</div><div style="margin-left:13px;"> <span title="(string) Name is the metadata.name of the referenced ConfigMap. This field is required in all cases.">name</span>:
</div><div style="margin-left:13px;"> <span title="(string) Namespace is the metadata.namespace of the referenced ConfigMap. This field is required in all cases.">namespace</span>:
</div><div style="margin-left:13px;"> <span title="(string) ResourceVersion is the metadata.ResourceVersion of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.">resourceVersion</span>:
</div><div style="margin-left:13px;"> <span title="(string) UID is the metadata.UID of the referenced ConfigMap. This field is forbidden in Node.Spec, and required in Node.Status.">uid</span>:
</div></details></details></details><details><summary> <span title="(v1.NodeDaemonEndpoints) Endpoints of daemons running on the Node.">daemonEndpoints</span>:
</summary><details><summary> <span title="(v1.DaemonEndpoint) Endpoint on which Kubelet is listening.">kubeletEndpoint</span>:
</summary><div style="margin-left:13px;"> <span title="(integer) Port number of the given endpoint.">Port</span>:
</div></details></details><details><summary> <span title="(array) List of container images on this node">images</span>:
Expand Down
Loading

0 comments on commit 8157540

Please sign in to comment.