Embedded Cluster Install Command Options
This topic describes the options available with the Embedded Cluster install command. For more information about how to install with Embedded Cluster, see Online Installation with Embedded Cluster or Air Gap Installation with Embedded Cluster.
Usage
sudo ./APP_SLUG install --license LICENSE_FILE [flags]
APP_SLUG
is the unique application slugLICENSE_FILE
is the customer's license
Flags
Flag | Description |
---|---|
--admin-console-password | Set the password for the Admin Console. The password must be at least six characters in length. If not set, the user is prompted to provide an Admin Console password. |
--admin-console-port | Port on which to run the KOTS Admin Console. Default: By default, the Admin Console runs on port 30000. Limitation: It is not possible to change the port for the Admin Console during a restore with Embedded Cluster. For more information, see Disaster Recovery for Embedded Cluster (Alpha). |
--airgap-bundle | The Embedded Cluster air gap bundle used for installations in air-gapped environments with no outbound internet access. For information about how to install in an air-gapped environment, see Air Gap Installation with Embedded Cluster. |
--cidr | The range of IP addresses that can be assigned to Pods and Services, in CIDR notation. Default: By default, the CIDR block is Requirement: Embedded Cluster 1.16.0 or later. |
--config-values | Path to the ConfigValues file for the application. The ConfigValues file can be used to pass the application configuration values from the command line during installation, such as when performing automated installations as part of CI/CD pipelines. For more information about generating the ConfigValues file for a release, see Generating a ConfigValues File. Requirement: Embedded Cluster 1.18.0 and later. |
--data-dir | The data directory used by Embedded Cluster. Default: Requirement: Embedded Cluster 1.16.0 or later. Limitations:
|
--http-proxy | Proxy server to use for HTTP. Requirement: Proxy installations require Embedded Cluster 1.5.1 or later with Kubernetes 1.29 or later. Limitations:
|
--https-proxy | Proxy server to use for HTTPS. Requirement: Proxy installations require Embedded Cluster 1.5.1 or later with Kubernetes 1.29 or later. Limitations:
|
--local-artifact-mirror-port | Port on which to run the Local Artifact Mirror (LAM). Default: By default, the LAM runs on port 50000. |
--network-interface | The name of the network interface to bind to for the Kubernetes API. A common use case of |
--no-proxy | Comma-separated list of hosts for which not to use a proxy. For single-node installations, pass the IP address of the node where you are installing. For multi-node installations, when deploying the first node, pass the list of IP addresses for all nodes in the cluster (typically in CIDR notation). The network interface's subnet will automatically be added to the no-proxy list if the node's IP address is not already included. The following are never proxied:
To ensure your application's internal cluster communication is not proxied, use fully qualified domain names like Requirement: Proxy installations require Embedded Cluster 1.5.1 or later with Kubernetes 1.29 or later. Limitations:
|
--private-ca | The path to trusted certificate authority (CA) certificates. Using the The KOTS PrivateCACert template function returns the ConfigMap containing the private CA certificates supplied with the |
Examples
Air Gap Install
sudo ./my-app install --license license.yaml --airgap-bundle myapp.airgap
Change the Admin Console and LAM Ports
sudo ./my-app install --license license.yaml --admin-console-port=20000 --local-artifact-mirror-port=40000
Change the Data Directory
sudo ./my-app install --license license.yaml --data-dir /data/embedded-cluster
Headless (Automated) Install
sudo ./my-app install --license license.yaml \
--config-values configvalues.yaml \
--admin-console-password password
Install Behind a Proxy
sudo ./APP_SLUG install --license license.yaml \
--http-proxy=HOST:PORT \
--https-proxy=HOST:PORT \
--no-proxy=LIST_OF_HOSTS
Where:
HOST:PORT
is the host and port of the proxy serverLIST_OF_HOSTS
is the list of hosts to not proxy. For example, the IP address of the node where you are installing. Or, for multi-node clusters, the list of IP addresses for all nodes in the cluster, typically in CIDR notation.
Install Behind an MITM Proxy
sudo ./my-app install --license license.yaml --private-ca /path/to/private-ca-bundle \
--http-proxy=http://10.128.0.0:3300 \
--https-proxy=http://10.128.0.0:3300 \
--no-proxy=123.89.46.4,10.96.0.0/16,*.example.com
Set Admin Console Password
sudo ./my-app install --license license.yaml --admin-console-password password
Set IP Address Range for Pods and Services
sudo ./my-app install --license license.yaml --cidr 172.16.136.0/16
Use a Specific Network Interface
sudo ./my-app install --license license.yaml --network-interface eno167777