Skip to main content

installer create

Create a new Kubernetes installer manifest by providing a YAML file for a cluster. For more information, see Create An Installer in the kURL documentation.

Usage

replicated installer create [flags]
FlagTypeDescription
--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 , this command creates the channel if it doesn't already exist
--promotestringChannel name or id to promote this installer to
--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 admin-console
--app stringThe app slug or app id used in all calls (default uses $REPLICATED_APP env variable)
--token stringThe API token used to access your app in the Vendor API (default uses $REPLICATED_API_TOKEN env 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