đī¸ Build cloud image with binary file
Command line tools such as helm or kustomize are single binary files. Sealos can package them into cloud images, and then install them by deploying cloud images on the master node.Let's take helm as an example to introduce how to package binary files into cloud image.
đī¸ Build cloud image with env
When building a cloud image, you can also pass some variables from the sealos command line with --env option.
đī¸ Build cloud image with helm charts
Let's still take the simplest nginx application as an example to introduce how to build an nginx cloud image based on hem charts.
đī¸ Build cloud image with yaml
Let's take the simplest nginx application as an example to introduce how to build a nginx cloud image.
đī¸ Build directory structure
Before building an image, it is recommended to create a standard directory structure. The sample full directory structure looks like this.
đī¸ Build Template Intro
When building an image, we support template to give maintainers full control of generated ClusterFile.
đī¸ build with sealos exec and scp
By default, The sealos run xx only run comand and copy file in first master node, when you want run command or copy file in special nodes or all nodes, you can use sealos exec or sealos scp commands in cloud images.