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

sky launch problem with cluster kubernetes #3603

Closed
taigetco opened this issue May 27, 2024 · 1 comment
Closed

sky launch problem with cluster kubernetes #3603

taigetco opened this issue May 27, 2024 · 1 comment

Comments

@taigetco
Copy link

taigetco commented May 27, 2024

Run sky in an environment with limited network access. Download the image in advance: us-central1-docker.pkg.dev/skypilot-375900/skypilotk8s/skypilot:20240321 and import the image into the containerd directory. However, kubelet will also download it when it starts. Investigation found that it was in the file kubernetes-ssh-jump.yml.j2, which sets imagePullPolicy: Always. I modified it in the local environment sky directory: sky/lib/python3.10/site-packages/sky/templates/kubernetes-ingress.yml.j2, and set imagePullPolicy: IfNotPresent.
But sky launch did not take effect again, and it still downloaded. The question I want to ask is, is the place I changed correct, or can it not be changed?

@romilbhardwaj
Copy link
Collaborator

Hey @taigetco - changing imagePullPolicy in sky/templates/kubernetes-ssh-jump.yml.j2 is all that should be required-

imagePullPolicy: Always

We will also soon be removing the SSH jump pod, so this should no longer be necessary after this PR: #3577

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

No branches or pull requests

2 participants