kezhenxu94 commented on code in PR #134:
URL:
https://github.com/apache/skywalking-showcase/pull/134#discussion_r1236221610
##########
deploy/platform/kubernetes/Makefile:
##########
@@ -147,6 +147,14 @@ feature-elasticsearch-monitor:
$(eval HELM_OPTIONS := $(HELM_OPTIONS) --set
prometheus-elasticsearch-exporter.es.uri=http://elasticsearch-master:9200)
$(eval HELM_OPTIONS := $(HELM_OPTIONS) --set opentelemetry.enabled=true)
+.PHONY: feature-rabbitmq-monitor
+feature-rabbitmq-monitor:
+ $(eval HELM_OPTIONS := $(HELM_OPTIONS) --set
features.rabbitmqMonitor.enabled=true)
+ $(eval HELM_OPTIONS := $(HELM_OPTIONS) --set rabbitmq.replicaCount=1)
+ $(eval HELM_OPTIONS := $(HELM_OPTIONS) --set
rabbitmq.persistence.enabled=false)
+ $(eval HELM_OPTIONS := $(HELM_OPTIONS) --set
rabbitmq.metrics.enabled=true)
Review Comment:
Let's put these into the `values.yaml` file and keep the Makefile clean
##########
deploy/platform/docker/config/rabbitmq/rabbitmq-overview.conf:
##########
@@ -0,0 +1,34 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#
https://github.com/rabbitmq/rabbitmq-server/blob/master/docs/rabbitmq.conf.example
+loopback_users.guest = false
+listeners.tcp.default = 5672
+management.listener.port = 15672
+management.listener.ssl = false
+
+vm_memory_high_watermark.absolute = 768MiB
+vm_memory_high_watermark_paging_ratio = 0.2
+
+cluster_name = rabbitmq-overview
+
+cluster_formation.peer_discovery_backend = rabbit_peer_discovery_classic_config
+cluster_formation.classic_config.nodes.1 = rabbit@rmq0
+cluster_formation.classic_config.nodes.2 = rabbit@rmq1
+cluster_formation.classic_config.nodes.3 = rabbit@rmq2
Review Comment:
```suggestion
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]