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

Back-off pulling image "alpine:3.10" #2204

Open
lizu18xz opened this issue Aug 13, 2024 · 6 comments
Open

Back-off pulling image "alpine:3.10" #2204

lizu18xz opened this issue Aug 13, 2024 · 6 comments

Comments

@lizu18xz
Copy link

lizu18xz commented Aug 13, 2024

What happened?

What command can be used to modify the image name in initContainers?
image

image

What did you expect to happen?

modify the image name in initContainers

Environment

Kubernetes version:

$ kubectl version

Training Operator version:

$ kubectl get pods -n kubeflow -l control-plane=kubeflow-training-operator -o jsonpath="{.items[*].spec.containers[*].image}"
kubeflow/training-operator:v1-855e096

Training Operator Python SDK version:

$ pip show kubeflow-training

Impacted by this bug?

Give it a 👍 We prioritize the issues with most 👍

@wucb
Copy link

wucb commented Aug 14, 2024

Modify training-operator config
set --pytorch-init-container-image=xxx in commd

@tenzen-y
Copy link
Member

Modify training-operator config set --pytorch-init-container-image=xxx in commd

Yes, you can pass an arbitrary initContainer image via the operator command:

flag.StringVar(&config.Config.PyTorchInitContainerImage, "pytorch-init-container-image",
config.PyTorchInitContainerImageDefault, "The image for pytorch init container")

/remove-kind bug
/kind question

@lizu18xz
Copy link
Author

training-operator config

training-operator config Where is it? I found deploymenty.yaml 。But I don't know how to set pytorch-init-container-image

@lizu18xz
Copy link
Author

Modify training-operator config set --pytorch-init-container-image=xxx in commd

/remove-kind bug

Modify training-operator config set --pytorch-init-container-image=xxx in commd

Yes, you can pass an arbitrary initContainer image via the operator command:

flag.StringVar(&config.Config.PyTorchInitContainerImage, "pytorch-init-container-image",
config.PyTorchInitContainerImageDefault, "The image for pytorch init container")

/remove-kind bug /kind question

How to use this command? I only found deploymenty.yaml.
image
I couldn't find the training operator config, use : kubectl get cm -A
Can you explain it in detail? Thank you

@Syulin7
Copy link
Contributor

Syulin7 commented Aug 16, 2024

@lizu18xz

kubectl edit deploy training-operator -n kubeflow

    spec:
      containers:
      - command:
        - /manager
        - --pytorch-init-container-image=your-image

@andreyvelich
Copy link
Member

/remove-label lifecycle/needs-triage

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

No branches or pull requests

5 participants