Installs Kyma on a running Kubernetes cluster.
Use this command to install Kyma on a running Kubernetes cluster.
Before you use the command, make sure your setup meets the following prerequisites:
- Kyma is not installed.
- Kubernetes cluster is available with your kubeconfig file already pointing to it.
Here are the installation steps:
The standard installation uses the minimal configuration. The system performs the following steps:
-
Deploys and configures the Kyma Installer. At this point, steps differ depending on the installation type.
When you install Kyma locally from release, the system:
- Fetches the latest or specified release along with configuration.
- Deploys the Kyma Installer on the cluster.
- Applies downloaded or defined configuration.
- Applies overrides, if applicable.
- Sets the admin password.
- Patches the Minikube IP.
When you install Kyma locally from sources, the system:
- Fetches the configuration yaml files from the local sources.
- Builds the Kyma Installer image.
- Deploys the Kyma Installer and applies the fetched configuration.
- Applies overrides, if applicable.
- Sets the admin password.
- Patches the Minikube IP.
-
Runs Kyma installation until the installed status confirms the successful installation. You can override the standard installation settings using the
--override
flag.
kyma install [flags]
-c, --components string Path to a YAML file with component list to override.
-d, --domain string Domain used for installation. (default "kyma.local")
--fallbackLevel int If "source=latest-published", defines the number of commits from master branch taken into account if artifacts for newer commits do not exist yet (default 5)
-n, --noWait Flag that determines if the command should wait for Kyma installation to complete.
-o, --override stringArray Path to a YAML file with parameters to override.
-p, --password string Predefined cluster password.
-s, --source string Installation source.
- To use the specific release, write "kyma install --source=1.3.0".
- To use the latest master, write "kyma install --source=latest".
- To use the latest published master, which is the latest commit with released images, write "kyma install --source=latest-published".
- To use a commit, write "kyma install --source=34edf09a".
- To use the local sources, write "kyma install --source=local".
- To use a custom installer image, write kyma "install --source=user/my-kyma-installer:v1.4.0".
--src-path string Absolute path to local sources.
--timeout duration Time-out after which CLI stops watching the installation progress. (default 1h0m0s)
--tlsCert string TLS certificate for the domain used for installation. The certificate must be a base64-encoded value.
--tlsKey string TLS key for the domain used for installation. The key must be a base64-encoded value.
--ci Enables the CI mode to run on CI/CD systems.
-h, --help Displays help for the command.
--kubeconfig string Specifies the path to the kubeconfig file. By default, Kyma CLI uses the KUBECONFIG environment variable or "/$HOME/.kube/config" if the variable is not set.
--non-interactive Enables the non-interactive shell mode.
-v, --verbose Displays details of actions triggered by the command.
- kyma - Controls a Kyma cluster.