mirror of
https://github.com/slurm-personal/school-dev-k8s.git
synced 2026-06-27 13:50:24 +00:00
fix: update apiversion, some small fixes
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: rabbitmq-config
|
||||
data:
|
||||
enabled_plugins: |
|
||||
[rabbitmq_peer_discovery_k8s].
|
||||
rabbitmq.conf: |
|
||||
## Cluster formation. See http://www.rabbitmq.com/cluster-formation.html to learn more.
|
||||
cluster_formation.peer_discovery_backend = rabbit_peer_discovery_k8s
|
||||
cluster_formation.k8s.host = kubernetes.default
|
||||
## Should RabbitMQ node name be computed from the pod's hostname or IP address?
|
||||
## IP addresses are not stable, so using [stable] hostnames is recommended when possible.
|
||||
## Set to "hostname" to use pod hostnames.
|
||||
## When this value is changed, so should the variable used to set the RABBITMQ_NODENAME
|
||||
## environment variable.
|
||||
cluster_formation.k8s.address_type = hostname
|
||||
## How often should node cleanup checks run?
|
||||
cluster_formation.node_cleanup.interval = 30
|
||||
## Set to false if automatic removal of unknown/absent nodes
|
||||
## is desired. This can be dangerous, see
|
||||
## * http://www.rabbitmq.com/cluster-formation.html#node-health-checks-and-cleanup
|
||||
## * https://groups.google.com/forum/#!msg/rabbitmq-users/wuOfzEywHXo/k8z_HWIkBgAJ
|
||||
cluster_formation.node_cleanup.only_log_warning = true
|
||||
cluster_partition_handling = autoheal
|
||||
## See http://www.rabbitmq.com/ha.html#master-migration-data-locality
|
||||
queue_master_locator=min-masters
|
||||
## See http://www.rabbitmq.com/access-control.html#loopback-users
|
||||
loopback_users.guest = false
|
||||
Reference in New Issue
Block a user