DaemonGroup
An DaemonGroup defines a logical group of daemons selected by metadata key-value pairs. DaemonGroups are used to target sets of nodes when configuring workload identities and security policies.
- API Group:
core.riptides.io - Version:
v1alpha1 - Kind:
DaemonGroup - Plural:
daemongroups
workloadID
Section titled “workloadID”- Type:
string - Required: Yes
The workload identity assigned to this group. All daemons matching the selectors are associated with this identity. Follows a pattern like riptides/daemongroup/<group-name> or a custom hierarchy such as riptides/daemongroup/<cluster>/<group-name>.
selectors
Section titled “selectors”- Type:
arrayof objects (free-form key-value pairs) - Required: Yes
A list of metadata selectors that determine which daemons belong to this group. Each selector is an object with a single key-value pair that is matched against daemon metadata. An daemon matches the group if it matches any of the selectors (OR logic).
Common selector keys:
| Key | Description |
|---|---|
linuxos:name | Match daemons running a specific Linux distribution (ubuntu, amazon, fedora, alpine) |
awsiid:account:id | Match daemons in a specific AWS account |
gcpiit:project:id | Match daemons in a specific GCP project |
node:os:type | Match by OS type (e.g., linux) |
Status
Section titled “Status”Status fields are managed by the control plane and are read-only.
daemons
Section titled “daemons”- Type:
arrayof objects
Lists the daemons currently matched by this group’s selectors.
| Field | Type | Description |
|---|---|---|
name | string | The daemon resource name (UUID) |
uuid | string | The daemon’s Kubernetes UID |
workloadId | string | The daemon’s workload identity |
workloadIdHash | string | Hash of the workload identity |
Example
Section titled “Example”apiVersion: core.riptides.io/v1alpha1kind: DaemonGroupmetadata: name: linux-workers namespace: riptides-systemspec: selectors: - linuxos:name: ubuntu - linuxos:name: fedora - linuxos:name: alpine - linuxos:name: amazon workloadID: riptides/daemongroup/linux-workersstatus: daemons: - name: a1b2c3d4-e5f6-7890-abcd-ef1234567890 uuid: 12345678-abcd-ef01-2345-6789abcdef01 workloadId: riptides/daemon/123456789012/eu-west-1/i-0123456789abcdef0 workloadIdHash: d2d035b1-0feb-50e4-a48a-eb4628d3d7f2 - name: b2c3d4e5-f678-9012-bcde-f12345678901 uuid: 23456789-bcde-f012-3456-789abcdef012 workloadId: riptides/daemon/123456789012/eu-west-1/i-0abcdef1234567890 workloadIdHash: 88c57928-17e8-533f-8807-45f1e6f8cb43Related Resources
Section titled “Related Resources”- Daemon — the individual daemons that are grouped
- WorkloadIdentity — uses DaemonGroups to scope identity and policy