I want to create an airgap installer bundle

I have generated an installer url according to the document here: https://kurl.sh/docs/create-installer/creating-an-installer-api but I want to turn that into an airgap bundle such as would be available from https://kurl.sh/aeb67a7.

My URL is https://kurl.sh/2b60ce1 and it works in a command like this for an online instance:
curl -sSL ``https://kurl.sh/2b60ce1`` | sudo bash -s app-version-label=1.13.3

But I also want to be able to install onto an airgapped instance, and I don’t know how to build an airgap bundle for the installer outside of a channel.

(Long story…I’m not a developer–I’m support and the released installers don’t include a specific version of the base kURL installer (Releases · replicatedhq/kURL · GitHub))

Hello. Do you just want to download the air gap bundle for your kURL installer? If so, you can do that at the URL you posted. If you click https://kurl.sh/aeb67a7, you’ll see instructions on how to download and install with an air gap bundle.

If you’re looking for something different, let me know.

You’d think so, but that doesn’t work.

When I go to the URL that includes the correct parameters, https://kurl.sh/2b60ce1 and click on the Download airgap bundle button, I see Internal Server Error. (I tried in other browsers, but that doesn’t matter: Firefox, Chrome, and Edge)

Hi @lepome,

Your spec has the kURL installer version pinned to v2024.12.04-0:

json

"kurl": {
  "excludeBuiltinHostPreflights": false,
  "installerVersion": "v2024.12.04-0"
}

This version is outdated and likely incompatible with other add-ons in your spec, which is causing the airgap bundle generation to fail.

Fix: Remove the installerVersion pin unless you have a specific reason to keep it. Here’s your spec without it: https://kurl.sh/21975c8

Let us know if that resolves it, and if you need further help with customer specifics, please open a support ticket at Replicated.

Gerard

Here’s the deal: Some of our customers don’t update their applications as often as they should. As we discussed in https://github.com/replicated-collab/knime-replicated/issues/396#issuecomment-3708404013 when those customers need to install an interim (required) version on their way to the current version, not pinning the installerVersion causes problems because they get the wrong supporting files (e.g. kurl-util). So I want to be sure that I am defining the correct collection of assets.

Asking AI gave me this command:
curl -fL -o kurlbundlefor1-13-3.tar.gz https://k8s.kurl.sh/bundle/2b60ce1.tar.gz
Will that work?

Hi @lepome

Thanks for the context,

I’m looking into this with our team for more details on airgap bundle generation for kURL v2024.12.04-0

In the meantime, could you open another vendor support ticket? Since this community forum is public, a support ticket will allow us to dig into your specific configuration in a more appropriate setting and get you a faster, more thorough response.

You can open a ticket at Replicated.

Gerard

Hi @lepome,

The spec is fixed now. Could you try to download it again and let us know how it goes?

Gerard