Skip to content

Potential race condition! #508

@k8sdevlk

Description

@k8sdevlk

Hello Team,

Not sure if this has addressed or not, but I have a situation in need of a solution.

Condition: when a node gets online, the images for pods (daemonset or deployment pods) on the same node would get re-written to pull from proxy via localhost:7439/whateverImageAndTagHere

If proxy pod is not up yet on the same node, then you would get ErrImagePull. I understand that the proxy pods are using priorityClassName: system-node-critical but other system pods might be using the same class name. Note, eventually pods would be able to pull image after a few minutes of delay ...

Questions:

  1. Instead of using daemonset for proxy - can we use deployment and call it via service name?

  2. Serve from remote registry rather than local pod when pod is not ready?

Thank you,

K

Metadata

Metadata

Assignees

No one assigned

    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