KubeMQ Docs
KubeMQ.io
Login / Register
Search…
Introduction
What's New
Getting Started
Quick Start
Build & Deploy
Create Cluster
Create Dashboard
Create Connector
Message Patterns
Learn
The Basics
Message Patterns
Access Control
Clustering
Dashboard
Connectors
Configuration
Cluster
Set Cluster Name
Set Cluster Namespace
Set Persistent Volume
Set Cluster Replicas
Set Cluster Image
Set Cluster Security
Set Authentication
Set Authorization
Set Notification
Set License
Set gRPC Interface
Set Rest Interface
Set Api Interface
Set Store Settings
Set Queues Settings
Set Routing
Set Health Probe
Set Resources Limits
Set Logs
Set Node Selectors
Dashboard
Connectors
HOW TO
Connect Your Cluster
Show Dashboard
Get Cluster Status
Get Dashboard Status
Get Cluster Logs
Development
SDK
Cookbook
Troubleshooting
Start Here
Kubemqctl
Get Started
Create
Get
Delete
Set
Scale Cluster
Queues
Events
Events Store
Commands
Queries
Config
License
Open Source Software Notices
Powered By
GitBook
Set Routing
Kubemqctl
Helm
kubectl
Flags
Flag
Type/Options
Default
Description
--routing-data
string
""
Set routing data
--routing-file
string
""
set routing file
--routing-url
string url
""
Set routing data loading url
--routing-auto-reload
int
0
Set auto reload routing data from url
Example
Set predefined routing rules data where routing.json is json array of routing rules:
1
kubemqctl create cluster --routing-file ./routing.json
Copied!
Values
Value
Type/Options
Default
Description
routing.data
string
""
Set routing data
routing.url
string url
""
Set routing data loading url
routing.autoReload
int
0
Set auto reload routing data from url
Example
Set predefined routing rules data where routing.json is json array of routing rules:
1
helm
install
kubemq-cluster --set-file routing.data
=
./routing.json kubemq-charts/kubemq
Copied!
Fields
Field
Type/Options
Default
Description
data
string
""
Set routing data
url
string url
""
Set routing data loading url
autoReload
int
0
Set auto reload routing data from url
Example
Set predefined routing rules data where routing.json is json array of routing rules:
Run:
1
kubectl apply -f
{
below-yaml-file
}
Copied!
1
apiVersion
:
core.k8s.kubemq.io/v1alpha1
2
kind
:
KubemqCluster
3
metadata
:
4
name
:
kubemq
-
cluster
5
namesapce
:
kubemq
6
labels
:
7
app
:
kubemq
-
cluster
8
spec
:
9
replicas
:
3
10
authorization
:
11
data
:
|-
12
[
13
{
14
"Key"
:
"all-to-foo-bar"
,
15
"Routes"
:
"events:foo.bar;events_store:foo.bar;queues:foo.bar"
16
},
17
{
18
"Key"
:
"sink-to-events-channel"
,
19
"Routes"
:
"events:sink"
20
}
21
]
Copied!
Previous
Set Queues Settings
Next
Set Health Probe
Last modified
2yr ago
Copy link