Skip to content

openshift-sdn: use the crio CRI socket - #37

Merged
openshift-merge-robot merged 1 commit into
openshift:masterfrom
squeed:crio
Nov 14, 2018
Merged

openshift-merge-robot merged 1 commit into
openshift:masterfrom
squeed:crio

Conversation

@squeed

@squeed squeed commented Nov 14, 2018

Copy link
Copy Markdown
Contributor

We query the CRI endpoint directly. The code defaults to the dockershim, but now we're using crio.

@squeed
squeed requested a review from dcbw November 14, 2018 12:56
@openshift-ci-robot openshift-ci-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Nov 14, 2018
We query the CRI endpoint directly. The code defaults to the dockershim,
but now we're using crio.
@squeed squeed mentioned this pull request Nov 14, 2018
},

// Openshift-sdn calls the CRI endpoint directly; point it to crio
KubeletArguments: legacyconfigv1.ExtendedArguments{

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

So ultimately this is a rhcos / rhel / installer problem - why is crio not at the standard CRI path instead of having to know directly about crio? @mrunalp for 4.0 it would be better if crio was at the path the kubelet defaults to.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

CRI is an interface, I should have to know it’s crio.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The kubelet used to special-case the dockershim; I hope that's not the case anymore.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Kubelet still special cases a crio sock for cadvisor , I’m not following Clayton’s comments.

@wking wking Nov 14, 2018 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

... I’m not following Clayton’s comments.

CRI should allow the kubelet (and other consumers) to run on top of a given CRI implementation (e.g. CRI-O), without having to break the abstraction and care about which implementation it is.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@wking i agree, that is not the state of the world at this time. it will be 6mos or more before that is true.

@squeed

squeed commented Nov 14, 2018 •

Copy link
Copy Markdown
Contributor Author

This should resolve a lot of the installer's networking issues. Or, at least get us closer.

@derekwaynecarr

Copy link
Copy Markdown
Member

/approve
/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Nov 14, 2018
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: derekwaynecarr, squeed

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

@openshift-merge-robot
openshift-merge-robot merged commit 20dde58 into openshift:master Nov 14, 2018
@squeed
squeed deleted the crio branch November 26, 2018 13:22
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. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants