File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed
scenarios/azure-management-docs/articles/azure-linux Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ apiVersion : apps/v1
2+ kind : StatefulSet
3+ metadata :
4+ name : rabbitmq
5+ spec :
6+ serviceName : rabbitmq
7+ replicas : 1
8+ selector :
9+ matchLabels :
10+ app : rabbitmq
11+ template :
12+ metadata :
13+ labels :
14+ app : rabbitmq
15+ spec :
16+ nodeSelector :
17+ " kubernetes.io/os " : linux
18+ containers :
19+ - name : rabbitmq
20+ image : mcr.microsoft.com/mirror/docker/library/rabbitmq:3.10-management-alpine
21+ ports :
22+ - containerPort : 5672
23+ name : rabbitmq-amqp
24+ - containerPort : 15672
25+ name : rabbitmq-http
26+ env :
27+ - name : RABBITMQ_DEFAULT_USER
28+ value : " username"
29+ - name : RABBITMQ_DEFAULT_PASS
30+ value : " password"
31+ resources :
32+ requests :
33+ cpu : 10m
34+ memory : 128Mi
35+ limits :
36+ cpu : 250m
37+ memory : 256Mi
38+ volumeMounts :
39+ - name : rabbitmq-enabled-plugins
40+ mountPath : /etc/rabbitmq/enabled_plugins
41+ subPath : enabled_plugins
42+ volumes :
43+ - name : rabbitmq-enabled-plugins
44+ configMap :
45+ name : rabbitmq-enabled-plugins
46+ items :
47+ - key : rabbitmq_enabled_plugins
48+ path : enabled_plugins
You can’t perform that action at this time.
0 commit comments