0.3.1 • Published 1 month ago
@kubernetes-models/kubedb v0.3.1
@kubernetes-models/kubedb
KubeDB models.
Installation
Install with npm.
npm install @kubernetes-models/kubedb
Usage
import { App } from "@kubernetes-models/kubedb/kubedb.com/v1alpha2/Postgres";
// Create a new Postgres
const pg = new Postgres({
metadata: { name: "example" },
spec: {
version: "13.2",
storageType: "Durable",
storage: {
storageClassName: "standard",
accessModes: ["ReadWriteOnce"],
resources: {
requests: { storage: "1Gi" }
}
},
terminationPolicy: "DoNotTerminate"
}
});
// Validate against JSON schema
pg.validate();
License
See LICENSE
0.0.0-20240402180946
1 month ago
0.0.0-20240403022011
1 month ago
0.0.0-20240402174322
1 month ago
0.0.0-20240401155416
1 month ago
0.3.0
12 months ago
0.3.1
11 months ago
0.0.0-20230404142451
1 year ago
0.2.1
1 year ago
0.2.0
1 year ago
0.0.0-20230404121257
1 year ago
0.0.0-20230404141129
1 year ago
0.0.0-20230407124751
1 year ago
0.0.0-20230407125710
1 year ago
0.1.0
1 year ago