You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> The template variable names and syntax are an experimental feature and subject to change.
112
+
113
+
Fleet Manager supports the following dynamic values:
114
+
- `clusterName`: the name of the target cluster
115
+
- `clusterId`: the ID of the target cluster
116
+
117
+
Values can be included in the manifest using the following template syntax:
111
118
112
119
```yaml
113
-
metadata:
114
-
name: "app-{{ cluster_name }}"
120
+
resources:
121
+
- type: virdomain
122
+
name: "vm-{{ clusterName }}"
123
+
description: "This VM is on cluster_name={{clusterName}} cluster_id={{clusterId}}"
115
124
```
116
125
126
+
> [!TIP]
127
+
> Kraken uses the application `metadata.name` field to uniquely identify applications. Due to this behavior, it is recommended to use dynamic values in resource definitions only and not in application metadata to avoid creating duplicate applications.
0 commit comments