Install RabbitMQ¶
Because RabbitMQ belongs to the application layer of DCE 5.0, a DCE environment needs to be prepared first.
Follow the steps below to install RabbitMQ.
Install rabbitmq-operator¶
-
On the left navigation bar, click
Container Management
->Cluster List
. -
Select the cluster where RabbitMQ is to be installed, and click the cluster name.
-
In the left navigation bar, click
Helm Application
->Helm chart
, enterrabbitmq
in the search box, press the Enter key, and click the RabbitMQ tile card. -
After selecting the appropriate version, click the
Install
button. You can also follow the text prompts in the black area to install from the command line. -
Enter an appropriate name, select the namespace and version, and click
OK
. You can also configure YAML at the bottom to install. -
The system returns to the
Helm application
list, and the screen prompts that the creation is successful. After refreshing the page, the newly created application is at the first place.
Install mcamel-rabbitmq¶
-
Configure the repository.
-
Check the version.
-
Install and upgrade.
helm upgrade --install mcamel-rabbitmq --create-namespace -n mcamel-system --cleanup-on-fail \ --set global.mcamel.imageTag=v0.3.4 \ --set global.imageRegistry=release.daocloud.io\ mcamel-release/mcamel-rabbitmq \ --version 0.3.4
Parameter Description:
--set ui.image.tag: Specify the front-end image version --set ghippo.createCrd: Register ghippo routing, enabled by default --set insight.serviceMonitor.enabled: Enable monitoring, enabled by default --set insight.grafanaDashboard.enabled: Enable the monitoring panel, which is enabled by default # global parameters --set global.mcamel.imageTag: mcamel-rabbitmq image version --set global.imageRegistry: container registry address
uninstall¶
When uninstalling, first uninstall mcamel-rabbitmq, and then delete rabbitmq-operator to release related resources.
Uninstall mcamel-rabbitmq¶
Remove rabbitmq-operator¶
-
In the Helm application list, click
⋮
on the far right, and selectDelete
from the pop-up menu. -
Enter the name to be deleted in the pop-up window, and click
Delete
after confirming that it is correct.
Installation parameter description¶
key | type | default | description |
---|---|---|---|
apiServer.affinity | object | {} | |
apiServer.image.pullPolicy | string | "IfNotPresent" | |
apiServer.image.registry | string | "release.daocloud.io" | |
apiServer.image.repository | string | "mcamel/mcamel-rabbitmq-apiserver" | |
apiServer.image.tag | string | "v0.0.1" | |
apiServer.imagePullSecrets | list | [] | |
apiServer.livenessProbe.enabled | bool | true | |
apiServer.livenessProbe.failureThreshold | int | 3 | |
apiServer.livenessProbe.initialDelaySeconds | int | 30 | |
apiServer.livenessProbe.periodSeconds | int | 30 | |
apiServer.livenessProbe.scheme | string | "HTTP" | |
apiServer.livenessProbe.successThreshold | int | 1 | |
apiServer.livenessProbe.timeoutSeconds | int | 5 | |
apiServer.nodeSelector | object | {} | |
apiServer.podAnnotations | object | {} | |
apiServer. podSecurityContext | object | {} | |
apiServer.readinessProbe.enabled | bool | true | |
apiServer.readinessProbe.failureThreshold | int | 3 | |
apiServer.readinessProbe.initialDelaySeconds | int | 30 | |
apiServer.readinessProbe.periodSeconds | int | 30 | |
apiServer.readinessProbe.scheme | string | "HTTP" | |
apiServer.readinessProbe.successThreshold | int | 1 | |
apiServer.readinessProbe.timeoutSeconds | int | 5 | |
apiServer.replicaCount | int | 1 | |
apiServer.resources | object | {} | |
apiServer.securityContext | object | {} | |
apiServer.service.grpcPort | int | 8090 | |
apiServer.service.grpcProtocol | string | "TCP" | |
apiServer.service.grpcTargetPort | int | 8090 | |
apiServer.service.httpPort | int | 8080 | |
apiServer.service.httpProtocol | string | "TCP" | |
apiServer.service.httpTargetPort | int | 8080 | |
apiServer.service.type | string | "ClusterIP" | |
apiServer.serviceAccount.annotations | object | {} | |
apiServer.serviceAccount.create | bool | true | |
apiServer.serviceAccount.name | string | "" | |
apiServer. tolerations | list | [] | |
ghippo.createCrd | bool | false | |
ghippo.version | string | "v0.1.0" | |
global.imagePullSecrets | list | [] | |
global.imageRegistry | string | "" | |
global.mcamel.imageTag | string | "" | |
insight.grafanaDashboard.enabled | bool | false | |
insight.grafanaDashboard.metadataLabels | string | "insight" | |
insight.serviceMonitor.enabled | bool | false | |
insight.serviceMonitor.metadataLabels | string | "insight-agent" | |
insight.serviceMonitor.name | string | "mcamel-rabbitmq" | |
insight.serviceMonitor.selectorMatchLabels | string | "rabbitmq" | |
ui.affinity | object | {} | |
ui.enabled | bool | true | |
ui.image.pullPolicy | string | "IfNotPresent" | |
ui.image.registry | string | "release.daocloud.io" | |
ui.image.repository | string | "mcamel/mcamel-rabbitmq-ui" | |
ui.image.tag | string | "v0.3.0" | |
ui.imagePullSecrets | list | [] | |
ui.nodeSelector | object | {} | |
ui.podAnnotations | object | {} | |
ui.podLabels | object | {} | |
ui.replicaCount | int | 1 | |
ui.resources | object | {} | |
ui.service.port | int | 80 | |
ui.service.type | string | "ClusterIP" | |
ui.serviceAccount.annotations | object | {} | |
ui.serviceAccount.create | bool | true | |
ui.serviceAccount.name | string | "" | |
ui.tolerations | list | [] |