website icon indicating copy to clipboard operation
website copied to clipboard

Init containers concept page is confusing - https://k8s.io/docs/concepts/workloads/pods/init-containers/

Open cloud411716 opened this issue 4 years ago • 14 comments

K8S v1.23 doc about init containers have these two lines: 1、“Changes to the init container spec are limited to the container image field. Altering an init container image field is equivalent to restarting the Pod.” 2、“The Pod will not be restarted when the init container image is changed, or the init container completion record has been lost due to garbage collection.”

so which one is true? altering an init container image will restart the pod or not?

cloud411716 avatar Dec 05 '22 02:12 cloud411716

/language en /kind support

utkarsh-singh1 avatar Dec 05 '22 06:12 utkarsh-singh1

/retitle Init containers concept page is confusing - https://k8s.io/docs/concepts/workloads/pods/init-containers/

sftim avatar Dec 05 '22 21:12 sftim

There's a difference between changing the string that represents the URI of an image, and changing the image that the URI represents. I think the page is talking about 2 different things, but not very clearly.

(aside: Docker uses the term URI or URL for images, but the rest of the world of IT uses the term URI to mean web URIs)

sftim avatar Dec 05 '22 21:12 sftim

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

This bot triages un-triaged issues 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 as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

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

/lifecycle stale

k8s-triage-robot avatar Mar 05 '23 22:03 k8s-triage-robot

/remove-lifecycle stale

utkarsh-singh1 avatar Mar 14 '23 06:03 utkarsh-singh1

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

This bot triages un-triaged issues 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 as fresh with /remove-lifecycle stale
  • Close this issue with /close
  • Offer to help out with Issue Triage

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

/lifecycle stale

k8s-triage-robot avatar Jun 12 '23 07:06 k8s-triage-robot

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

This bot triages un-triaged issues 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 as fresh with /remove-lifecycle rotten
  • Close this issue with /close
  • Offer to help out with Issue Triage

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

/lifecycle rotten

k8s-triage-robot avatar Jul 12 '23 07:07 k8s-triage-robot

/remove-lifecycle rotten

utkarsh-singh1 avatar Jul 18 '23 05:07 utkarsh-singh1

We can mention the Pod image field as - .spec.containers.image and can mention init container image as (changing image from the repository.)

utkarsh-singh1 avatar Jul 18 '23 05:07 utkarsh-singh1

/remove-kind support

sftim avatar Jul 20 '23 20:07 sftim

/sig node /triage accepted /priority backlog

sftim avatar Jul 20 '23 20:07 sftim

If someone can give me the correct idea behind each of those two statements, I would be glad to make the change to the docs and create a pull req.

jnelson-wasabi avatar May 22 '24 16:05 jnelson-wasabi

/assign

vishnuswmech avatar Sep 14 '24 16:09 vishnuswmech

Raised the PR for this. https://github.com/kubernetes/website/pull/47946

vishnuswmech avatar Sep 16 '24 13:09 vishnuswmech