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

Air-Gapped installation ready-made image bundle missing a dependency?! #5538

Closed
tmeltser opened this issue Feb 5, 2025 · 5 comments
Closed

Comments

@tmeltser
Copy link

tmeltser commented Feb 5, 2025

Hi,
I was just trying to run docker composed air-gapped K0S following the instructions set in the documentation (https://docs.k0sproject.io/stable/airgap-install).

I have managed to get K0S work with the ready-made image bundle (B.T.W - setting the $K0S_DATA_DIR environment variables as suggested in the documentation messed up the cluster totally, so I had to use another approach), but then the cluster failed to boot since he couldn't find the push-gateway image: quay.io/k0sproject/pushgateway-ttl:1.4.0-k0s.0

  1. Why isn't this image included in the ready-made image bundle?
  2. In order to solve this I had to change the startup parameters as follows (within the compose fille):
  • Remove --enable-metrics-scraper
  • Modify --disable-components=endpoint-reconciler => --disable-components=endpoint-reconciler,metrics-server
  • Is there a better way to do it (unless the missing image mentioned above is going to be added to ready-made image bundle)?

10x
Tiran.

@twz123
Copy link
Member

twz123 commented Feb 5, 2025

This is #5455 and #5456.

setting the $K0S_DATA_DIR environment variables as suggested in the documentation messed up the cluster totally

Not sure I follow. That environment variable isn't used by k0s. I see that it's used once at the very end of that docs page, but its meaning is more like <data-dir>/images, i.e. a placeholder for the actual data directory used on the node.

@twz123
Copy link
Member

twz123 commented Feb 5, 2025

/xref #5360

@tmeltser
Copy link
Author

This is #5455 and #5456.

setting the $K0S_DATA_DIR environment variables as suggested in the documentation messed up the cluster totally

Not sure I follow. That environment variable isn't used by k0s. I see that it's used once at the very end of that docs page, but its meaning is more like <data-dir>/images, i.e. a placeholder for the actual data directory used on the node.

I think the wording is a little confusing, maybe adding a few additional words (like the ones above) would prevent this unclarity, but it might be just me.

@tmeltser
Copy link
Author

As for the main issue (inclusion of the pushgateway in the offline bundle),if I understand correctly, it is supposed to be included in the near future - right?

@jnummelin
Copy link
Member

@tmeltser yes, "near future" in this case meaning with the next release

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

3 participants