-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1383 from kubeshop/julianne/doc/monokle/doc-updat…
…es-1.5.0-17-02-2022 Monokle Documentation Update 17/02/2022
- Loading branch information
Showing
46 changed files
with
297 additions
and
161 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
# Deploying and Diffing Resources | ||
|
||
When a resource is selected in the navigator, the Editor contains "Deploy" and "Diff" buttons in the top right. | ||
When a resource is selected in the navigator, the Editor contains **Deploy** and **Diff** buttons in the top right. | ||
|
||
![Deploy and Diff buttons](img/deploy-and-diff-buttons-1.5.0.png) | ||
|
||
- Selecting "Deploy" will deploy the selected resource to the currently configured Cluster. A status message will be | ||
- Selecting **Deploy** will deploy the selected resource to the currently configured Cluster. A status message will be | ||
shown in the top right after deploying. | ||
- Selecting "Diff" will diff the selected resource against the currently configured cluster; | ||
- Selecting **Diff** will diff the selected resource against the currently configured cluster; | ||
- If the resource does not exist in the cluster an error will be shown. | ||
- If the resource _does_ exist a Diff dialog will be shown. | ||
|
||
![Resource Diff](img/resource-diff-1.4.0.png) | ||
![Resource Diff](img/diff-tble-8-1.5.0.png) | ||
|
||
In this screenshot | ||
|
||
- The left side shows the resource in Monokle. | ||
- The right side shows the resource retrieved from the cluster. | ||
- Differences are highlighted as shown. | ||
|
||
Refreshing the diff is done with the "Refresh" button and deploying your local version of the resource to your cluster is done with "Deploy". | ||
Refreshing the diff is done with the **Refresh** button and deploying your local version of the resource to your cluster is done with **Deploy**. | ||
|
||
## Editing resource in Cluster Mode | ||
## **Editing a Resource in Cluster Mode** | ||
|
||
Monokle allows you to edit any resource viewed in [Cluster Mode](cluster-integration.md) and use the Deploy button to apply those changes back | ||
to the cluster. This immediately applies "hot fixes" to your cluster during browsing. |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Creating Resources | ||
|
||
While using Monokle, you can directly add new K8s resources. Once you have browsed and added your project folder, click on the “New Resource” button at the top of the navigator to launch the “Add New Resource” dialog. | ||
|
||
![Add Resource](img/add-resource-1.5.0.png) | ||
|
||
For adding resources to new or existing files in the navigator, click on the Save button at the top-right corner of the interface. | ||
|
||
![Resource save](img/add-resource-save.png) | ||
|
||
While creating a resource, it is possible to select an existing resource as a template from the drop-down menu. | ||
|
||
![Resource template](img/template.png) |
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,52 +1,54 @@ | ||
## 1. What are the prerequisites for using Monokle? | ||
# FAQ | ||
|
||
## **1. What are the prerequisites for using Monokle?** | ||
|
||
You will need to install the following two prerequisites to successfully run Monokle: | ||
|
||
1. [Helm](https://helm.sh/docs/intro/install/) - Required for [Helm Preview](./helm.md#helm-preview) functionality. | ||
2. [Kubectl](https://kubernetes.io/docs/tasks/tools/) - Required for [Kustomize Preview](./kustomize.md#kustomize-preview) and [Deploy/Diff](./apply-and-diff.md) functionality. | ||
|
||
## 2. What OS does Monokle support? | ||
## **2. What OS does Monokle support?** | ||
|
||
Monokle supports Windows, MacOS and Linux. Get the latest installers for MacOS and Windows on [GitHub](https://github.com/kubeshop/monokle). For running Monokle on | ||
Linux, run it from the source, following the steps as outlined in the [Getting Started](./getting-started.md) | ||
documentation. | ||
|
||
## 3. Why can’t I add any clusters? | ||
## **3. Why can’t I add any clusters?** | ||
|
||
While adding new clusters, a valid kubeconfig file is required. Please check that all the needed configuration settings | ||
are present in your kubeconfig file are valid. For more detail | ||
read the [kubeconfig](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/) documentation. | ||
|
||
## 4. Why is Kubectl required to run Monokle? | ||
## **4. Why is Kubectl required to run Monokle?** | ||
|
||
You need to install and configure kubectl for previewing [kustomization.yaml](./kustomize.md) files. It helps to debug | ||
your configurations before you deploy them to your cluster. | ||
|
||
## 5. Does Monokle support Helm? | ||
## **5. Does Monokle support Helm?** | ||
|
||
Yes, Monokle allows you to navigate and preview the output of a Helm chart for an existing values files. Read more at | ||
[Working with Helm](./helm.md). | ||
|
||
## 6. Can I work on multiple projects simultaneously? | ||
## **6. Can I work on multiple projects simultaneously?** | ||
|
||
You can launch multiple project windows using the [New Monokle Windows](../overview/#multiple-windows) option. It allows | ||
you to work on multiple folders or clusters simultaneously; thus visual navigation for the multiple pages becomes simpler | ||
and faster. | ||
|
||
## 7. Can I use Monokle with Flux/ArgoCD? | ||
## **7. Can I use Monokle with Flux/ArgoCD?** | ||
|
||
Yes, Monokle can be used for creating / editing / debugging manifests before they are deployed to a cluster using a CD tool | ||
like ArgoCD or Flux. | ||
|
||
## 8. How to open Helm and Kustomization preview? | ||
## **8. How to open Helm and Kustomization preview?** | ||
|
||
You can navigate to the resources created by Kustomize or Helm in the navigator. Hover over the resources and hit the | ||
button to perform the preview and see the generated resources in the navigator. | ||
|
||
## 9. Why is Autocomplete not working in the editor? | ||
## **9. Why is Autocomplete not working in the editor?** | ||
|
||
The source editor provides an autocomplete option for only native Kubernetes resources. Therefore, the autocomplete feature is not available for any other resources except the resources in the YAML manifests. | ||
|
||
## 10. How to save changes in the editor? | ||
## **10. How to save changes in the editor?** | ||
|
||
The source editor automatically saves the current changes in your resource manifests as long as they are valid YAML files. |
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
Oops, something went wrong.