Set Notification
Kubemqctl
Helm
yaml
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" |
Send notifications to notification prefix channel:
kubemqctl create cluster --notification-enabled --notification-prefix notification
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" |
Send notifications to notification prefix channel:
helm install kubemq-cluster --set notification.enabled=true,notification.prefix=notification kubemq-charts/kubemq
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" |
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
Last modified 3yr ago