-
Notifications
You must be signed in to change notification settings - Fork 40.4k
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
Document what docker image (Dockerfile) features we support #30039
Comments
I was thinking more about healthcheck. Especially in a CRI world, could we On Wed, Aug 3, 2016 at 5:22 PM, Yu-Ju Hong [email protected] wrote:
|
To support this, we don't necessarily have to push healthcheck down to the runtime. We could augment the container status in CRI by adding an "unhealthy" state, and let kubelet decides whether to kill/restart the container. kubelet can still perform the liveness/healthness checks kubernetes API. What I really don't like is that nothing in our pod spec reflects the fact that there are health checks hidden in the image already... |
On Thu, Aug 4, 2016 at 10:25 AM, Yu-Ju Hong [email protected] wrote:
ACK. But I think that's less bad than not supporting it at all. I |
Sure, and we don't support docker v1.12 (yet). Another concern is whether other runtimes which supports docker images will also perform the health checks. If not, the behavior will be completely runtime-dependent, and even more confusing for the users. |
yeah, many issues to resolve here. On Thu, Aug 4, 2016 at 10:34 AM, Yu-Ju Hong [email protected]
|
@yujuhong could you please refer to issues related with 1.12 support? I haven't met problem with 1.12 yet on test environment. |
@pondohva my comments above was outdated. Kubernetes 1.4 is compatible with docker 1.12, so it should be fine for you to use it. See the 1.4 release note for more information. That said, kubernetes doesn't support all features in Dockerfile, and many of those already existed in the kubernetes API (e.g., health checks). The recommended docker version (i.e., the version we tested most thoroughly in the GCE+containerVM/GCI environment) for kubernetes 1.4 is docker 1.11.2. |
Let's see if we can take on this in v1.7. /cc @Random-Liu, this information would be good to have for containerd integration as well. |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
Marking it 1.10 tentatively since this would be good for non-docker CRI runtimes. |
If this is going into 1.10, can you please add a priority/ to it? Thanks! |
Has there been any work on this issue? Do you expect to get it done in the next 5 days for 1.10? |
https://docs.docker.com/engine/reference/builder
Image building instructions that are not relevant in this context: FROM, ADD, COPY, MAINTAINER, LABEL, ARG, ONBUILD, SHELL |
@yujuhong We don't support GID now, in CRI we only return |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
long-term-issue (note to self) |
/remove lifecycle-frozen |
This issue has not been updated in over 1 year, and should be re-triaged. You can:
For more details on the triage process, see https://www.kubernetes.dev/docs/guide/issue-triage/ /remove-triage accepted |
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/close |
@dims: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
For example, we don't support HEALTHCHECK.
We support STOPSIGNAL when using docker daemon (#30051).
/cc @thockin @kubernetes/sig-node
The text was updated successfully, but these errors were encountered: