Skip to content

yaml_structures

Tanveer Alam edited this page Dec 7, 2019 · 1 revision

Structures

Structure:

  • Multiple directives/documents in one file.
  • Optional within the YAML spec
    • Maybe a requirement for different platforms
  • Triple dashes(---) to mark start of a file
  • Tripe dots(...) to mark the end without closing the data stream.
    • It will just end the directive of the collection but not the data stream.
    • ... At the end is optional
---
host: phl-43
datacenter:
  location: Philadelphia
  cab: "14"
  cab_unit: "4"
---
host: phl-44
datacenter:
  location: Philadelphia
  cab: "15"
  cab_unit: "6"
...
---
host: hel-13
datacenter:
  location: Helsinka
  cab: "9"
  cab_unit: "1-2"
...

HELM


YAML Essentials


Helm Deep Dive

Clone this wiki locally