Override / Service configuration for LoadBalancerIP #1224
-
| 
         HI, I've a test deployment of a RabbitMQ cluster with  I've tried setting the following to no avail: My cluster is in Azure Kubernetes Service, here is my manifest for the RabbitMQ cluster: apiVersion: rabbitmq.com/v1beta1
kind: RabbitmqCluster
metadata:
  name: rabbit-dev
spec:
  image: masstransit/rabbitmq:latest
  replicas: 3
  service:
    type: LoadBalancer
    annotations:
      service.beta.kubernetes.io/azure-load-balancer-internal: "true"   # only expose to AKS vnet
  persistence:
  # storageClassName:   # take default for time being (Azure Disk)
    storage: 1Gi
  resources:            # It is recommended to keep the memory requests and limits as the same value.
    requests:
      cpu: 500m         # default 2000m => minimum for production workloads
      memory: 1Gi       # default 2Gi
    limits:             # defaults as for requests
      cpu: 500m          
      memory: 1Gi
  rabbitmq:
    additionalPlugins:
      - rabbitmq_consistent_hash_exchange
      - rabbitmq_delayed_message_exchange
    additionalConfig: |
      disk_free_limit.absolute = 50MB
  tls:
    secretName: dev-internal-tls-secret
    disableNonTLSListeners: false
  override:
    statefulSet:
      spec:
        template:
          metadata:
            labels:
              networking/allow-internet-access: "true" | 
  
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
| 
         Hi @james-nofrixion based on the crd it should be: Is it not working for you?  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         What kind of issue you are having? A validation issue or the functionality is not working? If it is a validation issue is strange because I've tried it out and it is working fine for me. What version of the operator are you using?  | 
  
Beta Was this translation helpful? Give feedback.
Hi @james-nofrixion based on the crd it should be:
RabbitmqCluster.spec.override.service.spec.loadBalancerIP
Is it not working for you?