Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
WIP: OCPNODE-2462 - Split Filesystem OCP Enhancement #1657
WIP: OCPNODE-2462 - Split Filesystem OCP Enhancement #1657
Changes from 2 commits
3252e2d
bc06232
33f0ce5
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps. Kubelet GC's old images. We could move this to out-of-scope. If for any reason this feature was turned off then the kubelet's GC would remove those stale images anyway.
Another question would be disconnected installs. I think we should write in here that we do not support disconnected installs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why would disconnected installers be impacted here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we wouldn't be able to GC old images if crio doesn't keep track of the images at the old location
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I asked podman about what they do is this scenario. Generally once these configurations change, the containers/images are not cleaned up with any podman functions.
I think day 1 support for this would be necessary. Maybe we could state that if one enables this feature, deleting the graphroot/imagestore is the recommended procedure. I don't know if that means we need to do this with MCO.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the more I think about this problem the more i think we should hardcode imagestore to
/var/lib/images
permanently and handle the update once for everyone then not have to deal with it againThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should spell out what to do with the containers (which would be left over after the reboot), especially because a lot of those containers will require a running network pod to remove
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have this sorta as an open question.
Do we manually delete all of /var/lib/container/storage on enablement of this feature or disable?
I think using a tool like
crictl
may actually not work if we change the container runtime. For podman changing these locations does orphan those containers/images.I think a manual rm may be the best thing we can do.. Unless we delete before enablement of the feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we want the old images removed?