Skip to content

Pod sandboxes do not use payload specified image #455

Closed

Activity

  1. sdodson commented on Feb 18, 2019

    @sdodson
    Member

    /cc @vrutkovs @mtnbikenc
    We'll want to track this change so we're ideally setting the correct pause image during BYO scaleup.

  2. cgwalters commented on Feb 18, 2019

    @cgwalters
    Member

    🤔 Why are we still doing the pause image thing with cri-o? It always seemed silly...plus if we do need to do it we can pick another image to use for this right?

  3. sjenning commented on Feb 18, 2019

    @sjenning
    ContributorAuthor

    It holds open the pod-level namespaces, namely the network namespace.

    This is so the namespaces can be initialized before the application starts (assign IPs and whatnot), and maintained if the application container(s) die and need to be restarted.

  4. vrutkovs commented on Feb 19, 2019

    @vrutkovs
    Contributor
  5. mrunalp commented on Feb 19, 2019

    @mrunalp
    Member

    Also, since k8s added support for sharing pid namespaces, we can't get rid of the infra(pause) container as it is expected to be pid 1 for the pod.

  6. derekwaynecarr commented on Feb 19, 2019

    @derekwaynecarr
    Member

    I think we may want to remove the InfraImage field from ContainerRuntimeConfig as I cannot see a great reason to keep it. We should control the image that is used, not the customer.

  7. umohnani8 commented on Feb 20, 2019

    @umohnani8
    Contributor

    @sjenning is the pod image coming from docker.io or quay.io?

  8. runcom commented on Feb 20, 2019

    @runcom
    Member

    Should use the pod image from the release payload.

    what's the name of that image that I can query with docker run releasepayloadimage image {pod}?

    There is some plumbing to do here as that image pull spec is not provided to the MCO currently.

    this has to go through https://github.com/openshift/installer/blob/master/data/data/bootstrap/files/usr/local/bin/bootkube.sh.template#L155 right? we can use the ControllerConfig to render the infra image in the crio.conf like we do for etcd images (or a configmap or env variables as I learned but I'm not familiar with that process)

  9. cgwalters commented on Feb 21, 2019

    @cgwalters
    Member

    #343 is a good prior change for "get an image from the release payload into configs".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions