@@ -40,7 +40,7 @@ Create a new YAML file with your flavor specification. You can create it anywher
4040Start with the YAML language server directive for editor validation:
4141
4242``` yaml
43- # yaml-language-server: $schema=https://rackerlabs.github.io/understack/flavor.schema.json
43+ # yaml-language-server: $schema=https://rackerlabs.github.io/understack/schema/ flavor.schema.json
4444name : m1.small
4545resource_class : m1.small
4646` ` `
@@ -57,7 +57,7 @@ resource_class: m1.small
5757Define hardware trait requirements to filter which nodes match this flavor :
5858
5959` ` ` yaml
60- # yaml-language-server: $schema=https://rackerlabs.github.io/understack/flavor.schema.json
60+ # yaml-language-server: $schema=https://rackerlabs.github.io/understack/schema/ flavor.schema.json
6161name: m1.small.nicX
6262resource_class: m1.small
6363traits:
@@ -245,7 +245,7 @@ git push
245245Match all nodes in a resource class without trait filtering :
246246
247247` ` ` yaml
248- # yaml-language-server: $schema=https://rackerlabs.github.io/understack/flavor.schema.json
248+ # yaml-language-server: $schema=https://rackerlabs.github.io/understack/schema/ flavor.schema.json
249249name: compute.standard
250250resource_class: m1.medium
251251` ` `
@@ -257,7 +257,7 @@ This provides maximum flexibility by allowing any hardware in the `m1.medium` re
257257Require specific hardware capabilities :
258258
259259` ` ` yaml
260- # yaml-language-server: $schema=https://rackerlabs.github.io/understack/flavor.schema.json
260+ # yaml-language-server: $schema=https://rackerlabs.github.io/understack/schema/ flavor.schema.json
261261name: compute.gpu
262262resource_class: m1.large
263263traits:
@@ -272,7 +272,7 @@ Guarantees instances get nodes with GPU hardware.
272272Require specific network hardware :
273273
274274` ` ` yaml
275- # yaml-language-server: $schema=https://rackerlabs.github.io/understack/flavor.schema.json
275+ # yaml-language-server: $schema=https://rackerlabs.github.io/understack/schema/ flavor.schema.json
276276name: m1.small.mellanox-cx5
277277resource_class: m1.small
278278traits:
@@ -287,7 +287,7 @@ Only matches nodes with Mellanox ConnectX-5 network cards.
287287Combine multiple trait requirements :
288288
289289` ` ` yaml
290- # yaml-language-server: $schema=https://rackerlabs.github.io/understack/flavor.schema.json
290+ # yaml-language-server: $schema=https://rackerlabs.github.io/understack/schema/ flavor.schema.json
291291name: compute.nvme-no-gpu
292292resource_class: m1.medium
293293traits:
@@ -389,7 +389,7 @@ If your editor doesn't validate the YAML:
389389# ## Generic Compute Flavor
390390
391391` ` ` yaml
392- # yaml-language-server: $schema=https://rackerlabs.github.io/understack/flavor.schema.json
392+ # yaml-language-server: $schema=https://rackerlabs.github.io/understack/schema/ flavor.schema.json
393393name: m1.small
394394resource_class: m1.small
395395` ` `
@@ -399,7 +399,7 @@ Matches all nodes in the `m1.small` resource class.
399399# ## NIC-Specific Flavor
400400
401401` ` ` yaml
402- # yaml-language-server: $schema=https://rackerlabs.github.io/understack/flavor.schema.json
402+ # yaml-language-server: $schema=https://rackerlabs.github.io/understack/schema/ flavor.schema.json
403403name: m1.small.nicX
404404resource_class: m1.small
405405traits:
@@ -412,7 +412,7 @@ Only matches nodes with the `CUSTOM_NICX` trait.
412412# ## GPU Compute Flavor
413413
414414` ` ` yaml
415- # yaml-language-server: $schema=https://rackerlabs.github.io/understack/flavor.schema.json
415+ # yaml-language-server: $schema=https://rackerlabs.github.io/understack/schema/ flavor.schema.json
416416name: compute.gpu
417417resource_class: m1.large
418418traits:
@@ -425,7 +425,7 @@ Guarantees GPU hardware for compute workloads.
425425# ## Combined Hardware Requirements
426426
427427` ` ` yaml
428- # yaml-language-server: $schema=https://rackerlabs.github.io/understack/flavor.schema.json
428+ # yaml-language-server: $schema=https://rackerlabs.github.io/understack/schema/ flavor.schema.json
429429name: m1.medium.mellanox-cx5-nvme
430430resource_class: m1.medium
431431traits:
0 commit comments