Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase 1.11 #20033

Merged
merged 74 commits into from
Jun 28, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
d54dd3f
update glide.yaml for rebase
deads2k Jun 14, 2018
7374432
pre-rebase package cleanup
deads2k Jun 14, 2018
7c518f6
remove package deps for API constant refs
deads2k Jun 14, 2018
bce7b76
bump(*)
deads2k Jun 28, 2018
b6fe59b
UPSTREAM: <carry>: allow injection into kubectl for oc
deads2k Jun 18, 2018
3f79f91
UPSTREAM: <drop>: carry old printers until we update
deads2k Jun 19, 2018
ffaeb99
UPSTREAM: <carry>: rewrite unstructured objects on the CLI to avoid oapi
deads2k Jun 22, 2018
6a16df1
UPSTREAM: <carry>: switch back to use ugorji/go - decode to signed in…
liggitt Jun 26, 2018
04cad95
UPSTREAM: <drop>: cloud provider vsphere data race
deads2k Jun 26, 2018
979704a
UPSTREAM: <drop>: make auth reconcile work with backlevel versions un…
deads2k Jun 25, 2018
91ff3a7
UPSTREAM: <drop>: hack to "fix" period problem.
deads2k Jun 22, 2018
aab6851
UPSTREAM: <carry> test restmapper hack
deads2k Jun 22, 2018
2be61d3
UPSTREAM: 65238: fix scheduler port boundary to match detection
deads2k Jun 19, 2018
8bee56a
UPSTREAM: 65326: fix printer check to tolerate vendoring
deads2k Jun 21, 2018
0396c78
UPSTREAM: 65329: make builder tolerant of restmapper failures when it…
deads2k Jun 20, 2018
7e6e858
UPSTREAM: 65368: legacy api endpoints only support v1 ever
deads2k Jun 20, 2018
027f572
UPSTREAM: 65488: flatten nested lists for flatten in visitor
deads2k Jun 26, 2018
b868342
UPSTREAM: 65489: kubectl convert should not double wrap output in nes…
deads2k Jun 26, 2018
475f818
UPSTREAM: 65486: show type differences in reflect diff
liggitt Jun 26, 2018
71c0034
UPSTREAM: 65367: make sure delete waiting doesn't re-evaluate the res…
deads2k Jun 22, 2018
ea9f7d4
UPSTREAM: 65370: delete should tolerate a failed wait because of miss…
deads2k Jun 22, 2018
4e7390b
UPSTREAM: 65480: allow enabling kubelet serving certificate rotation …
liggitt Jun 26, 2018
f96c9fa
UPSTREAM: 65377: special-case templates get.go
juanvallejo Jun 22, 2018
6b5daa5
boring
deads2k Jun 15, 2018
410eed8
request.Context switch
deads2k Jun 15, 2018
3b483b8
add scoper to rest storage
deads2k Jun 19, 2018
f367cc0
api registration changes
deads2k Jun 15, 2018
12c89d4
keep systctls alpha annotation working for now
deads2k Jun 15, 2018
e0243fb
switch to external rbac
deads2k Jun 15, 2018
659da3e
DECARR: quota contract changes
deads2k Jun 15, 2018
2c45ae3
restmapper is no longer static
deads2k Jun 15, 2018
e586761
remove reapers from oc
deads2k Jun 15, 2018
086de7c
update oc to handle completely changed factory
deads2k Jun 15, 2018
c73e4c2
update bulk to remove resource builder dependency
deads2k Jun 18, 2018
b9959c0
update to polymorphic kubectl funcs
deads2k Jun 18, 2018
e0c4f27
rewire openshift diagnostics to change factory interaction
deads2k Jun 19, 2018
b8d0433
use shimmed printers with minimal changes for oc during rebase
deads2k Jun 15, 2018
648558b
remove kubectl dependency from apps apiserver
deads2k Jun 18, 2018
ed4b987
make project request endpoint use dynamic client instead of kubectl b…
deads2k Jun 18, 2018
52b996b
move openshift start etcd to avoid dep from hypershift
deads2k Jun 18, 2018
5c06169
stop using kubectl based bulk and use dynamic client instead
deads2k Jun 18, 2018
791a4cf
JMATTHEWS: avoid kubectl dependency in template service broker
deads2k Jun 18, 2018
0737e06
fix imagestreams/secrets client generator
deads2k Jun 20, 2018
9bf65e6
update oauth token expiration to use the 'normal' clock
deads2k Jun 21, 2018
9dcfa79
SKUZNETS: golang 1.10
deads2k Jun 21, 2018
1f574ad
STTTS: disable TestSNI. Needs to be re-enabled. Revert now?
deads2k Jun 25, 2018
5c93365
SQUASH: upstream process default changes
deads2k Jun 19, 2018
0b9a82a
updates for new fields and fuzzing
mfojtik Jun 26, 2018
d26f08f
disable -v in commands. see https://github.com/openshift/origin/issu…
deads2k Jun 21, 2018
bcc8ed6
update the scheme of some oc commands
deads2k Jun 22, 2018
55fd59a
test-cmd: boring
deads2k Jun 22, 2018
1844985
use dynamic client in oc instead of unhelpful helper
deads2k Jun 26, 2018
6a28e4b
change scheme of some commands in oc. others need to come post-rebase
deads2k Jun 26, 2018
9d6bd44
fix oc unit tests
soltysh Jun 22, 2018
293ebf8
explicitly enable rotating server certificates
liggitt Jun 26, 2018
e43f320
disable check of pod status because jenkins is OOMing
deads2k Jun 25, 2018
6549fe5
make pod build annotation strict on output and flexible on input
deads2k Jun 25, 2018
6ced7a5
add types to the list and storage updates
deads2k Jun 21, 2018
7768d59
remove namespaced resourceaccessreview and subjectaccessreview
deads2k Jun 25, 2018
2853726
skip cluster/gce unit tests that depends on a disk format
deads2k Jun 25, 2018
f086152
stop auto-registering the non-groupified versions
deads2k Jun 20, 2018
af8dff2
fix template type registration
deads2k Jun 26, 2018
52dda20
role updates, collapse onto upstream roles where possible
deads2k Jun 21, 2018
3a78e31
remove "OriginNamespaceLifecycle" plugin
deads2k Jun 26, 2018
6f8e404
UPSTREAM: openshift/api: FIXME: stop registering list, omg
deads2k Jun 26, 2018
1e40bc7
generated
deads2k Jun 15, 2018
7eb1193
disable volume alpha e2e
deads2k Jun 27, 2018
b5133dc
disable sysctl tests that don't support SCC. Needs to be reverted
deads2k Jun 27, 2018
67bafb1
update TSB so that it can handle secrets, but it's still generically …
deads2k Jun 27, 2018
d206b32
imagepruning: temporarily disable event handling
Jun 28, 2018
0dd985e
UPSTREAM: 65547: Honor custom transport dialer
liggitt Jun 28, 2018
57a6ec0
Restore TestSNI
liggitt Jun 28, 2018
7ccf2c8
squash to: imagepruning: temporarily disable event handling
deads2k Jun 28, 2018
edbddad
UPSTREAM: 65587: Revert "certs: only append locally discovered addres…
liggitt Jun 28, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
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