-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
28 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
# Setting Your Module to the Managed/Unmanaged State in Kyma CLI | ||
# Setting Your Module to the Managed and Unmanaged State in Kyma CLI | ||
|
||
In some cases, for example, for testing, you may need to modify your module beyond what is supported by its configuration. By default, when a module is in the managed state, Kyma Control Plane governs its Kubernetes resources, reverting any manual changes during the next reconciliation loop. | ||
|
||
To modify Kubernetes objects directly without them being reverted, you must set the module to the unmanaged state. In this state, reconciliation is disabled, ensuring your manual changes are preserved. | ||
|
||
> [!CAUTION] | ||
> Setting your module to the Unmanaged state may lead to instability and data loss within your cluster. It may also be impossible to revert the changes. In addition, we don't guarantee any service level agreement (SLA) or provide updates and maintenance for the module. | ||
> Setting your module to the unmanaged state may lead to instability and data loss within your cluster. It may also be impossible to revert the changes. In addition, we don't guarantee any service level agreement (SLA) or provide updates and maintenance for the module. | ||
|
||
## Steps | ||
## Procedure | ||
|
||
### Setting a Module to the Managed State | ||
|
||
|
||
1. To set Module to the Managed state, use the command below: | ||
1. To set a module to the managed state, use the following command: | ||
|
||
``` | ||
kyma alpha module manage {MODULE-NAME} | ||
``` | ||
2. Even if the Module is already Managed, you can change it's policy by adding optional flag ``--policy {POLICY-NAME}``. The default policy is ``CreateAndDelete``. | ||
2. Even if the module is already in the managed state, you can change its policy by adding the optional flag ``--policy {POLICY-NAME}``. The default policy is ``CreateAndDelete``. | ||
### Setting a Module to the Unmanaged State | ||
1. To set Module to the Unmanaged state, use the command below: | ||
1. To set a module to the unmanaged state, use the following command:: | ||
``` | ||
kyma alpha module unmanage {MODULE-NAME} | ||
``` | ||
> [!CAUTION] | ||
> Depending on the introduced changes, bringing back the module to the Managed state might not be possible. | ||
> Depending on the introduced changes, bringing back the module to the managed state might not be possible. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# Tutorials | ||
|
||
This section will help you understand how Kyma CLI and how to use it in different scenarios. | ||
This section will help you understand Kyma CLI and how to use it in different scenarios. |