Skip to content

Latest commit

 

History

History
 
 

rabbitmq-operator

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

rabbitmq-operator

version: 0.0.3 type: application app version: 1.8.3 kube version: >=1.18.0-0 artifact hub

Kubernetes operator to deploy and manage RabbitMQ clusters.

Homepage: https://www.rabbitmq.com/kubernetes/operator/operator-overview.html

TL;DR;

helm repo add skm https://charts.sagikazarmark.dev
helm install --generate-name --wait skm/rabbitmq-operator

Values

Key Type Default Description
replicaCount int 1 Number of replicas (pods) to launch.
image.repository string "rabbitmqoperator/cluster-operator" Name of the image repository to pull the container image from.
image.pullPolicy string "IfNotPresent" Image pull policy for updating already existing images on a node.
image.tag string "" Image tag override for the default value (chart appVersion).
imagePullSecrets list [] Reference to one or more secrets to be used when pulling images (from private registries).
nameOverride string "" A name in place of the chart name for app: labels.
fullnameOverride string "" A name to substitute for the full names of resources.
serviceAccount.create bool true Enable service account creation.
serviceAccount.annotations object {} Annotations to be added to the service account.
serviceAccount.name string "" The name of the service account to use. If not set and create is true, a name is generated using the fullname template.
rbac.create bool true Enable the creation of RBAC resources. If disabled, the operator (ie. the person installing the chart) is responsible for creating the necessary resources based on the templates.
podAnnotations object {} Annotations to be added to pods.
priorityClassName string "" Specify a priority class name to set pod priority.
podSecurityContext object {} Pod security context. See the API reference for details.
securityContext object {} Container security context. See the API reference for details.
podMonitor.enabled bool false Enable Prometheus PodMonitor to monitor the operator.
podMonitor.interval string "30s" Interval at which metrics should be scraped.
resources object No requests or limits. Container resource requests and limits. See the API reference for details.
nodeSelector object {} Node selector configuration.
tolerations list [] Tolerations for node taints. See the API reference for details.
affinity object {} Affinity configuration. See the API reference for details.
rabbitmq.serviceMonitor.enabled bool false Enable Prometheus ServiceMonitor to monitor RabbitMQ clusters created by the operator.
rabbitmq.serviceMonitor.interval string "30s" Interval at which metrics should be scraped.

Development

Updating the operator

Always start by getting the latest manifest for the operator:

VERSION="1.7.0"

mkdir tmp

curl -L "https://github.com/rabbitmq/cluster-operator/releases/download/v${VERSION}/cluster-operator.yml" > tmp/cluster-operator.yaml

Download the k8split tool:

go get github.com/brendanjryan/k8split

Split up the resources:

k8split -o tmp tmp/cluster-operator.yaml

Update the templates based on the created resources.

Finally, clean up the resources:

rm -rf tmp

Attribution

This chart is created from the "remains" of the official chart removed in #296.