Skip to main content

install

This topic describes the options available with the Embedded Cluster install command. For procedural steps, see Online installation with Embedded Cluster, Air gap installation with Embedded Cluster, and Automate installation with Embedded Cluster.

Usage​

sudo ./<app-slug> install --license <path-to-license> [flags]

Flags​

To check a host without starting installation, use install run-preflights. For more information about supported settings and output formats, see Run host preflight checks without installing.

FlagTypeDescription
--airgapPerform an air-gapped installation. For more information, see Air gap installation with Embedded Cluster.
--api-portintPort for the installer UI, the admin console, and the API used by joining nodes and automation. Cannot be changed after installation. Default: 30000
--cidrstringCIDR range for Pod and Service IP addresses. Default: 10.244.0.0/16
--config-valuesstringPath to the ConfigValues file for headless installs.
--data-dirstringParent directory for Embedded Cluster data. Embedded Cluster stores its data in a subdirectory named for the application slug. For example, --data-dir /mnt/data stores data in /mnt/data/APP_SLUG. Default: /var/lib, so data is stored in /var/lib/APP_SLUG. You can also set the default with the EC_DATA_DIR environment variable.
--headlessRun installation without the interactive installer UI.
--hostnamestringHostname to use for this node.
--http-proxystringHTTP proxy URL.
--https-proxystringHTTPS proxy URL.
--ignore-app-preflightsBypass application preflight check failures. The checks still run. Applies to headless installations only, and does not override a check that the application vendor marked as required with strict: true. See Whether users can bypass a failed check.
--ignore-host-preflightsBypass Embedded Cluster host preflight check failures. The checks still run. Applies to headless installations only. See Whether users can bypass a failed check.
--installer-passwordstringPassword for the installer UI.
--installer-portintDeprecated alias for --api-port. If you pass both flags, they must have the same value. Default: 30000
-l, --licensestringPath to the license file.
--network-interfacestringNetwork interface to use.
--no-proxystringComma-separated list of hosts that should not use the proxy.
--nodeJSON string (repeatable)Expected host group, for example {"count":3,"roles":["controller"]}. Repeat the flag for each role combination. Counts include the installation node. The installer waits for the requested topology before application preflights and deployment. See Install a multi-node or HA cluster headlessly.
--registrystringAddress of a customer-managed (BYO) OCI registry to pull all application and infrastructure images from, in the form host[:port][/namespace]. For more information, see Install with a customer-managed registry.
--registry-usernamestringUsername for the BYO registry specified by --registry. Optional for anonymous registries.
--registry-passwordstringPassword for the BYO registry specified by --registry. Optional for anonymous registries.
--registry-ca-certstringPath to a PEM-encoded CA certificate used to verify the BYO registry's TLS certificate. Only required when the registry uses a private CA that is not in the host's system trust store.
--registry-tls-certstringPath to a PEM-encoded client certificate presented to the BYO registry for mTLS authentication. Use with --registry-tls-key.
--registry-tls-keystringPath to the PEM-encoded private key that pairs with --registry-tls-cert.
--rolesstringsComma-separated role names to assign to this node. Must include the controller role. Defaults to the configured controller role. For more information about defining roles, see roles in Embedded Cluster Config.
--tls-certstringPath to a TLS certificate file for the installer.
--tls-keystringPath to a TLS private key file for the installer.
-y, --yesAssume yes to prompts (for example, when skipping preflights).
-h, --helpHelp for install.