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]
Flag | Type (if applicable) | Description |
---|---|---|
--auto | Generate the default values for use in the CI | |
-y, --confirm-auto | Auto-accept the configuration generated by the --auto flag | |
--ensure-channel | When used with --promote channel , creates the channel if it does not exist. | |
--promote | string | Channel name or ID to promote this installer to. Channel name is case sensitive. |
--yaml | string | The YAML config for this installer. Use '-' to read from stdin. Cannot be used with the --yaml-file flag. |
--yaml-file | string | The file name with YAML config for this installer. Cannot be used with the --yaml flag. |
-h, --help | Help for the command. | |
--app | string | The app slug or app ID to use in all calls. The default uses the $REPLICATED_APP environment variable. |
--token | string | The 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