Cluster
Create a Kubemq cluster command

Synopsis

Create command allows to deploy a Kubemq cluster with configuration options
1
kubemqctl create cluster [flags]
Copied!

Examples

1
# Create default Kubemq cluster
2
kubemqctl create cluster
3
4
# Create Kubemq cluster with options - get all flags
5
kubemqctl create cluster --help
Copied!

Options

1
--api-disabled disable Api interface
2
--api-expose string set api port service type (ClusterIP,NodePort,LoadBalancer) (default "ClusterIP")
3
--api-node-port int32 set api node port value
4
--api-port int32 set api port value (default 8080)
5
--authentication-enabled enable authentication configuration
6
--authentication-public-key-data string set authentication public key data
7
--authentication-public-key-file string set authentication public key filename
8
--authentication-public-key-type string set authentication public key type
9
--authorization-auto-reload int32 set authorization auto policy loading time interval in minutes
10
--authorization-enabled enable authorization configuration
11
--authorization-policy-data string set authorization policy data
12
--authorization-policy-file string set authorization policy filename
13
--authorization-url string set authorization policy loading url
14
-c, --config-file string set kubemq config file
15
--dry-run generate cluster configuration without execute
16
--gateway-ca-data string set tls ca certificate data for remote gateway
17
--gateway-ca-file string set tls ca certificate filename for remote gateway
18
--gateway-cert-data string set tls certificate data for remote gateway
19
--gateway-cert-file string set tls certificate filename for remote gateway
20
--gateway-enabled enable gateway configuration
21
--gateway-key-data string set tls key data for remote gateway
22
--gateway-key-file string set tls key filename for remote gateway
23
--gateway-port int32 set gateway listen port value (default 7000)
24
--gateway-remotes stringArray set tls certificate data for remote gateway
25
--grpc-body-limit int32 set Max size of payload in bytes
26
--grpc-buffer-size int32 set subscribe message / requests buffer size to use on server
27
--grpc-disabled disable grpc interface
28
--grpc-expose string set grpc port service type (ClusterIP,NodePort,LoadBalancer) (default "ClusterIP")
29
--grpc-node-port int32 set grpc node port value
30
--grpc-port int32 set grpc port value (default 50000)
31
--health-enabled enable resources configuration
32
--health-failure-threshold int32 set health prob failure threshold (default 6)
33
--health-initial-delay int32 set health prob initial delay seconds (default 5)
34
--health-period-seconds int32 set health prob period seconds (default 10)
35
--health-success-threshold int32 set health prob success threshold (default 1)
36
--health-timout-seconds int32 set health prob timeout seconds (default 5)
37
-h, --help help for cluster
38
--image string set image registry/repository:tag (default "docker.io/kubemq/kubemq:latest")
39
--image-pull-policy string set image pull policy (default "Always")
40
--license-data string set license data
41
--license-filename string set license filename
42
-t, --license-token string set license token
43
--log-data int32 set log level (default 2)
44
--log-file string set log filename
45
--name string set kubemq cluster name (default "kubemq-cluster")
46
-n, --namespace string set kubemq cluster namespace (default "kubemq")
47
--node-selectors-keys stringToString set statefulset node selectors key-value (map) (default [])
48
--notification-enabled set notification enable
49
--notification-log set log notification to std-out
50
--notification-prefix string set notification channel prefix
51
--queue-default-visibility-seconds int32 set default time of hold received message before returning to queue (default 60)
52
--queue-default-wait-timeout-seconds int32 set default time to wait for a message in a queue (default 1)
53
--queue-max-delay-seconds int32 set max delay seconds allowed for message (default 43200)
54
--queue-max-expiration-seconds int32 set max expiration allowed for message (default 43200)
55
--queue-max-receive-messages-request int32 set max of sending / receiving batch of queue message (default 1024)
56
--queue-max-requeues int32 set max retires to receive message before discard (default 1024)
57
--queue-max-visibility-seconds int32 set max time of hold received message before returning to queue (default 43200)
58
--queue-max-wait-timeout-seconds int32 set max wait timeout allowed for message (default 3600)
59
-r, --replicas int32 set replicas (default 3)
60
--resources-enabled enable resources configuration
61
--resources-limits-key-cpu string set resources limits cpu (default "1000m")
62
--resources-limits-key-memory string set resources limits memory (default "512Mi")
63
--resources-requests-key-cpu string set resources requests cpu (default "100m")
64
--resources-requests-memory string set resources request memory (default "256Mi")
65
--rest-body-limit int32 set Max size of payload in bytes
66
--rest-buffer-size int32 set subscribe message / requests buffer size to use on server
67
--rest-disabled disable rest interface
68
--rest-expose string set rest port service type (ClusterIP,NodePort,LoadBalancer) (default "ClusterIP")
69
--rest-node-port int32 set rest node port value
70
--rest-port int32 set rest port value (default 9090)
71
--routing-auto-reload int32 set routing auto loading time interval in minutes
72
--routing-data string set routing data
73
--routing-filename string set routing filename
74
--routing-url string set routing loading url
75
--store-clean set clear persistence data on start-up
76
--store-max-channel-size int32 Set limit size of channel in bytes
77
--store-max-channels int32 set limit number of persistence channels
78
--store-max-messages int32 set limit of messages per channel
79
--store-max-subscribers int32 set limit of subscribers per channel
80
--store-messages-retention-minutes int32 set message retention time in minutes (default 1440)
81
--store-path string set persistence file path (default "./store")
82
--store-purge-inactive-minutes int32 set time in minutes of channel inactivity to delete (default 1440)
83
--tls-ca-data string set tls ca certificate data
84
--tls-ca-file string set tls ca certificate filename
85
--tls-cert-data string set tls certificate data
86
--tls-cert-file string set tls certificate filename
87
--tls-enabled enable tls tls configuration
88
--tls-key-data string set tls key data
89
--tls-key-file string set tls key filename
90
-v, --volume-size string set persisted volume size
Copied!

Options inherited from parent commands

1
--config string set kubemqctl configuration file (default "./.kubemqctl.yaml")
Copied!
Last modified 1yr ago