Skip to content

verticle-io/oculus

Repository files navigation

Gitter chat

oculus

Kubernetes event monitoring for Fireboard

Oculus is a small Spring Boot application that connects to the k8s api service and forwards the events in all namespaces to the Fireboard API.

Fireboard is a service for meta monitoring of digital assets.

Fireboard reduces and abstracts events happening in a digital environment in order to monitor them as weighted success/failure states in a domain agnostic manner. Events are evaluated right on the spot where they occur, e.g. within an integrated application or script, a 3rd party service webhook or a human interaction.

Screenshot

Screenshot

Screenshot

Screenshot

Screenshot

Installation

Clone this repository.

Prerequisites

Create a ServiceAccount to allow oculus to access the k8s api server:

$ kubectl apply -f serviceaccount-rbac.yaml

Configure & Deploy

Open a free Fireboard beta account at fireboard.verticle.io . You can use your github account to sign in.

When done, access Fireboard, head to "set" in the nav bar and retrieve

  • your API key
  • your tenant ID
  • the default data bucket ID

Adjust oculus-configmap.yaml accordingly ...

apiVersion: v1
kind: ConfigMap
metadata:
  name: oculus
  namespace: default

data:
  application.properties: |-
    tenantId=1101
    bucketId=59bab939749c252e09f3770c
    authToken=eyJhbGciOiJ...

... and deploy the configuration:

$ kubectl apply -f oculus-configmap.yaml

Finally deploy the oculus service:

$ kubectl apply -f oculus-deployment.yaml

Now head to https://fireboard.verticle.io and open the Fireboard web application and trigger some events on your cluster.