Skip to content

Commit

Permalink
Updates to readme and screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
daniellee committed Jan 16, 2017
1 parent 0f4bd54 commit a4e03ae
Show file tree
Hide file tree
Showing 10 changed files with 56 additions and 30 deletions.
42 changes: 27 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,27 @@

[Kubernetes](http://kubernetes.io/) is an open-source system for automating deployment, scaling, and management of containerized applications.

The Grafana Kubernetes App allows you to monitor your Kubernetes cluster's performance.
The Grafana Kubernetes App allows you to monitor your Kubernetes cluster's performance. It includes 4 dashboards, Cluster, Node, Pod/Container and Deployment. It also comes with collectors that are deployed to your cluster to collect health metrics. These these high-level cluster and node stats all the way down to the container level. Use the high-level metrics to alert on and the low-level metrics to troubleshoot.

![Container Dashboard](https://raw.githubusercontent.com/raintank/kubernetes-app/master/src/img/cluster-dashboard-screenshot.png)

![Container Dashboard](https://raw.githubusercontent.com/raintank/kubernetes-app/master/src/img/container-dashboard-screenshot.png)

![Node Dashboard](https://raw.githubusercontent.com/raintank/kubernetes-app/master/src/img/node-dashboard-screenshot.png)

### Requirements

1. Currently only saves metrics to Graphite.
1. Currently only has support for **Graphite**.
2. For automatic deployment of the collectors, then Kubernetes 1.4 or higher is required.
3. Grafana 4 is required if using TLS Client Auth (rather than Basic Auth).

### Cluster Metrics

2. Basic Auth needs to be set up for accessing your Kubernetes cluster.
- Pod Capacity
- Memory Capacity
- CPU Capacity
- Disk Capacity (measures each container's /var/lib/docker)
- Overview of Nodes, Pods and Containers

### Node Metrics

Expand All @@ -26,7 +36,7 @@ The Grafana Kubernetes App allows you to monitor your Kubernetes cluster's perfo
- Network Packets/second
- Network Errors/second

### Container Metrics
### Pod/Container Metrics

- Memory Usage
- Network Traffic
Expand All @@ -40,26 +50,27 @@ The Grafana Kubernetes App allows you to monitor your Kubernetes cluster's perfo

#### Connecting to your Cluster

1. Go to the Cluster List page via the Kubernetes app menu

![Cluster List](https://raw.githubusercontent.com/raintank/kubernetes-app/master/src/img/app-menu-screenshot.png)
1. Go to the Cluster List page via the Kubernetes app menu.

2. Click the `New Cluster` button.

3. Fill in the Basic Auth details for your cluster
3. Fill in the Auth details for your cluster.

4. Choose the Graphite datasource that will be used for reading data in the dashboards.

5. Fill in the details for the Carbon host that is used to write to Graphite. This url has to be available from inside the cluster.

6. Click `Deploy`. This will deploy a DaemonSet, to collect health metrics for every node, and a pod that collects cluster metrics.

4. Choose the Graphite datasource that is used for the dashboards.
#### Manual Deployment

5. Fill in the details for the Carbon host that is used to write to Graphite.
If you do not want to deploy the collector DaemonSet and pod automatically, then it can be deployed manually with kubectl. If using an older version of Kubernetes than 1.4, you will have to adapt the json files, particularly for the daemonset, and remove some newer features. Please create an issue if you want support for older versions of Kubernetes.

6. Click `Save and Deploy`.
The manual deployment instructions and files needed can be downloaded from the Cluster Config page. At the bottom, there is a help section with instructions and links to all the json files needed.

#### Uninstalling the App and DaemonSet

``` bash
kubectl delete daemonsets -n kube-system snap
kubectl delete configmaps -n kube-system snap-tasks
```
There is an Undeploy button on the Cluster Config page as well as manual instructions for kubectl at the bottom of the page.

#### Technical Details

Expand All @@ -73,6 +84,7 @@ The following Snap plugins are used to collect metrics:
- [IOStat Collector](https://github.com/intelsdi-x/snap-plugin-collector-iostat)
- [Load Collector](https://github.com/intelsdi-x/snap-plugin-collector-load#collected-metrics)
- [MemInfo Collector](https://github.com/intelsdi-x/snap-plugin-collector-meminfo/blob/master/METRICS.md)
- [Kubestats Collector](https://github.com/raintank/snap-plugin-collector-kubestate)

### Feedback and Questions

Expand Down
42 changes: 27 additions & 15 deletions dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,27 @@

[Kubernetes](http://kubernetes.io/) is an open-source system for automating deployment, scaling, and management of containerized applications.

The Grafana Kubernetes App allows you to monitor your Kubernetes cluster's performance.
The Grafana Kubernetes App allows you to monitor your Kubernetes cluster's performance. It includes 4 dashboards, Cluster, Node, Pod/Container and Deployment. It also comes with collectors that are deployed to your cluster to collect health metrics. These these high-level cluster and node stats all the way down to the container level. Use the high-level metrics to alert on and the low-level metrics to troubleshoot.

![Container Dashboard](https://raw.githubusercontent.com/raintank/kubernetes-app/master/src/img/cluster-dashboard-screenshot.png)

![Container Dashboard](https://raw.githubusercontent.com/raintank/kubernetes-app/master/src/img/container-dashboard-screenshot.png)

![Node Dashboard](https://raw.githubusercontent.com/raintank/kubernetes-app/master/src/img/node-dashboard-screenshot.png)

### Requirements

1. Currently only saves metrics to Graphite.
1. Currently only has support for **Graphite**.
2. For automatic deployment of the collectors, then Kubernetes 1.4 or higher is required.
3. Grafana 4 is required if using TLS Client Auth (rather than Basic Auth).

### Cluster Metrics

2. Basic Auth needs to be set up for accessing your Kubernetes cluster.
- Pod Capacity
- Memory Capacity
- CPU Capacity
- Disk Capacity (measures each container's /var/lib/docker)
- Overview of Nodes, Pods and Containers

### Node Metrics

Expand All @@ -26,7 +36,7 @@ The Grafana Kubernetes App allows you to monitor your Kubernetes cluster's perfo
- Network Packets/second
- Network Errors/second

### Container Metrics
### Pod/Container Metrics

- Memory Usage
- Network Traffic
Expand All @@ -40,26 +50,27 @@ The Grafana Kubernetes App allows you to monitor your Kubernetes cluster's perfo

#### Connecting to your Cluster

1. Go to the Cluster List page via the Kubernetes app menu

![Cluster List](https://raw.githubusercontent.com/raintank/kubernetes-app/master/src/img/app-menu-screenshot.png)
1. Go to the Cluster List page via the Kubernetes app menu.

2. Click the `New Cluster` button.

3. Fill in the Basic Auth details for your cluster
3. Fill in the Auth details for your cluster.

4. Choose the Graphite datasource that will be used for reading data in the dashboards.

5. Fill in the details for the Carbon host that is used to write to Graphite. This url has to be available from inside the cluster.

6. Click `Deploy`. This will deploy a DaemonSet, to collect health metrics for every node, and a pod that collects cluster metrics.

4. Choose the Graphite datasource that is used for the dashboards.
#### Manual Deployment

5. Fill in the details for the Carbon host that is used to write to Graphite.
If you do not want to deploy the collector DaemonSet and pod automatically, then it can be deployed manually with kubectl. If using an older version of Kubernetes than 1.4, you will have to adapt the json files, particularly for the daemonset, and remove some newer features. Please create an issue if you want support for older versions of Kubernetes.

6. Click `Save and Deploy`.
The manual deployment instructions and files needed can be downloaded from the Cluster Config page. At the bottom, there is a help section with instructions and links to all the json files needed.

#### Uninstalling the App and DaemonSet

``` bash
kubectl delete daemonsets -n kube-system snap
kubectl delete configmaps -n kube-system snap-tasks
```
There is an Undeploy button on the Cluster Config page as well as manual instructions for kubectl at the bottom of the page.

#### Technical Details

Expand All @@ -73,6 +84,7 @@ The following Snap plugins are used to collect metrics:
- [IOStat Collector](https://github.com/intelsdi-x/snap-plugin-collector-iostat)
- [Load Collector](https://github.com/intelsdi-x/snap-plugin-collector-load#collected-metrics)
- [MemInfo Collector](https://github.com/intelsdi-x/snap-plugin-collector-meminfo/blob/master/METRICS.md)
- [Kubestats Collector](https://github.com/raintank/snap-plugin-collector-kubestate)

### Feedback and Questions

Expand Down
Binary file added dist/img/cluster-dashboard-screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dist/img/container-dashboard-screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dist/img/node-dashboard-screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions dist/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
{"name": "License", "url": "https://github.com/raintank/kubernetes-app/blob/master/LICENSE"}
],
"screenshots": [
{"name": "Cluster Dashboard", "path": "img/cluster-dashboard-screenshot.png"},
{"name": "Container Dashboard", "path": "img/container-dashboard-screenshot.png"},
{"name": "Node Dashboard", "path": "img/node-dashboard-screenshot.png"},
{"name": "Overview Page", "path": "img/overview-screenshot.png"},
Expand Down
Binary file added src/img/cluster-dashboard-screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/img/container-dashboard-screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/img/node-dashboard-screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
{"name": "License", "url": "https://github.com/raintank/kubernetes-app/blob/master/LICENSE"}
],
"screenshots": [
{"name": "Cluster Dashboard", "path": "img/cluster-dashboard-screenshot.png"},
{"name": "Container Dashboard", "path": "img/container-dashboard-screenshot.png"},
{"name": "Node Dashboard", "path": "img/node-dashboard-screenshot.png"},
{"name": "Overview Page", "path": "img/overview-screenshot.png"},
Expand Down

0 comments on commit a4e03ae

Please sign in to comment.