@soft-stech/rabbitmq-cluster-operator
v0.2.3
Published
The RabbitMQ Cluster Kubernetes Operator automates provisioning, management, and operations of RabbitMQ clusters running on Kubernetes.
Downloads
3
Readme
@kubernetes-models/rabbitmq-cluster-operator
RabbitMQ Cluster Operator models.
Installation
Install with npm.
npm install @kubernetes-models/rabbitmq-cluster-operator
Usage
import { RabbitmqCluster } from "@kubernetes-models/rabbitmq-cluster-operator/rabbitmq.com/v1beta1/RabbitmqCluster";
// Create a new RabbitmqCluster
const cluster = new RabbitmqCluster({
metadata: { name: "example" },
spec: {
replicas: 3,
service: {
type: "LoadBalancer"
}
}
});
// Validate against JSON schema
cluster.validate();
License
See LICENSE