jmccarty3 / newrelic-operator

Kubernetes Operator for managing New Relic resources

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NewRelic Kubernetes Operator

Docker Registry 

pre-alpha This is a work in progress to use the operator-framework to create a controller and CRDs for NewRelic. This allows us to create New Relic resources when creating our services such as dashboards or synthetics.

Capabilities

Dashboards

  • Can be created/updated/deleted
  • Only the raw JSON for the dashboard is supported
  • Example

Alert Channel

  • Can be created/updated/deleted
  • Example

Alert Policy

  • Can be created/updated/deleted
  • Channels supported
  • Example

Monitor (Synthetics)

  • Can be created/updated/deleted
  • Can be tied to a policy
  • Example

Installation

  • A helm chart is available in this repository.
  • To run the environment variable NEW_RELIC_APIKEY is required

Todo

  • Replacing resources does not cleanup the original
  • Validate resources prior to calling API
  • Cleanup on errors

About

Kubernetes Operator for managing New Relic resources


Languages

Language:Go 96.0%Language:Smarty 2.6%Language:Dockerfile 0.9%Language:Makefile 0.5%