Skip to content

A visual overview of Kubernetes architecture and Prometheus metrics

License

Notifications You must be signed in to change notification settings

oslabs-beta/KUR8

Repository files navigation

A visual overview of Kubernetes architecture and Prometheus metrics.


Structure

Navigate through the structures page to easily see your control planes and worker nodes with all their pods inside. Click on the components to see more details about its metadata, status, and specifications. Easily find information regarding the image IDs or IP addresses of anything from containers to ingresses.

kur8-structure-demo-gif

Metrics

Get the state of your cluster at a glance with our curated metrics dashboard.

kur8-alerts-demo-gif

Custom Metrics

Use our custom metrics page to use our PROMQL autocomplete feature to query any metrics you want.

kur8-alerts-demo-gif

Alerts

All of your Prometheus alerts including your custom ones are displayed here in the Alerts tab. Find out if any alerts are firing and which rule groups they fall under.

kur8-alerts-demo-gif

Getting started

Deploying KUR8

KUR8 requires your Kubernetes cluster to already be set up and running.

An image of the application has been pushed to Docker Hub for those who would like to build the image directly from the public repository.

We recommend deploying KUR8 directly to your Kubernetes cluster through kubectl using our config file kur8-depl.yaml.

kubectl apply -f kur8-depl.yaml

In addition, in order to allow reading resources of the API, you must configure a set of permissions. We have set up a YAML file using RBAC authorization which you can apply directly to your Kubernetes cluster using the command line: fabric8-rbac.yaml

kubectl apply -f fabric8-rbac.yaml

Use a port forward command to open up KUR8 on port 3068.

kubectl port-forward deployment/kur8-depl 3068:3068

Then, open your web browser to http://localhost:3068.

The structures tab on the left will query your Kubernetes API to view the cluster's architecture.


Deploying Prometheus


If you don't have your instance of Prometheus installed begin by cloning this repo:


In KUR8 directory run:

kubectl create -f infra/manifests/setup

Once setup is complete run:

kubectl create -f infra/manifests/

If you want to connect Kur8 to Prometheus open up the port by:

kubectl --namespace monitoring port-forward svc/prometheus-k8s 9090

You may also view the Prometheus tab in KUR8

localhost:3068

to view and create your custom dashboard.


Contributors

Jimmy Ngo
LinkedIn | Github

Ivy Yu
LinkedIn | Github

Steven Del Rosario
LinkedIn | Github

About

A visual overview of Kubernetes architecture and Prometheus metrics

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages