Swimlane Platform Installer Gu...
...
Automate Installation
Automate an Offline Embedded Installation
8 min
this topic provides automation steps for setting up an offline, single node swimlane installation on embedded clusters installation preparation and customization before you begin, review the system requirements for an embedded cluster install docid\ ld6yzgax gpbbdt2c1h3s to confirm your system's compliance the swimlane platform installer (spi) performs several checks in the initial phases of the installation to ensure the underlying host is compatible with the application to bypass any applicable checks, an installer patch yaml file can be applied at installation time to account for several of these settings refer to overriding installer settings docid\ x7jkijjg4ip6y3fqqqxyi for more options installer patch file example here is an example installer patch file you also need the following files swimlane platform installer license file (ends with yaml ) swimlane license file (ends with lic ) swimlane tar archive (ends with tar gz ) swimlane airgap bundle (ends with airgap ) embedded cluster installation once you've accounted for any customizations and system checks, install an embedded cluster by running the following command swimlane installation and deployment after the embedded kubernetes cluster has been installed, install swimlane with the following command creating an spi config file the \<spi config file> yaml file is a yaml formatted file that outlines the specifications of a swimlane deployment you can get the yaml file from an previously configured installation of spi or by creating a new file manually to obtain a file from an previously configured spi install, run the following command from a system with access to the kubernetes api and the spi kubectl add on installed kubectl kots download swimlane platform n \<namespace> this command downloads a copy of the entire spi deployment specifications to a local folder named swimlane platform the config file is located at /swimlane platform/upstream/userdata/config yaml in the downloaded folder to create the file manually, here are all configurable options available in the embedded cluster spi config file docid\ uaykeaeqkglr5tpeznlxq here is a basic version of the config file that you can use for an initial single node configuration swimlane initial login it takes a few minutes for swimlane to initialize all of the required components however, automation can effectively 'wait' for a ready state by waiting for a ready status from different parts of the deployment there are multiple ways to accomplish this wait period, the following code block is just one example next, continue with the swimlane installation by creating the initial administrative user using your swimlane license lic file, first generate the necessary license block for the api call with a curl command curl klv x post https //\<swimlane url>/api/settings/license/upload h 'content type multipart/form data' f file=@\<swimlane license file> lic then, to create the initial administrative user, insert the returned json into the following curl command