Set Api Interface

Flags

Flag

Type/Options

Default

Description

--api-disabled

bool

false

Disable API interface

--api-port

int

8080

Set API port value

--api-expose

string

ClusterIP

Desired service type

--api-node-port

int

Desired port number in NodePort expose type

Expose Options:

ClusterIP/NodePort/LoadBalancer

Example

Expose Api interface port with a NodePort:

kubemqctl create cluster --api-expose NodePort --api-node-port 30700

Last updated