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

Show information about the OCI container runtime #12121

Open
afbjorklund opened this issue Aug 4, 2021 · 4 comments
Open

Show information about the OCI container runtime #12121

afbjorklund opened this issue Aug 4, 2021 · 4 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/backlog Higher priority than priority/awaiting-more-evidence.

Comments

@afbjorklund
Copy link
Collaborator

There seems to some interest into which OCI container runtime (e.g. runc, crun)
that is being used by the CRI container runtime (e.g. docker, containerd, cri-o)

Maybe we should add a feature to the "cruntime" abstraction, to retreive this info ?
Then it could be displayed along with the other information, such as the version.

Currently we dump a hard-coded list, in minikube version --components

Related to: #11747 #12027

There is a slight confusion in terminology, with "container runtime" (engine) vs "container runtime" (runtime):

https://developers.redhat.com/blog/2018/02/22/container-terminology-practical-introduction#h.6yt1ex5wfo55

Container Runtime

A container runtime a lower level component typically used in a Container Engine but can also be used by hand for testing. The Open Containers Initiative (OCI) Runtime Standard reference implementation is runc. This is the most widely used container runtime, but there are others OCI compliant runtimes, such as crun, railcar, and katacontainers. Docker, CRI-O, and many other Container Engines rely on runc.

But we could show the information about which is being used, at least in the log file (if not in the UI) ?

I'm not sure where this actually makes a difference, but since we already show "runc" (and soon "crun")...


docker info | grep "Default Runtime"

Default Runtime: runc

containerd config dump | grep "runtime "

runtime = "runc"

crio config | grep ^default_runtime

default_runtime = "runc"

@afbjorklund afbjorklund added the kind/feature Categorizes issue or PR as related to a new feature. label Aug 4, 2021
@afbjorklund
Copy link
Collaborator Author

In other news, runc was finally released (1.0) after being a Release Candidate for all this time... (5 years, since 2016)

https://github.com/opencontainers/runc/releases/tag/v1.0.0

https://github.com/opencontainers/runc/releases/tag/v1.0.0-rc1

Docker 20.10.8 was just released yesterday, including runc 1.0.1 and containerd 1.4.9 (that would be, on 2021-08-03)

@afbjorklund afbjorklund added the priority/backlog Higher priority than priority/awaiting-more-evidence. label Aug 5, 2021
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle stale
  • Mark this issue or PR as rotten with /lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Nov 3, 2021
@k8s-triage-robot
Copy link

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

  • After 90d of inactivity, lifecycle/stale is applied
  • After 30d of inactivity since lifecycle/stale was applied, lifecycle/rotten is applied
  • After 30d of inactivity since lifecycle/rotten was applied, the issue is closed

You can:

  • Mark this issue or PR as fresh with /remove-lifecycle rotten
  • Close this issue or PR with /close
  • Offer to help out with Issue Triage

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Dec 3, 2021
@klaases
Copy link
Contributor

klaases commented Dec 22, 2021

/remove-lifecycle rotten

@sharifelgamal sharifelgamal added lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. and removed lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. labels Dec 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/backlog Higher priority than priority/awaiting-more-evidence.
Projects
None yet
Development

No branches or pull requests

5 participants