Set Cluster Image

Kubemqctl
Helm
kubectl
Kubemqctl

Flags

Flag

Type/Options

Default

Description

--image

string

docker.io/kubemq/kubemq-uni:latest

Set kubemq server image

--image-pull-policy

string Always/IfNotPresent/Never

Always

Set image pull policy

Example

Set implicit KubeMQ cluster docker image:

kubemqctl create cluster --image docker.io/kubemq/kubemq:latest

Replace docker.io/kubemq/kubemq:latest with the desired image with the registry/repository:tag format

Helm

Values

Value

Type/Options

Default

Description

image.image

string

docker.io/kubemq/kubemq-uni:latest

Set kubemq server image

image.pullPolicy

string Always/IfNotPresent/Never

Always

Set image pull policy

Example

Set implicit KubeMQ cluster docker image:

helm install kubemq-cluster --set image.image docker.io/kubemq/kubemq:latest kubemq-charts/kubemq

Replace docker.io/kubemq/kubemq:latest with the desired image with the registry/repository:tag format

kubectl

Fields

Field

Type/Options

Default

Description

image

string

docker.io/kubemq/kubemq-uni:latest

Set kubemq server image

pullPolicy

string Always/IfNotPresent/Never

Always

Set image pull policy

Example

Set implicit KubeMQ cluster docker image: Run:

kubectl apply -f {below-yaml-file}
apiVersion: core.k8s.kubemq.io/v1alpha1
kind: KubemqCluster
metadata:
name: kubemq-cluster
namesapce: kubemq
labels:
app: kubemq-cluster
spec:
replicas: 3
image:
image: "docker.io/kubemq/kubemq:latest"