Set Rest Interface

Flags

Flag

Type/Options

Default

Description

--rest-disabled

bool

false

Disable rest interface

--rest-port

int

9090

Set rest port value

--rest-expose

string

ClusterIP

Desired service type

--rest-node-port

int

Desired port number in NodePort expose type

--rest-buffer-size

int

0

Set subscribe message / requests buffer size to use on server

--rest-body-limit

int

0

Set Max size of payload in bytes

Expose Options:

ClusterIP/NodePort/LoadBalancer

Example

Expose Rest interface port with a NodePort:

kubemqctl create cluster --rest-expose NodePort --rest-node-port 30600

Last updated