Set Notification

Kubemqctl
Helm
yaml
Kubemqctl

Flags

Flag

Type/Options

Default

Description

--notification-enabled

bool

false

Enable notification configuration

--notification-prefix

string

""

Set notification channel prefix

--notification-log

bool

false

Set log notification to stdout"

Example

Send notifications to notification prefix channel:

kubemqctl create cluster --notification-enabled --notification-prefix notification
Helm

Values

Value

Type/Options

Default

Description

notification.enabled

bool

false

Enable notification configuration

notification.prefix

string

""

Set notification channel prefix

notification.log

bool

false

Set log notification to stdout"

Example

Send notifications to notification prefix channel:

helm install kubemq-cluster --set notification.enabled=true,notification.prefix=notification kubemq-charts/kubemq
yaml

Fields

Field

Type/Options

Default

Description

enabled

bool

false

Enable notification configuration

prefix

string

""

Set notification channel prefix

log

bool

false

Set log notification to stdout"

Example

Send notifications to notification prefix channel:

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
notification:
enabled: true
prefix: notification