@soft-stech/thanos-operator
v2.1.3
Published
Thanos operator models
Downloads
4
Readme
@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