MENU

Fun & Interesting

Yaml Tutorial | Learn YAML in 18 mins

TechWorld with Nana 677,870 5 years ago
Video Not Working? Fix It Now

YAML Tutorial for DevOps engineers | YAML Syntax explained with real examples ► Subscribe To Me On Youtube: https://bit.ly/2z5rvTV In this complete YAML tutorial you will learn what YAML is, what it's used for and I demonstrate the basic YAML syntax with real Kubernetes configuration files. YAML stands for YAML Ain't Markup Language and is a data serialization language. The basic building block of YAML documents are key-value pairs. Indentation is used to denote structure and tabs are not allowed. In all my tutorial videos for Docker, Kubernetes, Ansible etc. I've used YAML for the example configuration files, because YAML has actually become a widely used format for writing configurations files. One of the reasons for its popularity is that the language is human-readable, intuitive and flexible. In fact, it can be used with nearly any application that needs to store or transmit data. In this Yaml Tutorial I cover the below: ▬▬▬▬▬▬ T I M E S T A M P S 0:00 - Intro 0:11 -YAML is popular 0:36 - What is YAML? 1:13 - Why learn YAML? YAML Format compared to XML and JSON 2:37 - YAML Use Cases 2:52 - YAML Syntax 2:56 - key-value pairs 3:56 - comments 4:18 - objects 5:31 - lists 5:51 - boolean 6:21 - more about lists 8:48 - Real Kubernetes YAML Configuration Example 11:54 - Multi-line strings 15:15 - environment variables 16:07 - placeholders 16:42 - multiple yaml documents 17:17 - YAML and JSON in Kubernetes ▬▬▬▬▬▬ Useful Links ▬▬▬▬▬▬ Code Editor Plugins for YAML, e.g. for Visual Studio Code (supports YAML validation, auto completion, formatting etc): ► https://github.com/redhat-developer/vscode-yaml Online YAML Validator: ► http://www.yamllint.com/ Json2Yaml Converter: ► https://www.bairesdev.com/tools/json2yaml ▬▬▬▬▬▬ Maybe also interesting videos for you ▬▬▬▬▬▬ Full Kubernetes and Docker tutorial ► https://bit.ly/2YGeRp9 DevOps Tools, like Ansible ► https://bit.ly/2W9UEq6 What is Kubernetes? ► https://youtu.be/VnvRFRk_51k #yaml #yamltutorial #devops #techworldwithnana ▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬ Join private Facebook group ► https://bit.ly/32UVSZP Don't forget to subscribe ► https://bit.ly/3mO4jxT DEV ► https://bit.ly/3h2fqiO INSTAGRAM ► https://bit.ly/2F3LXYJ TWITTER ► https://bit.ly/3i54PUB LINKEDIN ► https://bit.ly/3hWOLVT

Comment