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
Copy file name to clipboardExpand all lines: templates/flavors/README.md
+73Lines changed: 73 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,3 +14,76 @@ appended to the end of the cluster-template.yaml, e.g cluster-template-{director
14
14
flavor can be used by specifying `--flavor {directory-name}`.
15
15
16
16
To generate all CAPZ flavors, run `make generate-flavors`.
17
+
18
+
19
+
## Running flavor clusters as a tilt resource
20
+
21
+
#### From CLI
22
+
run ```tilt up ${flavors}``` to spin up worker clusters in Azure represented by a Tilt local resource. You can also modify flavors while Tilt is up by running ```tilt args ${flavors}```
Please note your tilt-settings.json must contain at minimum the following fields when using tilt resources to deploy cluster flavors:
34
+
```json
35
+
{
36
+
"kustomize_substitutions": {
37
+
"AZURE_SUBSCRIPTION_ID_B64": "******",
38
+
"AZURE_TENANT_ID_B64": "******",
39
+
"AZURE_CLIENT_SECRET_B64": "******",
40
+
"AZURE_CLIENT_ID_B64": "******",
41
+
"AZURE_SUBSCRIPTION_ID": "******",
42
+
"AZURE_TENANT_ID": "******",
43
+
"AZURE_CLIENT_ID": "******",
44
+
"AZURE_CLIENT_SECRET": "******",
45
+
"AZURE_SSH_PUBLIC_KEY": "********"
46
+
}
47
+
}
48
+
```
49
+
50
+
#### Defining Variable Overrides
51
+
If you wish to override the default variables for flavor workers, you can specify them as part of your tilt-settings.json as seen in the example below. Please note, the precedence of variables is as follows:
52
+
53
+
1. explicitly defined vars for each flavor i.e. worker-templates.flavors[0].AZURE_VNET_NAME
54
+
2. vars defined at 'metadata' level-- spans workers i.e. metadata.AZURE_VNET_NAME
55
+
3. programmatically defined default vars i.e. everything except azure tenant, client, subscription
0 commit comments