Set Notification
Kubemqctl
Helm
yaml

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:
1
kubemqctl create cluster --notification-enabled --notification-prefix notification
Copied!

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:
1
helm install kubemq-cluster --set notification.enabled=true,notification.prefix=notification kubemq-charts/kubemq
Copied!

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:
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
notification:
11
enabled: true
12
prefix: notification
Copied!
Last modified 1yr ago
Copy link