Skip to main content

installer create

Create a new kURL installer manifest by providing a YAML file for a cluster. For more information, see Creating a kURL Installer.

Usage

replicated installer create [flags]
FlagType (if applicable)Description
--autoGenerate the default values for use in the CI
-y, --confirm-autoAuto-accept the configuration generated by the --auto flag
--ensure-channelWhen used with --promote channel, creates the channel if it does not exist.
--promotestringChannel name or ID to promote this installer to. Channel name is case sensitive.
--yamlstringThe YAML config for this installer. Use '-' to read from stdin. Cannot be used with the --yaml-file flag.
--yaml-filestringThe file name with YAML config for this installer. Cannot be used with the --yaml flag.
-h, --helpHelp for the command.
--appstringThe app slug or app ID to use in all calls. The default uses the $REPLICATED_APP environment variable.
--tokenstringThe API token used to access your application in the Vendor API. The default uses the $REPLICATED_API_TOKEN environment variable.

Examples

cat longhorn.yaml
apiVersion: "cluster.kurl.sh/v1beta1"
kind: "Installer"
metadata:
name: "longhorn-install"
spec:
kubernetes:
version: "1.21.x"
weave:
version: "2.8.x"
prometheus:
version: "latest"
registry:
version: "latest"
containerd:
version: "latest"
kotsadm:
version: "latest"
ekco:
version: "latest"
minio:
version: "latest"
longhorn:
version: "latest"
metricsServer:
version: "latest"
goldpinger:
version: "latest"

replicated installer create --yaml-file ./longhorn.yaml --promote Unstable
• Creating Installer ✓
• SEQUENCE: 2
• Promoting ✓
• Channel 1xy9tHhAwHyoc0HEybppxPpbPn6 successfully set to installer 2