2.1.3 • Published 1 month ago

@kubernetes-models/thanos-operator v2.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

@kubernetes-models/thanos-operator

Thanos operator models.

Installation

Install with npm.

npm install @kubernetes-models/thanos-operator

Usage

import { Thanos } from "@kubernetes-models/thanos-operator/monitoring.banzaicloud.io/v1alpha1/Thanos";

// Create a new Thanos
const thanos = new Thanos({
  metadata: { name: "example" },
  spec: {
    query: {},
    rule: {},
    storeGateway: {}
  }
});

// Validate against JSON schema
thanos.validate();

License

See LICENSE