@kubernetes-models/thanos-operator
v2.2.0
Published
Thanos operator models
Downloads
58
Maintainers
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