-
Notifications
You must be signed in to change notification settings - Fork 146
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
Use containerd
as default container runtime socket for standard Kubernetes
#508
Use containerd
as default container runtime socket for standard Kubernetes
#508
Conversation
Signed-off-by: Rishit Dagli <rishit.dagli@gmail.com>
Signed-off-by: Rishit Dagli <rishit.dagli@gmail.com>
Signed-off-by: Rishit Dagli <rishit.dagli@gmail.com>
Signed-off-by: Rishit Dagli <rishit.dagli@gmail.com>
Signed-off-by: Rishit Dagli <rishit.dagli@gmail.com>
bcc3600
to
0e5fa18
Compare
I haven't updated the version yet, I think we would put this as a breaking change, right? |
Good question. I think a patch version bump could be sufficient given that you can still configure the path in the Helm charts to point to docker. |
Let's see how the e2e test go but this looks great @Rishit-dagli! If you are interested in updating the docs too, here is the associated doc: https://github.com/project-akri/akri-docs/blob/main/docs/user-guide/cluster-setup.md |
This is from my fork, so we should also wait for the tests here. But here are the test results: https://github.com/Rishit-dagli/akri/actions/runs/3002656848 . MicroK8s-1.19 fails however the rest of them do pass. |
Yep I had created project-akri/akri-docs#52 updating the docs |
Signed-off-by: Rishit Dagli <rishit.dagli@gmail.com>
cb726dc
to
4d07d75
Compare
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.
This looks great! Once we remove EOL k8s versions from the matrix per #506 (comment), i think this will be good to go. If you want to speed this along, feel free to remove k8s 1.16 from the matrix.
Signed-off-by: Rishit Dagli <rishit.dagli@gmail.com>
Gotcha, I pushed 9212456 which does that |
…ernetes (project-akri#508) * Update tests Signed-off-by: Rishit Dagli <rishit.dagli@gmail.com> * Update helm templates Signed-off-by: Rishit Dagli <rishit.dagli@gmail.com> * Update helm values Signed-off-by: Rishit Dagli <rishit.dagli@gmail.com> * Update helm lint commands Signed-off-by: Rishit Dagli <rishit.dagli@gmail.com> * Updates tests Signed-off-by: Rishit Dagli <rishit.dagli@gmail.com> * Update version Signed-off-by: Rishit Dagli <rishit.dagli@gmail.com> * Remove Kubernetes 1.16 Signed-off-by: Rishit Dagli <rishit.dagli@gmail.com> Signed-off-by: Rishit Dagli <rishit.dagli@gmail.com> Signed-off-by: Leo Lu <leolu@microsoft.com>
* Use latest version of clap in webhook to remove unmaintained ansi_term dep Signed-off-by: Kate Goldenring <kate.goldenring@fermyon.com> * Bump version Signed-off-by: Kate Goldenring <kate.goldenring@fermyon.com> * update toml files to v1.63.0 (latest) Signed-off-by: Adithya J <adjayach@microsoft.com> * update rust version + use env var in command Signed-off-by: Adithya J <adjayach@microsoft.com> * update toolchain + actions Signed-off-by: Adithya J <adjayach@microsoft.com> * update readme with new latest version Signed-off-by: Adithya J <adjayach@microsoft.com> * revert tarpaulin to 0.20.1, 0.21.0 is not on docker hub yet Signed-off-by: Adithya J <adjayach@microsoft.com> * Use `containerd` as default container runtime socket for standard Kubernetes (#508) * Update tests Signed-off-by: Rishit Dagli <rishit.dagli@gmail.com> * Update helm templates Signed-off-by: Rishit Dagli <rishit.dagli@gmail.com> * Update helm values Signed-off-by: Rishit Dagli <rishit.dagli@gmail.com> * Update helm lint commands Signed-off-by: Rishit Dagli <rishit.dagli@gmail.com> * Updates tests Signed-off-by: Rishit Dagli <rishit.dagli@gmail.com> * Update version Signed-off-by: Rishit Dagli <rishit.dagli@gmail.com> * Remove Kubernetes 1.16 Signed-off-by: Rishit Dagli <rishit.dagli@gmail.com> Signed-off-by: Rishit Dagli <rishit.dagli@gmail.com> * bump version Signed-off-by: Kate Goldenring <kate.goldenring@fermyon.com> * A workflow to auto bump versions (#510) * A workflow to auto update versions Signed-off-by: Rishit Dagli <rishit.dagli@gmail.com> * Don't run on comment delete Signed-off-by: Rishit Dagli <rishit.dagli@gmail.com> * Allow to checkout on a fork Signed-off-by: Rishit Dagli <rishit.dagli@gmail.com> * Update PR template (#511) Signed-off-by: Rishit Dagli <rishit.dagli@gmail.com> Signed-off-by: Rishit Dagli <rishit.dagli@gmail.com> * kubernetes version update Signed-off-by: Adithya J <adjayach@microsoft.com> * adding self as a code maintainer Signed-off-by: Adithya J <adithyajay@gmail.com> * Add cri-socket arg, get logs for k8s Signed-off-by: Adithya Jayachandran <adithyajay@gmail.com> * add images to CTR for containerd Signed-off-by: Adithya Jayachandran <adithyajay@gmail.com> * Add status on fail (best effort) Signed-off-by: Adithya Jayachandran <adithyajay@gmail.com> * taint appropriate labels Signed-off-by: Adithya Jayachandran <adithyajay@gmail.com> * Helm: Enabling passing multi-line strings for custom.configuration.discoveryDetails parameter in Helm values. (#522) * Enabling passing multi-line strings for custom.configuration.discoveryDetails. Signed-off-by: Karapet Kostandyan <kakostan@microsoft.com> * Helm: Enabled usage of network connection for custom discovery handler. (#523) * Helm: Enabled usage of network connection for custom discovery handler. Signed-off-by: Karapet Kostandyan <kakostan@microsoft.com> * Update k3s, microk8s Signed-off-by: Adithya Jayachandran <adithyajay@gmail.com> * Update patch version Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Update patch version Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix borrow deref ref and use as_ref instead of to_string as linter specifies Signed-off-by: Adithya Jayachandran <adithyajay@gmail.com> * needless match lint Signed-off-by: Adithya Jayachandran <adithyajay@gmail.com> * Rust format update + ignoring derive PartialEq and Eq check. prost has an issue where it does not derive Eq along with PartialEq. Bypassing this until this is solved Signed-off-by: Adithya Jayachandran <adithyajay@gmail.com> * invalid ip address msg now reworded to invalid socket address updating check for that Signed-off-by: Adithya Jayachandran <adithyajay@gmail.com> * update opcua to 0.11.0 to fix out of bounds write + uncontrolled resource consumption Signed-off-by: Adithya J <adithyajay@gmail.com> * Cargo.lock was previously pushed, updated with latest dependencies Signed-off-by: Adithya J <adithyajay@gmail.com> * Update to version 0.8.22 Signed-off-by: Adithya Jayachandran <adithyajay@gmail.com> * update toml files to v1.63.0 (latest) Signed-off-by: Adithya J <adjayach@microsoft.com> * update rust version + use env var in command Signed-off-by: Adithya J <adjayach@microsoft.com> * update toolchain + actions Signed-off-by: Adithya J <adjayach@microsoft.com> * update readme with new latest version Signed-off-by: Adithya J <adjayach@microsoft.com> * revert tarpaulin to 0.20.1, 0.21.0 is not on docker hub yet Signed-off-by: Adithya J <adjayach@microsoft.com> * fix borrow deref ref and use as_ref instead of to_string as linter specifies Signed-off-by: Adithya Jayachandran <adithyajay@gmail.com> * needless match lint Signed-off-by: Adithya Jayachandran <adithyajay@gmail.com> * Rust format update + ignoring derive PartialEq and Eq check. prost has an issue where it does not derive Eq along with PartialEq. Bypassing this until this is solved Signed-off-by: Adithya Jayachandran <adithyajay@gmail.com> * invalid ip address msg now reworded to invalid socket address updating check for that Signed-off-by: Adithya Jayachandran <adithyajay@gmail.com> * version 0.8.23 Signed-off-by: Adithya Jayachandran <adithyajay@gmail.com> Signed-off-by: Kate Goldenring <kate.goldenring@fermyon.com> Signed-off-by: Adithya J <adjayach@microsoft.com> Signed-off-by: Rishit Dagli <rishit.dagli@gmail.com> Signed-off-by: Adithya J <adithyajay@gmail.com> Signed-off-by: Adithya Jayachandran <adithyajay@gmail.com> Signed-off-by: Karapet Kostandyan <kakostan@microsoft.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Kate Goldenring <kate.goldenring@fermyon.com> Co-authored-by: Adithya J <adjayach@microsoft.com> Co-authored-by: Rishit Dagli <rishit.dagli@gmail.com> Co-authored-by: Karapet Kostandyan <karapet.kostandyan@gmail.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
What this PR does / why we need it:
Akri by default assumes the container runtime socket to be at
/var/run/dockershim.sock
which should be changed considering the deprecation of Docker as the underlying runtime.Closes #455
Special notes for your reviewer:
If applicable:
cargo fmt
)cargo build
)cargo clippy
)cargo test
)cargo doc
)./version.sh
)