@soft-stech/k8ssandra-operator
v0.1.0
Published
Manage Apache Cassandra and DSE on Kubernetes.
Downloads
3
Readme
@kubernetes-models/k8ssandra-operator
K8ssandra models.
Installation
Install with npm.
npm install @kubernetes-models/k8ssandra-operator
import { K8ssandraCluster } from '@kubernetes-models/k8ssandra-operator/v1alpha1';
const cluster = new K8ssandraCluster({
metadata: { name: "example" },
spec: {
cassandra: {
datacenters: [
{
metadata: {
name: "example"
},
size: 3
}
]
}
}
});
// Validate against JSON schema
cluster.validate();
License
MIT