-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathvalues-plugins.yaml
More file actions
82 lines (81 loc) · 2.06 KB
/
Copy pathvalues-plugins.yaml
File metadata and controls
82 lines (81 loc) · 2.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
global:
defaultStorageClass: ""
image:
registry: registry.lingo.local
repository: bitnami/rabbitmq
tag: "4.0.2"
pullPolicy: IfNotPresent
debug: false
fullnameOverride: "rabbitmq"
auth:
username: admin
password: "Admin@123"
erlangCookie: "u8B1rlnzSckNvtkNr7kRAU4NVt8F6OtU"
plugins: "rabbitmq_management rabbitmq_peer_discovery_k8s rabbitmq_web_stomp"
# 插件下载地址:https://github.com/rabbitmq/rabbitmq-delayed-message-exchange/releases/download/v4.0.2/rabbitmq_delayed_message_exchange-4.0.2.ez
communityPlugins: "http://miniserve.lingo.local/rabbitmq-plugins/rabbitmq_delayed_message_exchange-4.0.2.ez"
extraPlugins: "rabbitmq_auth_backend_ldap rabbitmq_delayed_message_exchange"
clustering:
enabled: true
addressType: hostname
rebalance: false
forceBoot: false
partitionHandling: autoheal
extraContainerPorts:
- name: web-stomp
containerPort: 15674
extraEnvVars:
- name: TZ
value: Asia/Shanghai
extraConfiguration: |-
#default_vhost = {{ .Release.Namespace }}-vhost
#disk_free_limit.absolute = 50MB
replicaCount: 3
persistence:
size: 100Gi
service:
type: NodePort
ports:
amqp: 5672
amqpTls: 5671
dist: 25672
manager: 15672
metrics: 9419
epmd: 4369
portNames:
amqp: "amqp"
amqpTls: "amqp-tls"
dist: "dist"
manager: "http-stats"
metrics: "metrics"
epmd: "epmd"
nodePorts:
amqp: ""
amqpTls: ""
dist: ""
manager: ""
epmd: ""
metrics: ""
extraPorts:
- name: web-stomp
port: 15674
targetPort: 15674
resourcesPreset: "none"
resources: {}
affinity: {}
nodeSelector: {}
# resources:
# limits:
# cpu: "1"
# memory: "1Gi"
# requests:
# cpu: "500m"
# memory: "512Mi"
# ## Allowed values: `soft` or `hard`
# #podAffinityPreset: "soft" ## 调度到同一节点
podAntiAffinityPreset: "soft" ## 调度到不同节点
nodeAffinityPreset: ## 调度到包含指定标签的节点,例如创建节点标签:kubectl label node server02.lingo.local kubernetes.service/rabbitmq="true"
type: "soft"
key: "kubernetes.service/rabbitmq"
values:
- "true"