@luminati-io/kubernetes-models-rabbitmq-cluster-operator
v2.7.0-brd.0
Published
The RabbitMQ Cluster Kubernetes Operator automates provisioning, management, and operations of RabbitMQ clusters running on Kubernetes.
Downloads
37
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