$ helm install stable/activemq-clusterThe application template will launch an Activemq cluster on Kubernetes using the Helm package management tool .
- Kubernetes 1.4+ and Beta APIs
- The cluster internally meets the supply of corresponding PV
Install the app by app name my-release:
$ helm install --name my-release stable/activemq-clusterThis command deploys a RabbitMQ cluster with a default configuration. The configuration section lists all the parameters that can be used during installation..
Tip: See all releases, please use the command
helm list
Uninstall/delete my-release :
$ helm delete my-releaseThis command removes all related Kubernetes components and removes the release.
The table below lists the default values for ActiveMQ configurable parameters and parameters.
Parameter
| Parameter | Description | Default |
|---|---|---|
image.image |
cluster image | tianctrl/activemq |
image.pullPolicy |
Mirror pull rule | IfNotPresent |
metrics.enabled |
Whether the scalar is on | false |
replicas |
replicas number | 1 |
Use --set key=value[,key=value] to specify the parameters in helm install For Example,
$ helm install --name my-release \
--set namespace=activemq \
stable/activemq-clusterAlternatively, you can use a file to specify parameters during the installation phase. For example,
$ helm install --name my-release -f values.yaml stable/activemq-clusterJSON file example:
{
"name": "activemq-cluster-example",
"namespace": "default",
"repo": "neunn",
"chart": "activemq-cluster",
"version": "latest",
"values": {
"replicas": "3",
"image": {
"image": "neunnsy/activemq-metrics",
"pullPolicy": "IfNotPresent"
},
"metrics": {
"enabled": true
}
}
}