GithubHelp home page GithubHelp logo

singavarapu / acm-multi-cluster-dashboard Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tosin2013/acm-multi-cluster-dashboard

0.0 0.0 0.0 2.13 MB

Custom RHACM Dashboards for Mutli-Cluster deployments

JavaScript 100.00%

acm-multi-cluster-dashboard's Introduction

Custom Dashboards for ACM Observability

Requirements

Getting started

Once ACM is installed run the following commands to install the Observability service

Install the Grafana dev environment on cluster

Once the e Grafana dev enviornment is installed you can run the below command to access the UI

echo https://multicloud-console.$(oc get ingresses.config.openshift.io cluster -o jsonpath='{ .spec.domain }')/grafana-dev/

Design your grafana dashboard

Clone Repo

![kubernetes-compute-resources-namespace-pods-3-11](https://user-images.githubusercontent.com/1975599/122592121-e6dab580-d031-11eb-9d24-ac186464a960.png)
git clone https://github.com/tosin2013/acm-multi-cluster-dashboard.git

login to ACM cluster via oc command line

Custom Dashboard Examples

The dashboards below are custom dashboards that display OpenShift 3.11 clusters within an environment.

In order for the dashboards to work you must create a observability-metrics-custom-allowlist on your RHACM cluster

Custom List

Create observability-metrics-custom-allowlist.yaml

cat >observability-metrics-custom-allowlist.yaml<<YAML
kind: ConfigMap
apiVersion: v1
metadata:
  name: observability-metrics-custom-allowlist
data:
  metrics_list.yaml: |
    names:
      - node:node_cpu_utilisation:avg1m
      - kube_node_labels
      - 'node_namespace_pod:kube_pod_info:'
      - container_memory_usage_bytes
      - node_memory_MemTotal_bytes
      - node_memory_MemAvailable_bytes
      - node:node_memory_bytes_total:sum
      - node:node_net_utilisation:sum_irate
      - node_network_receive_bytes
      - node_network_transmit_bytes
      - node_disk_bytes_read
      - node_disk_bytes_written
      - node:node_disk_utilisation:avg_irate
      - kube_pod_status_ready
      - kube_pod_status_phase
      - node_filesystem_size
      - node_filesystem_avail
      - kube_pod_container_status_restarts_total
      - openshift_clusterresourcequota_usage
      - openshift_clusterresourcequota_labels
      - namespace_pod_name_container_name:container_cpu_usage_seconds_total:sum_rate
      - kube_namespace_labels
      - container_memory_rss
      - kube_namespace_labels
      - kube_pod_info
      - container_cpu_usage_seconds_total
      - kube_node_status_allocatable_cpu_cores
YAML

Apply config map against RHACM

oc apply -n open-cluster-management-observability -f observability-metrics-custom-allowlist.yaml

Dashboard List

All the command beow need to be ran against the RHACM cluster in order to be shown on the grafana dashboard.

Load all dashboards

oc create -f config-files/

Summary By Node

Summary By Node

Create Summary By Node

oc create -f config-files/summary-by-node.yaml

Pods in namespace

Pods in namespace

Create Pods in namespace

oc create -f config-files/pods-in-namespace.yaml

Namespaces in cluster

Namespaces in cluster

Namespaces in cluster

oc create -f config-files/namespaces-in-cluster.yaml

ACM - Resource Optimization / Cluster-1-3.11

ACM - Resource Optimization / Cluster-1-3.11 ACM - Resource Optimization / Cluster-1-3.11

Create ACM - Resource Optimization / Cluster-1-3.11 dashboard

oc create -f config-files/config-files/acm-resource-optimization-cluster-1-3-11.yaml

Kubernetes / Compute Resources / Namespace (Pods) - 3.11

kubernetes-compute-resources-namespace-pods-3-11

Create Kubernetes / Compute Resources / Namespace (Pods) - 3.11 dashboard)

oc create -f config-files/kubernetes-compute-resources-namespace-pods-3-11.yaml

Capacity Planning 3.11

capacity-management

Capacity Planning 3.11

oc create -f config-files/capacity-planning-3.11.yaml

Links:

acm-multi-cluster-dashboard's People

Contributors

tosin2013 avatar dustintrap avatar singavarapu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.