Skip to content

Conversation

@LorbusChris
Copy link
Contributor

@LorbusChris LorbusChris commented Jun 26, 2019

Various API Updates as suggested in and in preparation for openshift/api#301

Added KubeletConfiguration to RawExtension conversion to make API independent from kubelet type/api versioning.

@openshift-ci-robot openshift-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Jun 26, 2019
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 26, 2019
Copy link
Contributor

@kikisdeliveryservice kikisdeliveryservice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know this is a WIP but before you get too far, can you break out those vendor changes as a separate commit?

@LorbusChris LorbusChris force-pushed the api branch 2 times, most recently from ce8a868 to cee81db Compare June 28, 2019 02:18
@openshift-ci-robot openshift-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Jun 28, 2019
instead of YAML.
This makes the encodeKubeletConfig function reusable for conversion between KubeletConfiguration and RawExtension types.
@LorbusChris LorbusChris force-pushed the api branch 2 times, most recently from c9887ab to 6b94d79 Compare July 1, 2019 18:26
@openshift-ci-robot openshift-ci-robot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jul 1, 2019
@kikisdeliveryservice
Copy link
Contributor

kikisdeliveryservice commented Jul 1, 2019

uhohs. your e2e-aws-op is hitting the same hyperkube error: 1347 runtime.go:69] Observed a panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference) as my other pr... 😦

#899 (comment)

but it seems to not completely timeout on that and eventually resolve (tho it spends ~30 mins in that error loop?) see:

Jul 01 19:13:32 ip-10-0-8-233 hyperkube[1347]: I0701 19:13:32.428893    1347 kubelet_node_status.go:283] Setting node annotation to enable volume controller attach/detach
Jul 01 19:13:32 ip-10-0-8-233 hyperkube[1347]: I0701 19:13:32.432759    1347 kubelet_node_status.go:468] Recording NodeHasSufficientMemory event message for node ip-10-0-8-233
Jul 01 19:13:32 ip-10-0-8-233 hyperkube[1347]: I0701 19:13:32.432981    1347 kubelet_node_status.go:468] Recording NodeHasNoDiskPressure event message for node ip-10-0-8-233```

@openshift-ci-robot openshift-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Jul 2, 2019
@LorbusChris LorbusChris changed the title WIP: API Updates API Updates Jul 3, 2019
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 3, 2019
@LorbusChris
Copy link
Contributor Author

@rphillips could you review the second commit especially. Want to make sure it's ok to encode to JSON internally here instead of YAML.

@sttts please have a look at the KubeletConfiguration<->RawExtension conversion in the third commit. Note that I am re-using and not adding the actual conversion funcs.

cc @runcom @cgwalters

@rphillips
Copy link
Contributor

rphillips commented Jul 3, 2019

Does this upgrade a config that is already in yaml to json?

edit: Nevermind... We don't read the yaml kubelet config. This should be great.

@rphillips
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 3, 2019
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: LorbusChris, rphillips

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@rphillips
Copy link
Contributor

/hold

for @sttts to confirm his comments were addressed.

@openshift-ci-robot openshift-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jul 3, 2019
@openshift-merge-robot openshift-merge-robot merged commit 4be8519 into openshift:master Jul 3, 2019
@runcom
Copy link
Member

runcom commented Jul 3, 2019

uhm, too late, @LorbusChris can you make sure you follow up Stephan comments asap?

@LorbusChris LorbusChris deleted the api branch February 24, 2020 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants