Skip to content

Commit

Permalink
Updated docs for cluster metadata map (#22)
Browse files Browse the repository at this point in the history
* Updated docs for cluster metadate map

* updates to make the build god happy

* and one more. ;/

* restructured into an optional step 5

* Typo corrections
  • Loading branch information
jpapejr authored and alewitt2 committed Jun 10, 2019
1 parent 4049298 commit 4f66dcc
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,25 @@ With Watch Keeper set up in your cluster, you can retrieve deployment informatio
2. Click **Sign in with GitHub**.
3. Find the GitHub organization that you connected RazeeDash to and click **Launch** to open the RazeeDash console.

5. OPTIONAL: As you'll notice in the Razee dashboard, clusters you have configured to be watched and reported on are listed using a long ID token like `8e13917c-7e6b-11e9-a7d0-9e237586b5f9`. Razee can be configured to display the clusters using a more human-readable value versus the IDs by creating a ConfigMap in your target cluster and labelling it with `razee/cluster-metadata=true`.
For example:
```
apiVersion: v1
data:
name: razee-1
kind: ConfigMap
metadata:
labels:
razee/cluster-metadata: "true"
razee/watch-resource: debug
name: razee1-cluster-metadata
namespace: default
````
After the ConfigMap is picked up (within a few moments), Razee will display this cluster on the dashboard using `razee-1` instead of the long ID value seen before. Note that it may take about a minute before the change can be seen in the dashboard.
## Step 3: Automatically deploy Kubernetes resources with RemoteResources
RemoteResource and RemoteResourceS3 are Kapitan components that you can use to automatically deploy Kubernetes resources that are stored in a source repository. Simply define the source repository in your remote resource and create the remote resource in your cluster. The remote resource controller automatically connects to your source repository, downloads the Kubernetes configuration file, and applies the file to your cluster. This process repeats about every two minutes. All you have to do is to keep your source file up-to-date and let your cluster auto-deploy it.
Expand Down

0 comments on commit 4f66dcc

Please sign in to comment.