118 lines
3.1 KiB
YAML
118 lines
3.1 KiB
YAML
# Number of replicas of KubeMQ Nodes - https://docs.kubemq.io/configuration/cluster/default-template
|
|
replicas: 3
|
|
|
|
# KubeMQ license key
|
|
key: kubemq license key
|
|
|
|
# KubeMQ license data - https://docs.kubemq.io/configuration/cluster/set-license
|
|
license: kubemq license data
|
|
|
|
# KubeMQ Volume Configuration - https://docs.kubemq.io/configuration/cluster/set-persistence-volume
|
|
volume:
|
|
size: 10Gi
|
|
storageClass: default
|
|
|
|
# KubeMQ docker image - https://docs.kubemq.io/configuration/cluster/set-cluster-image
|
|
image:
|
|
image: kubemq/kubemq:latest
|
|
pullPolicy: Always
|
|
|
|
|
|
# KubeMQ Api interface - https://docs.kubemq.io/configuration/cluster/set-api-interface
|
|
api:
|
|
disabled: false
|
|
expose: NodePort
|
|
nodePort: 32080
|
|
port: 8080
|
|
|
|
# KubeMQ gRPC interface - https://docs.kubemq.io/configuration/cluster/set-grpc-interface
|
|
grpc:
|
|
disabled: false
|
|
expose: NodePort
|
|
nodePort: 32000
|
|
port: 50000
|
|
bodyLimit: 10000000
|
|
# KubeMQ REST interface - https://docs.kubemq.io/configuration/cluster/set-rest-interface
|
|
rest:
|
|
bodyLimit: 1000000
|
|
disabled: true
|
|
expose: NodePort
|
|
nodePort: 32090
|
|
port: 9090
|
|
|
|
# KubeMQ Authentication Configuration - https://docs.kubemq.io/configuration/cluster/set-authentication
|
|
authentication:
|
|
key: jwt
|
|
type: jwt token type
|
|
|
|
# KubeMQ Authorization Configuration - https://docs.kubemq.io/configuration/cluster/set-authorization
|
|
authorization:
|
|
autoReload: 300000
|
|
policy: policy type
|
|
url: remote url
|
|
|
|
# KubeMQ Health Configuration - https://docs.kubemq.io/configuration/cluster/set-health-probe
|
|
health:
|
|
failureThreshold: 3
|
|
initialDelaySeconds: 3
|
|
periodSeconds: 4
|
|
successThreshold: 1
|
|
timeoutSeconds: 10
|
|
|
|
# KubeMQ Logging Configuration - https://docs.kubemq.io/configuration/cluster/set-logs
|
|
log:
|
|
file: path to log file
|
|
level: 1
|
|
|
|
# KubeMQ NodeSelectors Configuration - https://docs.kubemq.io/configuration/cluster/set-node-selectors
|
|
nodeSelectors:
|
|
keys:
|
|
key: value
|
|
|
|
# KubeMQ Queue Configuration - https://docs.kubemq.io/configuration/cluster/set-queues-settings
|
|
queue:
|
|
defaultVisibilitySeconds: 0
|
|
defaultWaitTimeoutSeconds: 0
|
|
maxDelaySeconds: 0
|
|
maxExpirationSeconds: 0
|
|
maxReQueues: 0
|
|
maxReceiveMessagesRequest: 0
|
|
maxVisibilitySeconds: 0
|
|
maxWaitTimeoutSeconds: 0
|
|
|
|
# KubeMQ Resources Configuration - https://docs.kubemq.io/configuration/cluster/set-resources-limits
|
|
resources:
|
|
limitsCpu: "3"
|
|
limitsEphemeralStorage: 100Gi
|
|
limitsMemory: 2Gi
|
|
requestsCpu: "3"
|
|
requestsEphemeralStorage: 200Gi
|
|
requestsMemory: 4Gi
|
|
|
|
# KubeMQ Routing Configuration - https://docs.kubemq.io/configuration/cluster/set-routing
|
|
routing:
|
|
autoReload: 300000
|
|
data: routing data
|
|
url: routing url
|
|
|
|
# KubeMQ Cluster Configuration - when standalone is true, KubeMQ will run as a single node
|
|
standalone: false
|
|
|
|
# KubeMQ Store Configuration - https://docs.kubemq.io/configuration/cluster/set-store-settings
|
|
store:
|
|
clean: true
|
|
maxChannelSize: 0
|
|
maxChannels: 0
|
|
maxMessages: 0
|
|
maxSubscribers: 0
|
|
messagesRetentionMinutes: 0
|
|
path: path to store
|
|
purgeInactiveMinutes: 0
|
|
|
|
# KubeMQ TLS Configuration - https://docs.kubemq.io/configuration/cluster/set-tls
|
|
tls:
|
|
ca: ca data
|
|
cert: cert data
|
|
key: key data
|
|
|