Set Cluster Image
Kubemqctl
Helm
kubectl

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:
1
kubemqctl create cluster --image docker.io/kubemq/kubemq:latest
Copied!
Replace docker.io/kubemq/kubemq:latest with the desired image with the registry/repository:tag format

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:
1
helm install kubemq-cluster --set image.image docker.io/kubemq/kubemq:latest kubemq-charts/kubemq
Copied!
Replace docker.io/kubemq/kubemq:latest with the desired image with the registry/repository:tag format

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:
1
kubectl apply -f {below-yaml-file}
Copied!
1
apiVersion: core.k8s.kubemq.io/v1alpha1
2
kind: KubemqCluster
3
metadata:
4
name: kubemq-cluster
5
namesapce: kubemq
6
labels:
7
app: kubemq-cluster
8
spec:
9
replicas: 3
10
image:
11
image: "docker.io/kubemq/kubemq:latest"
Copied!
Last modified 1yr ago
Copy link