canonical / canonical/microcluster

Evaluate LXD like notification policies

Open
#210 0 comments 0 reactions 0 assignees View on GitHub
improvement Jira
Dominant language
Go
Stars
33
Forks
39
Avg merge
4h 49m
Merged PRs (30d)
6

Description

In LXD you can create a so called notifier using [`NewNotifier`](https://github.com/canonical/lxd/blob/f5c6754bd656898d7243f681a7070f3d159f0025/lxd/cluster/notify.go#L33) that allows notifying all cluster members based on the given policy.

In microcluster we already have the cluster's [`Query`](https://github.com/canonical/microcluster/blob/main/client/cluster.go#L18) method that allows reaching out to all of the cluster members. We should check adding the LXD like notification policies.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.