You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently when creating cluster in the airgapped environment there is no mechanism to define where k0s artifacts will be downloaded from. Thus by default cloud-init runcmd section will look something like this:
It tries download k0s from URL https://get.k0s.sh.
There is no airgap bundle being passed to the node, so even if k0s binary will be on the node rest of the images will be absent.
The solution
For the airgapped deployment downloadURL parameter should be used to define where download k0s executable from. Aslo modifications to the preStartCommands will be needed properly place k0s airgap bundle on the node.
Additionally the http endpoint with the artifacts could be deployed directly on the management cluster.
The text was updated successfully, but these errors were encountered:
The issue
Currently when creating cluster in the airgapped environment there is no mechanism to define where k0s artifacts will be downloaded from. Thus by default cloud-init
runcmd
section will look something like this:This is failing obviously because:
https://get.k0s.sh
.The solution
For the airgapped deployment
downloadURL
parameter should be used to define where download k0s executable from. Aslo modifications to thepreStartCommands
will be needed properly place k0s airgap bundle on the node.Additionally the http endpoint with the artifacts could be deployed directly on the management cluster.
The text was updated successfully, but these errors were encountered: